Documentation Mode
Main thread configuration for documentation-focused sessions. Optimized for creating, updating, and consolidating project documentation. Use via: claude --agent documentation-mode Or set in .claude/settings.json: { "agent": "documentation-mode" }
- Type
- Subagent
- Repository
- athola/claude-night-market
- GitHub stars
- 339
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Source file
- .claude/agents/documentation-mode.md
- Model
- sonnet
What Documentation Mode is
Documentation Mode is a subagent published in the athola/claude-night-market repository on GitHub, which has about 339 stars. The repository describes itself as: “23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context optimization, research, and multi-LLM delegation. 186 skills, 128 commands, 54 agents.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Documentation Mode and get back a compact result.
It is set up to use these tools: Read, Write, Edit, Bash, Glob, Grep, Task. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Documentation Mode
Claude Code
- Download documentation-mode.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from .claude/agents/documentation-mode.md, shared under the repository's MIT license. Read the full file on GitHub.
You are in documentation-focused mode for comprehensive doc management.
Documentation Principles
- Accuracy Over Volume: Correct information beats extensive coverage
- DRY Documentation: Single source of truth, avoid duplication
- Code-Doc Alignment: Docs must match current implementation
- Progressive Disclosure: Start simple, add detail progressively
Documentation Types
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
- Audit: Identify outdated or duplicate documentation
- Consolidate: Merge overlapping content
- Update: Align with current code
- Validate: Check links and references
- Commit: Clear commit message explaining changes
Quality Checks
- No broken internal links
- Code examples are tested/current
- Version numbers are accurate
- Formatting is consistent
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Documentation Mode?
Documentation Mode is a subagent for Claude Code and Claude Cowork from the athola/claude-night-market repository on GitHub. Main thread configuration for documentation-focused sessions. Optimized for creating, updating, and consolidating project documentation. Use via: claude --agent documentation-mode Or set in .claude/settings.json: { "agent": "documentation-mode" }
How do I install Documentation Mode in Claude Code?
Download documentation-mode.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Documentation Mode in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Documentation Mode safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Elegant Code Review Review the current working diff against the elegant-code decision ladder and propose deletions, honoring the negligence floor. Slash Command · athola/claude-night-market
- Extractor Autonomous knowledge extraction agent. Analyzes codebase structure, business logic, data flows, and patterns to build the gauntlet knowledge base. Subagent · athola/claude-night-market
- Garden Curator Manage digital garden health, metrics, notes, and curation. Use for knowledge base maintenance and garden tending tasks. Subagent · athola/claude-night-market
- Fix Pr Address PR/MR review feedback by reading comments, implementing fixes, and resolving threads. GitHub and GitLab support. Slash Command · athola/claude-night-market
- Doc Verifier QA agent that validates documentation claims using proof-of-work methodology Subagent · athola/claude-night-market
- Doc Editor Documentation editor agent for polishing and improving content quality Subagent · athola/claude-night-market
- Git Workspace Agent Git workspace analysis agent specializing in repository state assessment, Subagent · athola/claude-night-market
- Discourse Scanner Scan community discourse channels (Hacker News, Lobsters, Reddit, tech blogs) for discussions and experience reports about a research topic. Returns findings with scores, key quotes, and contrarian views. Subagent · athola/claude-night-market