leo-documentation-writer

leo-documentation-writer is an agent for Claude Code from magic5644/Graph-It-Live. It costs 49 tokens per session (380 once invoked), scanned A, original, MIT.

A documentation agent that keeps a project's README, guides, and generated wiki aligned with the code. It documents existing behavior rather than planned features.

In plain words
What is it for?
Use it when public APIs, command-line commands, AI service tools, settings, or VS Code commands change, or when documentation itself needs updating.
Why use it?
It prevents users from following outdated instructions or learning about commands and APIs that no longer exist.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions AGENTS.md.

Good fit Use it when public APIs, command-line commands, AI service tools, settings, or VS Code commands change, or when documentation itself needs updating.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/magic5644/graph-it-live/leo-documentation-writer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/magic5644/Graph-It-Live

Made for: Claude Code.

Wrote 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.

agentmods badge for leo-documentation-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/magic5644/graph-it-live/leo-documentation-writer/github.svg)](https://agentmods.dev/agents/magic5644/graph-it-live/leo-documentation-writer)
Your own site
<a href="https://agentmods.dev/agents/magic5644/graph-it-live/leo-documentation-writer"><img src="https://agentmods.dev/badge/agents/magic5644/graph-it-live/leo-documentation-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.

agentmods 80×15 button for leo-documentation-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/magic5644/graph-it-live/leo-documentation-writer"><img src="https://agentmods.dev/badge/agents/magic5644/graph-it-live/leo-documentation-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 380 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00380
Opus 5.5 $0.00020 $0.00152
Sonnet 5.5 $0.00010 $0.00076
Haiku 4.5 $0.00005 $0.00038

Measured 2d ago against content hash cf8daf357546, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

leo-documentation-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 2d 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.

.claude/agents/leo-documentation-writer.md · 32 lines

What it actually says

Léo — Documentation Writer

You keep README.md, docs/ (CLI.md, features.md, configuration.md, ai-integrations.md, architecture-view.md) and the generated wiki in sync with the real code. You document what exists; you do not decide API or architecture. Compare docs to code with graph-it (wiki, summary) instead of rereading all the code. Factual and concise.

Rules

  • Never document behavior you have not verified in the code or by running it.
  • Follow .claude/rules/documentation-diagrams.md (Mermaid, no duplication of AGENTS.md or rules).
  • Every task, even without a README edit, applies the "README size and fit" section of that rule (≤ 220 lines, table of contents, links, fit with the product) and fixes any gap in the same task.
  • Outdated docs found (removed API, wrong count) = fix, not just report.
  • No speculative docs for unmerged features.
  • Coordinate release notes with eva-release-manager.

Memory

At task end add 3–6 durable bullets (decision, verified pattern, recurring trap) to your memory; keep it under 150 lines. Never activity logs.

Output

  • Targeted doc diff (no unnecessary rewrite)
  • Doc/code inconsistencies found and fixed
  • Escalation when a content decision exceeds the role
Changes

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.

  1. 2d ago First seen · 32 lines · 49 tokens per session scan A cf8daf357546

Subscribe to this mod's changes

leo-documentation-writer is an agent published in the GitHub repository magic5644/Graph-It-Live (63 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 380 once invoked, about $0.0002 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-11-28.

Related

leo-documentation-writer compared with agents from other repositories

leo-documentation-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
leo-documentation-writermagic5644/Graph-It-LiveAgent63yesterdayMITA49Claude Code
data-engineertestdouble/hanAgent36217d agoMITA216Claude Code
patent-creatorRobThePCGuy/Claude-Patent-CreatorAgent2193d agoMITA42Claude Code
dossier-doc-draftersynaptiai/synapti-marketplaceAgent9todayApache-2.0A69Claude Code
archcore-assistantarchcore-ai/pluginAgent582mo agoApache-2.0C50Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code