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 1mo 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.
- 1mo 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 21d 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.
Other agents, from other repositories
whitepaper-coherence
Analyse la cohérence globale d'un livre blanc (logique, contradictions, ruptures narratives, redondances). Utiliser pour auditer un whitepaper avant publication.
security-reviewer
Expert consultant for frontend security analysis, vulnerability assessment, and secure coding practices. Use proactively for security audits, dependency vulnerability scanning, XSS/CSRF prevention analysis, framework security pattern reviews, and OWASP compliance assessments. Provides detailed security recommendations…
typescript-specialist
Expert consultant for TypeScript integration, type safety, and migration strategies, providing analysis and recommendations without writing code. Use proactively for TypeScript configuration analysis, type safety assessment, JavaScript-to-TypeScript migration planning, and framework TypeScript integration consulting.…
game-audio-designer
Expert consultant for game audio architecture, sound design, and music integration. Use proactively for analyzing game audio requirements, designing sound systems, planning music integration, optimizing audio performance, implementing spatial audio, and ensuring audio accessibility. When you prompt this agent…
qa-strategy-specialist
Quality assurance strategy specialist providing comprehensive testing architecture and QA process optimization guidance. Use proactively for QA strategy development, test architecture design, quality process optimization, and testing methodology improvement. When you prompt this agent, describe exactly what you want…
openrouter-specialist
Expert consultant for OpenRouter API integration, model routing strategies, cost optimization, and multi-provider management. Use proactively for OpenRouter architecture analysis, model selection strategies, routing optimization, and integration pattern recommendations. Provides consultation and recommendations only …