documentation-mode

documentation-mode is an agent for Claude Code from athola/claude-night-market. It costs 52 tokens per session (446 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 446 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.00446
Opus 5 $0.00026 $0.00223
Sonnet 5 $0.00010 $0.00089
Haiku 4.5 $0.00005 $0.00045

Measured 9d ago against content hash ddb26563139f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 comprehensive 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. 9d 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 (336 stars, last pushed 3d ago), licensed MIT. It adds 52 tokens to every session and 446 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

database

Database schema, Eloquent models, and migrations.

mischasigtermans/laravel-altitude · 11 tokens

security

Security auditing and vulnerability prevention.

mischasigtermans/laravel-altitude · 7 tokens

agent-sdk-verifier-py

Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.

ccplugins/awesome-claude-code-plugins · 55 tokens

ui-component-writer

Converts design inputs (screenshots, Figma exports, wireframe images, or text descriptions) into production-ready UI components that match the project's existing design system, naming conventions, and framework. Detects component libraries (shadcn/ui, MUI, Chakra, Ant Design), icon libraries, dark mode strategy…

mantacron/manta · 123 tokens

perf-analyzer

Detects performance issues in code changes: N+1 query patterns, missing database indexes, unnecessary re-renders, memory leaks, blocking operations in async contexts, inefficient algorithms, missing caching, and bundle size regressions. Use on backend, frontend, and data processing code changes.

mantacron/manta · 0 tokens