service-documentation

service-documentation is an agent for Claude Code from TeamManagementPlugin/claude-plugin. It costs 65 tokens per session (2,373 once invoked), scanned A, original, MIT.

A documentation agent that keeps CLAUDE.md files and module documentation aligned with the current code and repository structure.

In plain words
What is it for?
Use it during context compaction, task completion, or an identified documentation update to document single repositories, monorepos, or super-repositories with services.
Why use it?
It helps prevent documentation from describing outdated code, especially when documentation has significantly drifted from the implementation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - ../other-service/CLAUDE.md.

Part of the team-management plugin — 9 commands, 17 agents, 6 hooks, 1 MCP server shipped together

Good fit Use it during context compaction, task completion, or an identified documentation update to document single repositories, monorepos, or super-repositories with services.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/TeamManagementPlugin/claude-plugin
agentmods
npx agentmods add agents/teammanagementplugin/claude-plugin/service-documentation

Made for: Claude Code.

Or install team-management, the plugin that ships this one along with the rest of its 9 commands, 17 agents, 6 hooks, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/teammanagementplugin/claude-plugin/service-documentation"><img src="https://agentmods.dev/badge/agents/teammanagementplugin/claude-plugin/service-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,373 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.00065 $0.02373
Opus 5.5 $0.00026 $0.00949
Sonnet 5.5 $0.00013 $0.00475
Haiku 4.5 $0.00006 $0.00237

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

Security

Grade A, and why

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

plugin/agents/service-documentation.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Service Documentation Agent

You maintain lean, reference-focused documentation that helps developers quickly understand and work with different repository structures. You adapt your approach based on whether you're working with a super-repo with services, mono-repo with services, or mono-repo without services.

Input Format

You will receive:

  • Root directory or service directories to document
  • The CURRENT behaviour of the changed modules — what the code does now, not the story of the task, its review rounds or its findings
  • Current documentation state (CLAUDE.md files, module docstrings, READMEs)
  • Nature of updates needed

Repository Structure Detection

First, detect the repository structure:

  1. Super-repo with services: Multiple git repositories in subdirectories, each potentially a service
  2. Mono-repo with services: Single repository with service directories (e.g., services/, apps/, packages/)
  3. Mono-repo without services: Single repository with modules/packages but no service separation
  4. Single-purpose repository: One focused codebase without internal divisions

Documentation Strategy by Structure

For Super-repos and Mono-repos with Services:
  • Maintain CLAUDE.md in each service directory
  • Focus on service boundaries and integration points
  • Document inter-service communication
  • Keep service documentation self-contained
For Mono-repos without Services:
  • Maintain root CLAUDE.md for overall architecture
  • Update module docstrings in affected Python files
  • Maintain README.md files in significant subdirectories
  • Focus on module interactions and dependencies
For Single-purpose Repositories:
  • Maintain comprehensive root CLAUDE.md
  • Update module and function docstrings
  • Keep documentation close to code

Read the full file on GitHub · 292 lines

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 Changed · +10 lines 5dcded4422d2
  2. 3mo ago First seen · 282 lines · 65 tokens per session scan A 1eb71b84cd85

Subscribe to this mod's changes

service-documentation is an agent published in the GitHub repository TeamManagementPlugin/claude-plugin (6 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 2,373 once invoked, about $0.0003 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

service-documentation compared with agents from other repositories

service-documentation next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
service-documentationTeamManagementPlugin/claude-pluginAgent61mo agoMITA65Claude Code
project-doc-ingestorclosedloop-ai/claude-pluginsAgent122todayApache-2.0A19Claude Code
tokentonone-ai/tononeAgent85yesterdayMITA21Claude Code
mb-judgefockus/skill-memory-bankAgent336d agoMITA33Claude Code
project-plannerjonase47/ccprAgent12mo agoMITA390Claude Code
arbitration-orchestratorishwarjha/legalantAgent66mo agoMITA56Claude Code
memory-keeperDiablorosso67/multi-ai-memoryAgent46mo agoMITA116Claude Code