agentdeck: Agent for Claude Code

.claude/agents/docs-writer.md

docs-writer is an agent for Claude Code from agentdecksdk/agentdeck. It costs 33 tokens per session (469 once invoked), scanned A, original, MIT.

A writing agent for creating or rewriting one documentation-site page for agentdeck, with an outline and checked code examples. It follows a two-step process: outline first, then write after approval.

In plain words
What is it for?
Use it to plan and write a concise docs page, choose a working example, describe the capability it provides, and check the result with the project's validation command.
Why use it?
It helps keep documentation focused and reduces the risk of publishing unclear explanations or unverified examples.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is agentdecksdk/agentdeck's own configuration. It tells Claude Code how to work on agentdeck itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentdeck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to agentdecksdk/agentdeck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agentdecksdk/agentdeck/dev/.claude/agents/docs-writer.md
Clone the repo
git clone --depth 1 https://github.com/agentdecksdk/agentdeck

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 docs-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/agentdecksdk/agentdeck/docs-writer/github.svg)](https://agentmods.dev/agents/agentdecksdk/agentdeck/docs-writer)
Your own site
<a href="https://agentmods.dev/agents/agentdecksdk/agentdeck/docs-writer"><img src="https://agentmods.dev/badge/agents/agentdecksdk/agentdeck/docs-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 docs-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/agentdecksdk/agentdeck/docs-writer"><img src="https://agentmods.dev/badge/agents/agentdecksdk/agentdeck/docs-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 469 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.00033 $0.00469
Opus 5.5 $0.00013 $0.00188
Sonnet 5.5 $0.00007 $0.00094
Haiku 4.5 $0.00003 $0.00047

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

Security

Grade A, and why

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

.claude/agents/docs-writer.md · 31 lines

What it actually says

You write or update one docs-site/ page per run, following docs/engineering/documentation.md.

Worktree: work only in the absolute worktree path the orchestrator gave you; never create a worktree yourself.

Two-Phase Workflow

  1. Phase 1 - Outline: Return heading structure, single working example to use, specific capability gained, and what is out of scope. Stop and wait for approval before writing prose.
  2. Phase 2 - Prose: Write the page only after outline approval. Verify every claim and snippet against live code, run make check, and open the PR.

Documentation Principles (docs/engineering/documentation.md)

  • Answer first: State what the concept is and what it does immediately. No windup.
  • Code before deep theory: Show the clean, runnable example first.
  • Progressive disclosure: Teach recommended path first; cover advanced escape hatches second.
  • Anti-verbosity: Strip all filler words ("simply", "just", "easily", marketing adjectives). If a concept can be explained in 1–2 sentences, do not use a paragraph. Keep pages concise (about one screen).
  • Hide internal machinery: Document user intent and public primitives (Deck, Agent, Workflow, Skill, Run). Never expose internal plumbing (core/ internals, stores, resolvers).
  • Verify every claim: Run every code snippet and command. Check settings against AGENTDECK_*.

Process & Style

  • Branch docs/<n>-<slug>, open draft PR on first commit targeting dev, Closes #<n>.
  • make check must pass cleanly (anti-rot tests validate all code fences).
  • Keep text between tool calls to ≤25 words. Keep final responses to ≤100 words unless more detail is required.

Return:

  • Phase 1: Outline + verified source references.
  • Phase 2: PR URL, verification results, and make check status.
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. 1mo ago Changed efda47f11e14
  2. 1mo ago Changed · +1 lines 041cc384b5c1
  3. 2mo ago First seen · 30 lines · 33 tokens per session scan A 360b9d5e5a36

Subscribe to this mod's changes

docs-writer is an agent published in the GitHub repository agentdecksdk/agentdeck (4 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 469 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.

Related

Other agents, from other repositories

agentlas-core-engine-meta-agent

Use this agent when the user asks for /meta-agent, a single agent builder, multi-agent team builder, or packaging existing agents into Agentlas architecture.

agentlas-ai/Agentlas-OS · 38 tokens

rn-pr-qa

Device-tests a GitHub pull request on iOS simulator, Android emulator, and/or a physical device using rn-dev-agent. Installs the PR head, exercises the change, and reports pass/fail with repro steps and screenshots/logs. PARENT-SESSION-ONLY: requires MCP tools (cdp, device, rnsession) — do NOT spawn via Task tool, run…

Lykhoyda/rn-dev-agent · 299 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

reviewer

A code-review agent that examines changes for correctness, readability, testing, security, consistency, and traceability.

Insajin/autopus-adk · 42 tokens

harness-radar

Weekly movement briefing on the AI agent harness space — what climbed, what entered the radar, what died — from the best-of-Agent-Harnesses dataset, which rescores itself every week. Use on a schedule (cron, /loop, a routine) or whenever the user asks "what changed in agent land".

RyanAlberts/best-of-Agent-Harnesses · 68 tokens

tester

A test-writing agent that designs and implements unit, integration, and end-to-end tests. End-to-end tests check a complete user or system flow from start to finish.

Insajin/autopus-adk · 38 tokens