aim-wiki
БесплатноЗапускает вложенные скриптыНе проверенCreates and maintains an up-to-date wiki of the user's current project, in-session, while you work — a dedicated wiki/ directory with a quickstart entrypoint…
от Hidden-History★ 41 звезда на GitHubОб этом скилле
aim-wiki — Project Wiki Generator & Maintainer
Creates and maintains a wiki of the current project under wiki/, in-session.
Works on any project (new or existing) under AI Memory.
You (Claude Code) are the doc-gen agent. The Python engine
(scripts/aim_wiki.py) does only deterministic work and hands you structured
context; you do the reasoning — analyze the code and author/refresh the pages,
grounding every claim in source. There is no separate LLM or provider — you are
the model.
Split of responsibilities
- Engine (Python) → deterministic: project scoping, repo inventory, wiki scaffold, run-state (content-hash + gitHead + updatedAt), git-diff since last run, pointer injection, and the verifier manifest.
- You (Claude Code) → reasoning: author
wiki/quickstart.md+ section pages, refresh them surgically, and dispatch the read-only verifier. - Correctness → a read-only verifier subagent: after authoring, cross-check page claims against source before acceptance.
The engine is invoked via run-with-env.sh (the AI-memory run-with-env convention). All modes accept
--root PATH (override the project root; default = git toplevel, else cwd) and
--json.
Grounding discipline (read before authoring)
Concepts adapted from OpenWiki's system prompt (MIT — paraphrased, not lifted).
- Do not invent files, modules, APIs, business rules, or behavior. Ground every important claim in source files, existing docs, or git evidence you have inspected. Include inline source references so a reader can verify.
- Discover efficiently. Do not read every file. Inspect the tree, package/config
files, README-style docs, entrypoints, routing, schema/data files, and
representative files per domain. Prefer
Grep/Globand short targeted reads over full-file reads. Do not glob**/*from the repo root; exclude.git,node_modules,dist,build, caches, and thewiki/output itself. - Use git for the "why". Use recent history and targeted
git log/show/blameon high-signal files to explain why code exists, not just what it is. Do not over-index on ancient history or paste commit-hash lists into pages. - Existing docs are primary source. Treat READMEs,
docs/, runbooks, andSKILL.mdfiles as source material — summarize and link rather than duplicate. If existing docs conflict with the code, flag the likely-stale doc and prefer current source. - Subagents are read-only. You may dispatch read-only research/verifier
subagents that only inspect and summarize with source paths; they must not
create, edit, move, or delete files, and must not write under
wiki/. You synthesize and own all writes. - Security. Never read or document secret values, credentials, keys, tokens, or
.envfiles..env.example/samples only if they hold placeholders. Keep all docs underwiki/. - Plan file. After discovery, before authoring, write
wiki/_plan.md(intended pages, evidence per page, open questions). Delete it before finishing.
Full page-structure, page-count, thin-page, and canonical-home rules:
references/page-structure.md — read before authoring.
Flows
init — create the wiki from the current project
- Engine (prep):
Resolves the project root, guards an existing wiki (routes you tobash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \ "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-wiki/scripts/aim_wiki.py" \ init [--force] [--json]updateunless--force), builds the repo inventory + git summary, and scaffoldswiki/. Read the emittedinventoryandgit_summary— that is your grounding. - You (author): write a
wiki/_plan.md(evidence-linked), then authorwiki/quickstart.mdfirst and the linked section pages. ≤8 pages on the first run unless tiny; no thin pages; one canonical home per concept; ground every claim. Deletewiki/_plan.mdwhen done. - Verify (below).
- Review gate: present the wiki diff + the verifier's report; the user accepts or requests fixes (the in-session equivalent of OpenWiki's PR gate).
- Engine (finalize) on acceptance — injects the pointer and records state:
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-wiki/scripts/aim_wiki.py" \ finalize --command init [--json]finalizeexits 2 if a targetCLAUDE.md/AGENTS.mdhas malformed AI-memory markers — it refuses that file's pointer write (writing nothing to it) but still records run-state. Detect a refusal via thepointer_files_refusedfield in--json, not the exit code alone (argparse also uses 2).
update — incremental maintenance
- Engine (prep):
aim_wiki.py update [--json]— reads state, computes the
Установить aim-wiki в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGlobGrepTaskВложенные файлы
FAQ
Что делает скилл aim-wiki?
Creates and maintains an up-to-date wiki of the user's current project, in-session, while you work — a dedicated wiki/ directory with a quickstart entrypoint plus section pages, grounded in source and git evidence. Claude Code itself authors the pages; a Python engine does the deterministic work (repo inventory, wiki scaffold, content-hash/gitHead state, git-diff-since-last-run, CLAUDE.md/AGENTS.md pointer, verifier manifest). Modes init | update | status, plus verify and finalize. Use when asked to create, refresh, or check the freshness of the project wiki/docs. Do NOT use for AI Memory search/save/health (use aim-search, aim-save, aim-status) or SOT drift (use aim-sot).
Как установить скилл aim-wiki?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aim-wiki запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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