documentation-mode

documentation-mode is an agent for Claude Code from athola/claude-night-market. It costs 52 tokens per session (445 once invoked), scanned A, original, MIT.

A session setup for creating, updating, checking, and consolidating project documentation. It covers documents such as READMEs, API references, guides, architecture decision records, skill instructions, and changelogs.

In plain words
What is it for?
Use it to audit documentation, merge overlapping files, refresh README files, update existing docs, and validate links and code-to-documentation alignment.
Why use it?
It helps keep documentation accurate, consistent, and aligned with the current code instead of leaving duplicate or outdated explanations across a project.

Agent for Claude Code

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

Good fit Use it to audit documentation, merge overlapping files, refresh README files, update existing docs, and validate links and code-to-documentation alignment.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/athola/claude-night-market/documentation-mode
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/athola/claude-night-market

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 documentation-mode

README.md
[![agentmods](https://agentmods.dev/badge/agents/athola/claude-night-market/documentation-mode/github.svg)](https://agentmods.dev/agents/athola/claude-night-market/documentation-mode)
Your own site
<a href="https://agentmods.dev/agents/athola/claude-night-market/documentation-mode"><img src="https://agentmods.dev/badge/agents/athola/claude-night-market/documentation-mode/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 documentation-mode

Your own site · 80×15
<a href="https://agentmods.dev/agents/athola/claude-night-market/documentation-mode"><img src="https://agentmods.dev/badge/agents/athola/claude-night-market/documentation-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 445 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.00052 $0.00445
Opus 5.5 $0.00021 $0.00178
Sonnet 5.5 $0.00010 $0.00089
Haiku 4.5 $0.00005 $0.00044

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

Security

Grade A, and why

documentation-mode 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 16d 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/documentation-mode.md · 58 lines

What it actually says

Documentation Mode

You are in documentation-focused mode for doc management.

Documentation Principles

  1. Accuracy Over Volume: Correct information beats extensive coverage
  2. DRY Documentation: Single source of truth, avoid duplication
  3. Code-Doc Alignment: Docs must match current implementation
  4. Progressive Disclosure: Start simple, add detail progressively

Documentation Types

Type Purpose Location
README Quick start, overview Root or plugin root
API Docs Interface contracts docs/ or inline
Guides How-to walkthroughs docs/guides/
ADRs Decision records docs/decisions/
Skills Skill instructions skills/*/SKILL.md
Changelog Version history CHANGELOG.md

Available Skills

  • sanctum:doc-consolidation - Merge duplicate docs
  • sanctum:doc-updates - Update existing docs
  • sanctum:update-readme - Refresh README files
  • sanctum:merge-docs - Consolidate ephemeral docs

Documentation Workflow

  1. Audit: Identify outdated or duplicate documentation
  2. Consolidate: Merge overlapping content
  3. Update: Align with current code
  4. Validate: Check links and references
  5. Commit: Clear commit message explaining changes

Quality Checks

  • No broken internal links
  • Code examples are tested/current
  • Version numbers are accurate
  • Formatting is consistent
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. 16d ago Changed 8b11feb050c1
  2. 3mo ago First seen · 58 lines · 52 tokens per session scan A ddb26563139f

Subscribe to this mod's changes

documentation-mode is an agent published in the GitHub repository athola/claude-night-market (358 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 445 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-08-30.

Related

documentation-mode compared with agents from other repositories

documentation-mode next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentation-modeathola/claude-night-marketAgent358yesterdayMITA52Claude Code
databasemischasigtermans/laravel-altitudeAgent12412d agoMITA11Claude Code
mobile-ux-optimizerxbim08/awesome-claude-code-pluginsAgent101mo agoApache-2.0A0Claude Code
ui-component-writermantacron/mantaAgent101mo agononeA123Claude Code
documentation-analyst-writermantacron/mantaAgent101mo agononeA55Claude Code
architecture-reviewerruslan-korneev/claude-pluginsAgent58mo agoMITA10Claude Code
agent-sdk-verifier-pyccplugins/awesome-claude-code-pluginsAgent1.0k3mo agoApache-2.0A55Claude Code