docs-engineer

docs-engineer is an agent for Claude Code from jdanigo/hydraia. It costs 70 tokens per session (461 once invoked), scanned A, original, MIT.

A documentation specialist that checks project documentation against the code and its API contract. An API contract is the agreed description of available endpoints, fields, and response codes.

In plain words
What is it for?
Use it to synchronize a README, OpenAPI or GraphQL documentation, a CHANGELOG, and an ADR index with the current project.
Why use it?
It reduces confusion caused by documentation that no longer matches the software. Missing information is reported instead of being guessed, and outdated documentation does not stop a build.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the hydraia plugin — 52 skills, 17 commands, 27 agents, 6 hooks shipped together

Good fit Use it to synchronize a README, OpenAPI or GraphQL documentation, a CHANGELOG, and an ADR index with the current project.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jdanigo/hydraia/docs-engineer
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/jdanigo/hydraia

Made for: Claude Code.

Or install hydraia, the plugin that ships this one along with the rest of its 52 skills, 17 commands, 27 agents, 6 hooks.

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 docs-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jdanigo/hydraia/docs-engineer/github.svg)](https://agentmods.dev/agents/jdanigo/hydraia/docs-engineer)
Your own site
<a href="https://agentmods.dev/agents/jdanigo/hydraia/docs-engineer"><img src="https://agentmods.dev/badge/agents/jdanigo/hydraia/docs-engineer/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 docs-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jdanigo/hydraia/docs-engineer"><img src="https://agentmods.dev/badge/agents/jdanigo/hydraia/docs-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 461 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.00070 $0.00461
Opus 5.5 $0.00028 $0.00184
Sonnet 5.5 $0.00014 $0.00092
Haiku 4.5 $0.00007 $0.00046

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

Security

Grade A, and why

docs-engineer 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.

agents/docs-engineer.md · 29 lines

What it actually says

You keep documentation in sync with code. Dispatched with the repo root and a mode (sync for Phase 6, full for the command). No session history.

Non-negotiable rules

  • Document what exists, never invent. Describe the behavior the code and the contract actually define. A gap (undocumented endpoint, missing example) is REPORTED, not filled with a guess.
  • Never block. Stale docs do not fail a build. You update what drifted and report what changed; you do not stop the run.
  • Respect the source of truth. The API contract file (OpenAPI/GraphQL/proto) is authoritative for the API surface; the code is authoritative for behavior; the CHANGELOG follows Keep-a-Changelog.

Sync targets

  • README: feature list, command tables, component counts, version badge — matched to the real skills/agents/commands present.
  • API docs: if a contract file exists, check routes/fields/status codes documented vs defined; flag drift.
  • CHANGELOG: ensure the branch's changes have an [Unreleased] (or current-version) entry.
  • ADR index: if docs/hydraia/adr/ exists, keep an index of decisions and their status.

Modes

  • sync (Phase 6): detect drift against the branch's changed surface, update the drifted docs, commit if anything changed, and report the drift list + what was updated.
  • full (/hydraia:docs): a complete pass over all targets.

Report: files updated, drift found (fixed vs still-open gaps). Never a BLOCKED that stops the pipeline — docs are non-blocking by design.

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 First seen · 29 lines · 70 tokens per session scan A 524fc240d36c

Subscribe to this mod's changes

docs-engineer is an agent published in the GitHub repository jdanigo/hydraia (8 stars, last pushed 25d ago), licensed MIT. It adds 70 tokens to every session and 461 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

Other agents, from other repositories

information-architect

Adversarial information architect who assumes the current documentation is harder to find, orient in, and comprehend than it needs to be. Audits READMEs, API docs, plugin docs, ADR collections, tutorials, and reference content against established IA practice — the four IA systems (organization, labeling, navigation…

testdouble/han · 193 tokens

integration_engineer

Integration engineering specialist for B2B/API integration, ETL between systems, message brokers, and EDI/flat-file exchanges. Use when the task requires connecting two systems with different data models, building a reliable pipeline across a broker (Kafka, RabbitMQ, MQ), or implementing an EDI/flat-file interface…

josstei/maestro-orchestrate · 105 tokens

api_designer

API design specialist for endpoint design, request/response contracts, and API versioning strategies. Use when the task involves designing REST or GraphQL APIs, defining endpoint schemas, planning pagination or error response formats. For example: OpenAPI spec authoring, API versioning strategy, or resource modeling.

josstei/maestro-orchestrate · 63 tokens

ibm_i_specialist

IBM i (AS/400, iSeries) specialist for RPG, CL, DB2 for i, and OS/400 system operations. Use when the task requires writing or reviewing RPG IV/RPGLE programs, CL scripts, DDS/SQL DDL for DB2 for i, or IBM i system admin (work management, subsystems, journaling). For example: modernizing fixed-format RPG to…

josstei/maestro-orchestrate · 108 tokens

solutions_architect

Solutions architecture specialist for enterprise integration patterns, vendor systems, cross-team architecture, and target-state design. Use when the task requires mapping a current-state vs target-state architecture, evaluating vendor selection, or aligning multiple teams on a shared design. For example: designing an…

josstei/maestro-orchestrate · 88 tokens

api-designer

API design specialist for endpoint design, request/response contracts, and API versioning strategies. Use when the task involves designing REST or GraphQL APIs, defining endpoint schemas, planning pagination or error response formats. For example: OpenAPI spec authoring, API versioning strategy, or resource modeling.

josstei/maestro-orchestrate · 63 tokens