aim-sot
БесплатноЗапускает вложенные скриптыНе проверенTracks the source-of-truth for each part of the user's own project — registry schema, templates, and engine (consult / detect-propose / verify). Detects file…
от Hidden-History★ 41 звезда на GitHubОб этом скилле
aim-sot — Source-of-Truth Subsystem
Manages a user-committed .sot/registry.yaml that declares where the canonical truth lives for each boundary of the user's project. Every entry is a pointer + provenance record — no copied source content ever.
Overview
The registry lives in the user's own repository at .sot/registry.yaml, committed alongside code and diff-reviewable by the team. The skill ships the schema, templates, and engine. No project-specific data is baked into the skill.
Modes
Three engine modes:
- consult — read-only query engine over the user's committed
.sot/registry.yaml. Subcommands:list(all entries),get <id>(full entry),where <id>(sot_location),who <id>(owner),drift <id>(drift_check). Global flags:--registry PATH(override path),--json(machine-readable output). Invoked viarun-with-env.sh(Pattern B, BP-013). Script:_ai-memory/skills/aim-sot/scripts/aim_sot_consult.py. - detect-propose — hybrid auto-discover → propose: scans for candidate components, computes actual state, compares to the registry, and emits a proposed patch on drift or new candidates. Never writes the registry directly.
- verify — 16-check gate (Schema · Referential · Completeness · Content). Mandatory before any apply; human approval (HITL) required. CI/pre-commit hook is opt-in only, never auto-installed.
Lifecycle
Create (bootstrap a new project)
- Discover — run
detect-propose run(see Detect-Propose — Invocation); emits candidate proposals, never writes the registry. - Author — apply the Authoring loop to each kept candidate; assemble into
.sot/registry.yamlstarting fromtemplates/registry.yaml.template. - Verify — run
verify(see Verify — Invocation); 0 failures required. On a fresh registry the verdict is CONDITIONAL, not PASS — cold-start K1skipped_no_baselineand advisory (C1) warnings are expected and do not block apply (see Verdicts); literalPASSneeds an established baseline. - Apply — human applies the registry after a clean verdict (HITL).
Update (ongoing — drift and new candidates)
- Detect — run
detect-propose run; emits drift proposals and new-candidate proposals; never writes the registry. - Author — apply the Authoring loop to any changed or new entries.
- Gate — run
verifyvia the pre-apply proposal gate (see Usage — pre-apply proposal gate under Verify — Invocation); mandatory before applying. - Apply — human applies; drift is never auto-applied.
Cross-cutting invariants
- Propose-only —
detect-proposenever writes.sot/registry.yaml. - Verify gates apply — the 16-check
verifygate is mandatory before any apply. - Human applies — every registry change requires explicit human action (HITL).
- Never auto-rewrite — no mode auto-applies drift or candidate proposals.
Consult — Invocation
bash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-sot/scripts/aim_sot_consult.py" \
<subcommand> [--json] [--registry PATH]
Detect-Propose — Invocation
bash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-sot/scripts/aim_sot_detect_propose.py" \
run [--json] [--registry PATH] [--limit N] [--all] [--write-proposal] [--force]
# Rebuild the 5b derived memory cache explicitly:
bash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-sot/scripts/aim_sot_detect_propose.py" \
reindex [--registry PATH]
Hard invariant: detect-propose NEVER writes .sot/registry.yaml — proposals only.
The human applies edits manually; the registry is always committed and diff-reviewable.
First run — bootstrap from zero
When no .sot/registry.yaml exists yet, detect-propose run still runs the
discovery scan and emits candidate proposals for the project (it does not bail).
Bootstrapping a new project:
- Discover — run
detect-propose run(optionally--allto lift the cap). The scan roots at the project root, or the current working directory when no registry is present, and prints discovered candidates. Add--write-proposalto also scaffold a ready-to-edit staging draft (see below). - Author — for each candidate you keep, apply the Authoring loop
(categorize by type → propose entries → write each description to the D1–D4 rubric →
fix any FAIL before emit); assemble the results into a new
.sot/registry.yamlstarting fromtemplates/registry.yaml.template(or from the--write-proposaldraft). - Verify — run
aim-sot verifyto gate the registry through the 16-check taxonomy. - Approve — appl
Установить aim-sot в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadВложенные файлы
FAQ
Что делает скилл aim-sot?
Tracks the source-of-truth for each part of the user's own project — registry schema, templates, and engine (consult / detect-propose / verify). Detects file and directory drift (content-digest and directory tree-digest), runs a machine-local shadow-git history for change detection, and correlates code changes to stale docs (doc-drift via DOCOWNERS). Use when checking SOT drift, choosing a drift_strategy, setting up the shadow git, or reviewing doc-staleness findings. Do NOT use for AI Memory search or save operations, or for checking AI Memory system health (use aim-search, aim-save, or aim-status).
Как установить скилл aim-sot?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aim-sot запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic