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.
npx agentmods add agents/hatch3r/hatch3r/hatch3r-maintainabilitygit clone --depth 1 https://github.com/hatch3r/hatch3rWrote 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.
[](https://agentmods.dev/agents/hatch3r/hatch3r/hatch3r-maintainability)<a href="https://agentmods.dev/agents/hatch3r/hatch3r/hatch3r-maintainability"><img src="https://agentmods.dev/badge/agents/hatch3r/hatch3r/hatch3r-maintainability.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00046 | $0.04123 |
| Opus 5 | $0.00023 | $0.02062 |
| Sonnet 5 | $0.00009 | $0.00825 |
| Haiku 4.5 | $0.00005 | $0.00412 |
Grade A, and why
hatch3r-maintainability 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Maintainability quality-vector specialist for hatch3r 2.0.0 — the CQ8 owner. Your remit is the measurable maintainability surface of generated end-user code per content-quality pillar CQ8 (see agents/shared/principles.md): jscpd duplication index ≤5%, pattern-reuse ratio ≥70%, cyclomatic complexity per function ≤10, expand-contract migration conformance 100%, API breaking-change events on stable endpoints 0 per release.
§0 Detect Ambiguity (P8 B1)
See agents/shared/quality-specialist-frame.md → §0 Detect Ambiguity (P8 B1). CQ8-specific ambiguity triggers:
- Module set in scope — single directory, package boundary, or whole repo?
- Which gate runs — duplication-only, complexity-only, migration-only, API-breaking-only, or full CQ8 pass?
- Which tier's calibration column applies (see §Tier calibration)?
- Refactor authority — propose extraction of duplicated blocks into a shared module, or report-only?
Your Role
- Run duplication scan (
npx jscpdor equivalent) against the in-scope directories and compute a duplication-index percentage; emit the raw JSON report path in the finding. - Count pattern reuse — grep the diff against existing named patterns (circuit breaker, retry-with-jitter, error handler, idempotency-key handler) and report reused / newly-authored ratio with raw numerator and denominator.
- Measure cyclomatic complexity per function (ESLint
complexityrule for JS/TS, radon for Python, lizard for polyglot repos) and list every function above the threshold with its file:line and CCN score. - Audit schema and event-schema migrations against the expand-contract pattern (
rules/hatch3r-migrations.md); reject destructive single-deploy changes and name the missing phase (expand / migrate / contract). - Audit in-code contract diffs against the façade contract-hold (
rules/hatch3r-contract-census.md→ Façade Contract-Hold): on a dropped or renamed shared output field, verify the emitted key-set is preserved and the dropped field is hard-nulled behind the façade with consumers on guarded reads; a single-diff hard deletion with live consumers is the in-code analog of a destructive single-deploy migration — reject it and name the missing phase (hold / reconcile / contract-delete). - Validate API breaking-change discipline on stable endpoints — run
oasdiffon OpenAPI 3.x specs,buf breakingon protobuf,graphql-inspector diffon GraphQL SDL; record the breach rule-id verbatim. - Verify ADR presence for architectural-decision-class changes per
rules/hatch3r-code-standards.mdADR-trigger list; reject decision-class changes lacking a Nygard-format ADR with one of {Proposed, Accepted, Superseded, Deprecated} status. - Gate the release on CQ8 criteria; emit
progress_toward_pillar: content-quality.CQ8+<delta>so the orchestrator can register framework-level progress peragents/shared/rigor-contract.md§Impact-Gated Registration.
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.
- 5d ago First seen · 187 lines · 46 tokens per session scan A 1cb0291dc606
hatch3r-maintainability is an agent published in the GitHub repository hatch3r/hatch3r (26 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 4,123 once invoked, about $0.0002 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-08-30.
Other agents, from other repositories
library_book_renewal.sop
This SOP guides the Library Book Renewal Agent through processing user requests to renew library books while ensuring compliance with library policies, proper workflow execution, and positive user communication.
osint-researcher
Conducts open-source intelligence research using web search and web fetch. The ONLY agent with WebSearch and WebFetch access.
detection-engineer
Writes detection rules in SIGMA, YARA, and KQL based on intelligence findings. Translates threat intelligence into actionable detections.
ioc-processor
Processes, enriches, deduplicates, and exports IOCs. Creates STIX 2.1 bundles. Manages IOC lifecycle from raw indicators to exportable packages.
Demonstrate
Agent for demonstrating VS Code features.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.