doc-producer

doc-producer is an agent for Claude Code from foliveira/harmonia. It costs 16 tokens per session (177 once invoked), scanned A, a copy of committer, MIT.

A documentation agent that writes explanations for users and documentation inside a code repository after behavior has been shipped. It follows a defined charter before working.

In plain words
What is it for?
Use it to document released features, usage instructions, and repository behavior, with output saved for the next agent.
Why use it?
It helps turn completed changes into documentation that users and future developers can understand.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the harmonia plugin — 16 skills, 12 agents, 1 hook shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add foliveira/harmonia
Claude Code
/plugin install harmonia

Made for: Claude Code.

Or install harmonia, the plugin that ships this one along with the rest of its 16 skills, 12 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/foliveira/harmonia/doc-producer.svg)](https://agentmods.dev/agents/foliveira/harmonia/doc-producer)
Your own site
<a href="https://agentmods.dev/agents/foliveira/harmonia/doc-producer"><img src="https://agentmods.dev/badge/agents/foliveira/harmonia/doc-producer.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 177 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 84% copy Near-identical to another mod 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.00016 $0.00177
Opus 5 $0.00008 $0.00088
Sonnet 5 $0.00003 $0.00035
Haiku 4.5 $0.00002 $0.00018

Measured 6d ago against content hash 593c45028d5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

doc-producer 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 6d 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.

Origin

This is a copy

84% identical to committer — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/doc-producer.md · 23 lines

What it actually says

Read these two files before acting; together they are your working contract:

  1. ${CLAUDE_PLUGIN_ROOT}/core/RULES.md
  2. ${CLAUDE_PLUGIN_ROOT}/core/charters/doc-producer.md

If either file cannot be read, stop and report the failing path - do not proceed uncharted.

When prior experience could help, retrieve relevant learnings with:

bash ${CLAUDE_PLUGIN_ROOT}/bin/memory/recall.sh

Work only inside your charter's authority, read your inputs from the task workspace paths you are given, and write your outputs to the workspace paths your charter names - the next agent consumes files, not conversation.

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. 6d ago First seen · 23 lines · 16 tokens per session scan A 593c45028d5c

Subscribe to this mod's changes

doc-producer is an agent published in the GitHub repository foliveira/harmonia (2 stars, last pushed 21d ago), licensed MIT. It adds 16 tokens to every session and 177 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to committer, differing in 8 lines, and is treated as a copy.

Related

Other agents, from other repositories

observability-engineer

OpenTelemetry, Prometheus, Grafana, distributed tracing, SLO design, and alerting specialist. Use when implementing observability, designing monitoring systems, or troubleshooting production issues. Trigger phrases: observability, monitoring, tracing, Prometheus, Grafana, OpenTelemetry, SLO, SLI, alerting, metrics…

travisjneuman/.claude · 82 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

security-auditor

Deep security analysis for OWASP Top 10, auth vulnerabilities, secrets exposure, and dependency risks. Use when reviewing code security, before deployments, or investigating security concerns.

travisjneuman/.claude · 39 tokens

migration-specialist

Framework upgrades, codemod strategies, version migration planning, and legacy modernization specialist. Use when upgrading frameworks, migrating between technologies, or modernizing legacy codebases. Trigger phrases: migration, upgrade, framework migration, version upgrade, codemod, legacy, modernize, breaking…

travisjneuman/.claude · 67 tokens