Логотип Ssot Audit

Ssot Audit

Сообщество
AlexZio00
ssot-audit

Find where one fact, value or decision is duplicated or contradicted across files, name the single source of truth (read-only), then consolidate the copies after user approval.

Обзор

ИздательAlexZio00
Репозиторийsovereign-skills
Название навыкаssot-audit
Звёзды
149
Форки
23
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — AlexZio00. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Ssot Audit в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/AlexZio00/sovereign-skills/tree/master/ssot-audit
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexZio00/sovereign-skills.git /tmp/sovereign-skills
mkdir -p .claude/skills
cp -r /tmp/sovereign-skills/ssot-audit .claude/skills/ssot-audit
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Ssot Audit в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Ssot Audit, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Ssot Audit не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

SSOT Audit: find the source of truth, then consolidate

Purpose

One fact often lives in several artifacts (docs, code, config, tickets, notes) and the copies drift or contradict each other. This skill finds where the fact lives and how many copies exist, names one source of truth (Phase A, read-only), and after user approval brings the other copies in line with it (Phase B).

doc-drift covers only the files Claude Code loads into context (CLAUDE.md, rules, memory, skills, agents). This skill works on any artifact in a repo or notes folder.

Dominant variable: is the chosen source of truth really the most authoritative location and the one updated most often? A wrong pick makes consolidation distort the fact instead of fixing it.

Discard if: the fact already lives in exactly one place (no duplication), or the scope is only CLAUDE.md / rules / memory (use doc-drift).

Verify before acting: every artifact found in Phase A is a snapshot from the time of the audit. Before Phase B edits anything, re-check the current state with Glob/Grep. "I saw it during the audit, so it must still be right" is not allowed.

Trigger

  • "where is this fact scattered", "what is the source of truth", "consolidate the duplicated content"
  • "find where this fact is duplicated", "consolidate the source of truth"
  • /ssot-audit

Workflow

Phase A: audit (read-only by policy, not by enforcement)

Edit is listed in tools: (the tool list is descriptive metadata, nothing enforces it), so keeping this phase read-only is a rule you follow.

  1. Fix the scope (repo, folder or notes directory) and the tracked item: one specific value, spec or decision, not a whole document.
  2. Enumerate every occurrence of the item with the Grep and Glob tools (no shell flags needed). Narrow Grep with its glob or type filter to text files, and exclude __pycache__ and build output (for example glob !**/__pycache__/**), otherwise compiled-file matches have to be filtered by hand.
  3. Classify each occurrence: exact copy, paraphrase, partial excerpt, stale, or contradictory.
    • stale: the copy differs from the source of truth and you can show it is an earlier version of the fact (version history, a changelog, or the source of truth explicitly superseding it). Action: reference or dedupe, after Phase B approval.
    • contradictory: the copy differs and you cannot show it is the older one. Action: reconcile.
  4. Pick a source-of-truth candidate: the most authoritative location, closest to the point where the fact actually changes (code or config for a value, a spec document for a decision, a state file for a status). Designate it with a one-line reason; never pick arbitrarily.
    • Two or more candidates of the same kind (for example constants in two different modules): do not choose, classify as reconcile.
    • One source of truth but a non-canonical copy holds a different value: that copy is also reconcile. An older date alone does not make it stale.
  5. For each non-canonical occurrence choose an action:
    • dedupe: remove the copy (removing content inside a file is done with Edit in Phase B; deleting a whole file is only proposed to the user, who runs the command, for example git rm <file>; this skill has no tool to delete files)
    • reference: replace the copy with a link or pointer to the source of truth
    • reconcile: contradiction, a human has to decide
  6. Output the audit report: occurrence table (location, kind, action), source-of-truth proposal with reason, and a separate list of contradictions.

Phase B: consolidation (writes, needs user approval)

  1. Show the Phase A report and ask which actions to apply. Even a blanket "do it all" is followed only after you show, item by item, what will be removed.
  2. Apply only the approved dedupe/reference items with Edit. Leave reconcile items untouched until a human decides. For an approved whole-file deletion, print the command and let the user run it.
  3. Re-verify with Grep: the fact should now exist once in the source of truth plus references.

When to retire this skill

Review it for narrowing, merging or removal if any of these is observed:

  • It has not been invoked for 90 days and no other skill or agent calls it. (If it exists for safety or recovery, judge by likelihood, failure impact, difficulty of detection and lack of substitutes, not by call count.)
  • The same defect (wrong trigger, wrong result, ignored instruction) comes back three or more times after fixes.
  • Another asset gives the same result at lower cost.
  • A rule, tool or platform feature this skill relied on has changed and the premise is gone.

When a result is invalid

If the files, command output or source text a result relied on look different when re-checked (the target changed or was misread), treat that result as invalid and run it again. A result is valid only for the point in time its inputs were read.

Invariants (never violate)

  1. Phase A never writes. Do not fix anything you find mid-audit. Violation → destructive edits without confirmation, deletions that are hard to undo.
  2. Contradictions (reconcile) are never resolved by guesswork. Which side is right needs a human. Violation → silently declaring one side correct can make a wrong fact the only source of truth.
  3. No findings is a valid result. Do not invent duplicates. Violation → forced findings cause needless edits.
  4. Keep details that exist only in a non-canonical copy. Move them into the source of truth before deleting the copy. Violation → dedupe turns into information loss.
  5. Copies across a trust or permission boundary are flagged, not touched. Private versus public, internal versus customer-facing: leave them as they are and report. Violation → internal-only information leaks into a public copy.
  6. Whole-file deletion is proposed, never done. Violation → a file that held unique content is lost without the user running the command knowingly.

Safety layers

Risky actionReversibilityLayers
Phase B edit (dedupe/reference)mediumprompt rules + user approval (recoverable through git, approval still required)

Phase B approval is valid for the current session only. Re-running in a new session needs fresh approval.

Scope boundary

DoesDoes NOT
[READ] enumerate every occurrence with Grep/Globedit files without user approval
[READ] designate a source-of-truth candidate and propose actionsresolve contradictions (reconcile) on its own
[EDIT] apply only approved dedupe/reference actionsdelete a copy before preserving its unique details, or delete a whole file (propose it instead)
[READ] report Phase A and Phase B separatelytake over the CLAUDE.md / rules / memory audit (that is doc-drift)

Rationalization table

RationalizationRebuttal
"It's obvious which one is right, I'll just merge them"Violates Invariant 2. "Obvious" is the auditor's opinion, not a verified fact. Reconcile goes to a human.
"While auditing I might as well fix what I found"Violates Invariant 1. The A/B split exists to stop edits that cannot be undone before approval.
"Saying there are no duplicates feels weak, let me find something"Violates Invariant 3. Forced findings cause needless edits.
"doc-drift already covers this project"doc-drift covers only the loaded context files. Repo-wide or notes-wide scope is this skill.

Output

  • Phase A: occurrence table (location, kind, action), source-of-truth proposal, contradiction list, in the conversation.
  • Phase B: list of changes actually applied, per file, plus the re-verification result.

Error recovery

Failure typeRecovery
missing_data (Phase A)Grep/Glob cannot find the scope: report "scope unclear" and ask the user to confirm it.
tool_failure (Phase A)Retry a failed Grep/Glob once, then report which searches failed and mark the occurrence list as incomplete. Do not start Phase B on an incomplete list.
tool_failure (Phase B)Retry a failed Edit once, then stop. Report which items were applied and which were not; do not continue with the remaining items.
logic_inconsistencyTwo or more equally authoritative source-of-truth candidates: classify as reconcile, never pick one.

Truthful reporting

  1. Report only occurrences you actually confirmed with Grep. Do not list guessed locations.
  2. If Phase B is applied only in part, state which items were applied and which were not.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Ssot Audit?

Find where one fact, value or decision is duplicated or contradicted across files, name the single source of truth (read-only), then consolidate the copies after user approval.

Зачем использовать Ssot Audit в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Ssot Audit — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Ssot Audit в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/AlexZio00/sovereign-skills/tree/master/ssot-audit. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Ssot Audit?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Ssot Audit?

С любым количеством. В TypingMind вы можете использовать Ssot Audit с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Ssot Audit?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — AlexZio00. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇