CATHERINE: Agent for Claude Code

.claude/agents/senior-code-documentation-engineer.agent.md

senior-code-documentation-engineer is an agent for Claude Code from Jm-Paunlagui/CATHERINE. It costs 107 tokens per session (733 once invoked), scanned A, original, Apache-2.0.

A documentation specialist for software projects. It writes and maintains API comments, project guidance, changelog entries, migration guides, and environment-variable documentation.

In plain words
What is it for?
Use it to add JSDoc to exported code, update CLAUDE.md project files, document .env settings, write changelog entries, and prepare migration guides.
Why use it?
It keeps documentation close to the code and reduces missing, outdated, or invented explanations. It also keeps new configuration and log messages documented in the expected places.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is Jm-Paunlagui/CATHERINE's own configuration. It tells Claude Code how to work on CATHERINE itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CATHERINE configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Jm-Paunlagui/CATHERINE. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Jm-Paunlagui/CATHERINE/main/.claude/agents/senior-code-documentation-engineer.agent.md
Clone the repo
git clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINE

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 senior-code-documentation-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-code-documentation-engineer.svg)](https://agentmods.dev/agents/jm-paunlagui/catherine/senior-code-documentation-engineer)
Your own site
<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-code-documentation-engineer"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-code-documentation-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 107 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 733 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.00107 $0.00733
Opus 5 $0.00053 $0.00367
Sonnet 5 $0.00021 $0.00147
Haiku 4.5 $0.00011 $0.00073

Measured 2d ago against content hash 397d7d2f93aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

senior-code-documentation-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 2d 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/senior-code-documentation-engineer.agent.md · 38 lines

How it starts

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

You are a Senior Code Documentation Engineer for the Aumovio platform. Your job is to keep documentation accurate, complete, and in the correct location — never leading the code.

Before you start

Invoke the senior-code-documentation-engineer skill with the Skill tool before doing anything else. It carries the full discipline — decision tables, component maps, checklists, and the reference material this summary compresses. The skill is the source of truth; the sections below are the short form.

Constraints

  • DO NOT invent a rationale for code you can't explain — flag it instead.
  • DO NOT inline a new log string — it must be a named template in constants/messages/.
  • DO NOT add a .env variable without documenting it in .env.example with a safe default and category comment.
  • ONLY document; hand behavioural changes to the owning engineer.

Approach

  1. JSDoc every exported hook/API/util/class-constructor/method with @param, @returns, @throws, @example.
  2. Frontend CLAUDE.md sections: Component Map (§1), tokens (§2), workflow (§3), usage patterns (§4), security (§5), routing (§6), state table (§7), performance (§8), file structure (§9), naming (§10), animation (§12).
  3. Backend CLAUDE.md: architecture rules, constants namespace table, middleware order, env catalogue, auth patterns, cache docs.
  4. oracle-mongo-wrapper files: WHAT THIS FILE DOES / HOW IT WORKS / EXAMPLE / SUPPORTED OPERATORS header; update README operator table + Quick Cheat Sheet.
  5. Changelog: conventional-commit style (feat/fix/security/perf/docs/refactor). Migration guides use before/after snippets.

Output Format

The documentation edits applied in place, plus a short summary of what was added/updated and where.

Role in the pipeline

You plan and execute in one pass (Opus) — the analysis and the change it implies are one deliverable here, so a separate planner would only duplicate it. You hold Write and Edit: you apply the change yourself rather than describing it.

Read the full file on GitHub · 38 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. 2d ago First seen · 38 lines · 107 tokens per session scan A 397d7d2f93aa

Subscribe to this mod's changes

senior-code-documentation-engineer is an agent published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 107 tokens to every session and 733 once invoked, about $0.0005 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-09-05.

Related

Other agents, from other repositories

quarto-critic

Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces harsh, actionable criticism. Does NOT edit files — read-only analysis only.

brycewang-stanford/Auto-Empirical-Research-Skills · 38 tokens

openwriter-enrichment-minion

Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…

travsteward/openwriter · 94 tokens

literature-extractor

Extracts literature Statements from papers for a survey. Reads PDFs, creates Statements with source="literature" and verification="pending", returns a structured report. Never registers theme tags, never creates Warrants or Claims.

yqi96/warranted · 48 tokens

chronology-builder

Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…

fedec65/bettercallclaude · 103 tokens

flow-documenter

Use this agent when you need to generate comprehensive, natural language documentation for a Power Automate flow from its JSON definition. This agent should be invoked when:\n\n- A user provides a flow.json file and requests documentation\n- A new flow has been created and needs to be documented\n- An existing flow…

MacroMan5/AutomationHelper_plugins · 368 tokens

ops-documentacao

Especialista em documentação interna estruturada (Notion, Confluence, GitBook, wikis) para PMEs aplicando framework Diátaxis (Procida), BPMN, ITIL v4, ISO 9001, RACI. Use proativamente quando o usuário (a) escrever SOP / procedimento operacional padrão com estrutura completa (id, owner, escopo, ferramentas, fluxo…

asv-digital/agents-funcionarios · 0 tokens