Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/ZhangHanDong/agent-specnpx agentmods add skills/zhanghandong/agent-spec/agent-spec-wikiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zhanghandong/agent-spec/agent-spec-wiki)<a href="https://agentmods.dev/skills/zhanghandong/agent-spec/agent-spec-wiki"><img src="https://agentmods.dev/badge/skills/zhanghandong/agent-spec/agent-spec-wiki/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zhanghandong/agent-spec/agent-spec-wiki"><img src="https://agentmods.dev/badge/skills/zhanghandong/agent-spec/agent-spec-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.01435 |
| Opus 5 | $0.00015 | $0.00718 |
| Sonnet 5 | $0.00006 | $0.00287 |
| Haiku 4.5 | $0.00003 | $0.00144 |
Grade A, and why
agent-spec-wiki scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent-Spec Code Live Wiki Workflow
Version: 1.0.0 | Last Updated: 2026-08-14 | Tracks: agent-spec 1.4.0
Use this skill for repo-local code live wiki maintenance and review.
Rules
- Treat
.agent-spec/wiki/as agent working memory, not KLL truth. - Put durable truth in
knowledge/, executable contracts inspecs/, and reader-authored docs indocs/. - Keep
.agent-spec/wiki/**as tracked live wiki memory when the project wants it in git; keep.agent-spec/runs,.agent-spec/trace, temp files, and runtime state ignored. - Preserve
source_filesfrontmatter in every maintained wiki article. - Before broad source reading, run
wiki statusand prefer fresh wiki articles when they cover the needed area. - Use
wiki query <text>before opening many files, and usewiki inspect <path>when you need the wiki pages, KLL requirements, and task specs related to a source or knowledge path. - After code or architecture changes, update affected articles, run
wiki index, then runwiki lintorwiki check. - Archive old wiki material into
learnings/orarchive/summaries with source links instead of deleting it abruptly. - Non-goals: no built-in LLM long-form wiki generation, no web UI, and no replacement for KLL requirements or decisions.
- Rust architecture inventory is deterministic Cargo metadata; prose remains agent-authored and must cite source files.
- Reject symlinks in source, article, and architecture traversal. The CLI has no
generated
docs/wikicompatibility mode;.agent-spec/wikiis the single maintained wiki model.
Workflow
agent-spec wiki init --code . --wiki .agent-spec/wiki
agent-spec wiki seed --code . --wiki .agent-spec/wiki
agent-spec wiki seed --code . --wiki .agent-spec/wiki --check
agent-spec wiki status --code . --wiki .agent-spec/wiki
agent-spec wiki query "intent compiler" --wiki .agent-spec/wiki
agent-spec wiki inspect src/spec_wiki/live.rs --code . --wiki .agent-spec/wiki
agent-spec wiki inventory --code . --format json
agent-spec wiki inventory --code . --format mermaid
agent-spec wiki project-map --code . --wiki .agent-spec/wiki --format json --out .agent-spec/wiki/architecture/project-map.json
agent-spec wiki project-map --code . --wiki .agent-spec/wiki --format mermaid --out .agent-spec/wiki/architecture/project-map.mmd
agent-spec wiki inspect-project brain-rs --code . --wiki .agent-spec/wiki --format text
agent-spec wiki index --wiki .agent-spec/wiki
agent-spec wiki lint --code . --wiki .agent-spec/wiki
agent-spec wiki check --code . --wiki .agent-spec/wiki
agent-spec wiki meta update --code . --wiki .agent-spec/wiki
bash scripts/docs-lint.sh
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 168 lines · 31 tokens per session scan A 27be5098eeb4
agent-spec-wiki is a skill published in the GitHub repository ZhangHanDong/agent-spec (454 stars, last pushed 11d ago), licensed MIT. It adds 31 tokens to every session and 1,435 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
comet-native
A workflow for managing Native changes in Comet, where requirements, progress, and acceptance results are saved in project files. It uses the Comet command-line runtime to move through defined work stages.
subagent-driven-development
Use when executing implementation plans with independent tasks in the current session.
comet
Comet — OpenSpec + Superpowers dual-star development workflow. Start with /comet for automatic phase detection and dispatch to subcommands. Five phases: open → design → build → verify → archive.
comet-design
A workflow guide for turning an existing software change into a detailed technical design document. It builds on earlier proposal and design files and defines implementation risks, tests, and edge cases.
comet-hotfix
A quick workflow for fixing an existing bug in Comet, a tool that manages structured code changes. It moves through opening the change, building, checking, and archiving it.
comet-verify
A workflow for verifying a Comet change after its coding tasks are complete. Comet is a tool that tracks structured software changes through stages.