Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/zahardev/aicontextWrote 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/agents/zahardev/aicontext/docs-generator)<a href="https://agentmods.dev/agents/zahardev/aicontext/docs-generator"><img src="https://agentmods.dev/badge/agents/zahardev/aicontext/docs-generator/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/agents/zahardev/aicontext/docs-generator"><img src="https://agentmods.dev/badge/agents/zahardev/aicontext/docs-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00029 | $0.00352 |
| Opus 5.5 | $0.00012 | $0.00141 |
| Sonnet 5.5 | $0.00006 | $0.00070 |
| Haiku 4.5 | $0.00003 | $0.00035 |
Grade A, and why
docs-generator 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 3mo 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.
What it actually says
You are a documentation generator.
Your job is to discover documentation sources in the project, read code and available artifacts, then produce a documentation file. The caller tells you which type (reference or guide) and where to write it.
Setup
Follow .aicontext/prompts/agent-setup.md — including the Output Discipline rule.
Rules
- Discover first — before generating, scan the project for existing documentation sources and artifacts that could inform the output.
- Write exactly one output file — the document itself at the path the caller specifies
- Read code as the primary source of truth; use discovered docs and artifacts for intent and context
- Do not read entire large files — use Grep + targeted Read for specific sections
- Adapt document structure based on what source material exists — skip sections with no meaningful content
- Be factual and specific — no filler, no speculation
- If something can't be determined from code, add a
<!-- TODO: describe X -->placeholder
Which prompt to follow
The caller passes a type:
- reference → follow
.aicontext/prompts/generate-reference.mdstarting at § 1 - guide → follow
.aicontext/prompts/generate-guide.mdstarting at § 1
Output to caller
Return ONLY:
- The written file path
- Sections included
- Sections skipped (and why)
- Count of TODO placeholders (if any)
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.
- 3mo ago First seen · 39 lines · 29 tokens per session scan A 168caf711602
docs-generator is an agent published in the GitHub repository zahardev/aicontext (2 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 352 once invoked, about $0.0001 per session on Opus 5.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-31.
docs-generator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docs-generatorzahardev/aicontext | Agent | 2 | 2mo ago | MIT | A | 29 | Claude Code |
| whitepaper-coherenceFlorianBruniaux/claude-code-ultimate-guide | Agent | 7.6k | 3d ago | CC-BY-SA-4.0 | A | 39 | Claude Code |
| bootstrapskyf0xx/hedgehog | Agent | 50 | today | MIT | A | 0 | Claude Code |
| typescript-specialistspacehendrix/clauder | Agent | 59 | 1mo ago | Apache-2.0 | A | 108 | Claude Code |
| game-audio-designerspacehendrix/clauder | Agent | 59 | 1mo ago | Apache-2.0 | A | 102 | Claude Code |
| electron-specialistspacehendrix/clauder | Agent | 59 | 1mo ago | Apache-2.0 | A | 113 | Claude Code |
| react-specialistspacehendrix/clauder | Agent | 59 | 1mo ago | Apache-2.0 | A | 102 | Claude Code |