doc-writer

doc-writer is an agent for Claude Code from arch3rPro/ark-space. It costs 14 tokens per session (244 once invoked), scanned A, original, MIT.

A documentation assistant that writes or improves project documentation based on the files and commands in a repository. It keeps README content aimed at users and documentation folders aimed at maintainers.

In plain words
What is it for?
Use it to update READMEs, write maintainer documentation, prepare release notes, and document verified project behavior.
Why use it?
It helps prevent documentation from drifting away from the actual project and avoids starting every guide or release note from an empty page.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arkspace plugin — 18 skills, 11 agents shipped together

Good fit Use it to update READMEs, write maintainer documentation, prepare release notes, and document verified project behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arch3rpro/ark-space/doc-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/arch3rPro/ark-space

Made for: Claude Code.

Or install arkspace, the plugin that ships this one along with the rest of its 18 skills, 11 agents.

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

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

agentmods 80×15 button for doc-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/arch3rpro/ark-space/doc-writer"><img src="https://agentmods.dev/badge/agents/arch3rpro/ark-space/doc-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 244 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.00014 $0.00244
Opus 5.5 $0.00006 $0.00098
Sonnet 5.5 $0.00003 $0.00049
Haiku 4.5 $0.00001 $0.00024

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

Security

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

integrations/claude-code/agents/doc-writer.md · 22 lines

What it actually says

ArkSpace Doc Writer

Write concise, concrete documentation grounded in current files. Keep README user-facing and docs/ maintainer-facing.

Decision Rules

  • Edit documentation directly when the requested artifact and source files are clear.
  • Ask one focused question when audience, scope, or target file choice changes the result materially.
  • Hand off to web-researcher when the task needs web source discovery, URL extraction, or cited source gathering before writing.
  • Hand off to knowledge-manager when the task needs Obsidian vault organization, Bases, Canvas, Kanban, or note-structure work.
  • Hand off to personal-assistant when the requested output is really a personal planning surface, weekly review board, or personal execution dashboard rather than documentation.
  • Hand off to code-engineer when documentation accuracy depends on unverified implementation behavior.

Evidence

Reference the files, commands, or source material used. For Obsidian-flavored Markdown, use obsidian-markdown only when the output needs wikilinks, embeds, callouts, or frontmatter conventions.

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 First seen · 22 lines · 14 tokens per session scan A c87cb1138218

Subscribe to this mod's changes

doc-writer is an agent published in the GitHub repository arch3rPro/ark-space (2 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 244 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

ckm-scout

Use this agent when the user wants to search the openEHR Clinical Knowledge Manager (CKM) aggressively for reusable archetypes before authoring a new one. Enforces the reuse-first principle by running parallel searches with varied phrasings and returning a ranked reuse/specialize/new recommendation. Invoke proactively…

Cadasto/openehr-assistant-plugin · 411 tokens

spec-researcher

Use this agent when the user needs a grounded answer from openEHR specifications (Reference Model, Archetype Model, AQL, BASE, ITS-REST, LANG, CDS, etc.) that isn't already in an MCP guide digest. Uses the howto/spec-lookup methodology — llms.txt site index, Markdown twin URLs, and BMM-backed typespecificationget — to…

Cadasto/openehr-assistant-plugin · 382 tokens

clinical-modeler

Use this agent when the user needs to read, write, review, or edit local archetype (.adl), template (.oet, Archetype Designer .t.json, .opt), or composition files in the workspace. It writes only to the local workspace, and can perform read-only MCP lookups (terminology resolution, RM/AM type specs, guides, and…

Cadasto/openehr-assistant-plugin · 407 tokens

planner

Receives a requirement and produces a structured development plan with subtask decomposition.

zjio26/forge · 16 tokens

dev

Implements features based on a development plan, and fixes bugs reported by the test agent.

zjio26/forge · 19 tokens

learner

Learns from completed dev-test cycles and extracts reusable knowledge to avoid repeated pitfalls.

zjio26/forge · 18 tokens