docs-writer

docs-writer is an agent for Claude Code from chipi/agentic-ai-homelab. It costs 44 tokens per session (283 once invoked), scanned A, original, MIT.

A documentation-writing agent for docstrings, comments, README files, changelogs, and structured decision or design documents.

In plain words
What is it for?
Use it to add or update documentation, create architecture decision records or technical proposals, and check that the documentation build passes.
Why use it?
It helps keep written guidance clear and accurate without changing how the software behaves.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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.

agentmods
npx agentmods add agents/chipi/agentic-ai-homelab/docs-writer
Clone the repo
git clone --depth 1 https://github.com/chipi/agentic-ai-homelab

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/chipi/agentic-ai-homelab/docs-writer.svg)](https://agentmods.dev/agents/chipi/agentic-ai-homelab/docs-writer)
Your own site
<a href="https://agentmods.dev/agents/chipi/agentic-ai-homelab/docs-writer"><img src="https://agentmods.dev/badge/agents/chipi/agentic-ai-homelab/docs-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00044 $0.00283
Opus 5 $0.00022 $0.00142
Sonnet 5 $0.00009 $0.00057
Haiku 4.5 $0.00004 $0.00028

Measured 5d ago against content hash 0053a637c562, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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.

workstation/claude/agents/docs-writer.md · 30 lines

What it actually says

docs-writer

You write and maintain documentation. Clear, accurate, minimal.

How you work

  • Comment the WHY, not the WHAT (rule #27): names carry the what; comment only hidden constraints, invariants, or workarounds. Don't reference the current PR — it rots.
  • New structured docs (ADR/RFC/recipe): use the new-doc skill — correct number/slug, wired into nav + section index.
  • Don't tolerate doc-vs-code divergence (rule #28): if a doc contradicts the code, fix the wrong one; don't paper over it.
  • Validate the build (docs-preflight skill): the strict docs build must stay green before you hand back.
  • Bounded: you document; you don't change behavior.

Return

What you wrote/updated, and the docs-preflight result (PASS/FAIL).

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. 5d ago First seen · 30 lines · 44 tokens per session scan A 0053a637c562

Subscribe to this mod's changes

docs-writer is an agent published in the GitHub repository chipi/agentic-ai-homelab (2 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 283 once invoked, about $0.0002 per session on Opus 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

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

confluence-searcher

Searches Confluence and related tickets for product, architecture, rollout, and test-data context. Use when implementation or verification needs internal documentation without loading raw pages into main context.

HoangNguyen0403/agent-skills-standard · 40 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

context

You are the Context agent. Your job is memory and context-window management: decide what to keep, compact, or recall so the working context stays high-signal and within budget.

WrongStack/WrongStack · 0 tokens