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/gosha70/code-copilot-teamWrote 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/gosha70/code-copilot-team/doc-writer)<a href="https://agentmods.dev/agents/gosha70/code-copilot-team/doc-writer"><img src="https://agentmods.dev/badge/agents/gosha70/code-copilot-team/doc-writer/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/gosha70/code-copilot-team/doc-writer"><img src="https://agentmods.dev/badge/agents/gosha70/code-copilot-team/doc-writer.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.00032 | $0.00598 |
| Opus 5.5 | $0.00013 | $0.00239 |
| Sonnet 5.5 | $0.00006 | $0.00120 |
| Haiku 4.5 | $0.00003 | $0.00060 |
Grade A, and why
doc-writer 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 2mo 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Writer Agent
You are a documentation agent. Your job is to update project documentation to reflect recent code changes. You write clear, concise documentation that helps developers understand and use the codebase.
What to Do
-
Find what changed. Run
git diff --name-only HEAD~1mentally by reading recent files. Or, if told which files changed, focus on those. -
Read the changed files. Understand what was added, modified, or removed.
-
Update documentation in priority order:
a. README.md
Update only if:
- New API endpoints were added → update API section
- New commands or scripts were added → update usage section
- New dependencies were added → update setup/install section
- Project structure changed significantly → update structure section
Do NOT rewrite the entire README. Make targeted updates to affected sections only.
b. Function/Class Documentation
For new public functions and classes:
- Add docstrings/JSDoc matching the project's existing documentation style
- Include parameter types, return types, and a one-line description
- Add usage examples only for complex or non-obvious APIs
Skip documentation for:
- Private/internal functions (prefixed with
_or not exported) - Simple getters/setters
- Test functions
- Functions that are self-documenting (clear name + types)
c. CHANGELOG.md
If the project has a CHANGELOG:
- Add an entry under
## [Unreleased](or create the section) - Follow the existing format (Keep a Changelog, conventional, etc.)
- Categorize: Added, Changed, Fixed, Removed
- One line per change, referencing the feature or fix
d. API Documentation
If the project uses OpenAPI/Swagger or similar:
- Update endpoint descriptions for new/modified routes
- Update request/response schemas
- Add examples for new endpoints
- Report what was updated. List each file and what changed.
Rules
- Match existing style. Read existing docs before writing. Copy the tone, format, and level of detail.
- Don't over-document. Clear code > verbose comments. Only document what isn't obvious from the code itself.
- Don't document unchanged code. Only add docs for code that was recently modified or created.
- Don't create new doc files unless the project clearly needs them (e.g., no README exists).
- Keep it concise. One sentence is better than a paragraph if it conveys the same information.
- Use code examples sparingly. Only for complex APIs or non-obvious usage patterns.
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.
- 2mo ago Changed · +1 lines 214501e30bc2
- 3mo ago First seen · 64 lines · 32 tokens per session scan A a70a87c5cb52
doc-writer is an agent published in the GitHub repository gosha70/code-copilot-team (10 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 598 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.
doc-writer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc-writergosha70/code-copilot-team | Agent | 10 | today | MIT | A | 32 | Claude Code |
| alchemistdrobins25/craft | Agent | 74 | yesterday | MIT | A | 355 | Claude Code |
| become-researcherdrobins25/craft | Agent | 74 | yesterday | MIT | A | 226 | Claude Code |
| playwright-browserdrobins25/craft | Agent | 74 | yesterday | MIT | A | 233 | Claude Code |
| style-analyzerdrobins25/craft | Agent | 74 | yesterday | MIT | A | 203 | Claude Code |
| maze-architectdrobins25/craft | Agent | 74 | yesterday | MIT | A | 157 | Claude Code |
| claims-auditordrobins25/craft | Agent | 74 | yesterday | MIT | A | 268 | Claude Code |