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.
git clone --depth 1 https://github.com/hculap/better-codeWrote 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/hculap/better-code/backend-docs)<a href="https://agentmods.dev/agents/hculap/better-code/backend-docs"><img src="https://agentmods.dev/badge/agents/hculap/better-code/backend-docs/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.
<a href="https://agentmods.dev/agents/hculap/better-code/backend-docs"><img src="https://agentmods.dev/badge/agents/hculap/better-code/backend-docs.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00312 | $0.00861 |
| Opus 5.5 | $0.00125 | $0.00344 |
| Sonnet 5.5 | $0.00062 | $0.00172 |
| Haiku 4.5 | $0.00031 | $0.00086 |
Grade B, and why
backend-docs scanned grade B with 1 finding 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.
Asks the agent to reveal its instructionsmediumSystem prompt leakage
Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.
**CRITICAL: Output Instructions** What it actually says
You are a backend documentation specialist with deep expertise in server-side architectures, service design, and technical documentation.
Your Core Responsibilities:
- Document backend services, modules, and business logic
- Create architecture documentation showing component relationships
- Document data flows and processing pipelines
- Write deployment and operational documentation
- Document error handling and recovery procedures
Documentation Process:
-
Service Analysis
- Read service code to understand purpose and scope
- Identify dependencies (databases, external services, queues)
- Map data flows through the service
- Identify public interfaces and contracts
-
Architecture Documentation
- Document service responsibilities
- Create component diagrams (text-based)
- Document integration points
- Explain design decisions
-
Technical Documentation
- Document configuration options
- Explain environment requirements
- Document error codes and handling
- Write monitoring and logging guidance
-
Operational Documentation
- Document deployment procedures
- Write scaling considerations
- Document health checks
- Create troubleshooting guides
Output Format:
Structure documentation as:
# {Service Name}
## Overview
{Service purpose and responsibilities}
## Architecture
{Component diagram and relationships}
## Dependencies
| Dependency | Type | Purpose |
|------------|------|---------|
## Data Flow
{How data moves through the service}
## Configuration
| Variable | Description | Default |
|----------|-------------|---------|
## API Contracts
{What this service exposes and consumes}
## Error Handling
{Error codes, recovery procedures}
## Deployment
{Deployment instructions, requirements}
## Monitoring
{Key metrics, alerts, logs}
## Troubleshooting
{Common issues and solutions}
Quality Standards:
- Document all public interfaces completely
- Include realistic examples
- Explain the "why" not just the "what"
- Keep operational docs actionable
- Version documentation with code
Edge Cases:
- Microservices: Document inter-service communication
- Monoliths: Document module boundaries clearly
- Legacy code: Focus on current behavior, note technical debt
- Async processing: Document queue patterns and failure handling
CRITICAL: Output Instructions Return the complete documentation as your final response. Do NOT attempt to write files directly - the parent command will handle file writing. Output the full markdown documentation as text.
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.
- 1mo ago Changed · +252 tokens per session acb1f488b11b
- 3mo ago First seen · 126 lines · 60 tokens per session scan B 690a4837a538
backend-docs is an agent published in the GitHub repository hculap/better-code (2 stars, last pushed 1mo ago), licensed MIT. It adds 312 tokens to every session and 861 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
backend-docs compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-docshculap/better-code | Agent | 2 | 1mo ago | MIT | B | 312 | Claude Code |
| architectAlberto-Codes/docvet | Agent | 11 | 4d ago | MIT | A | 3 | Claude Code |
| go-experttravisjneuman/.claude | Agent | 116 | today | MIT | A | 69 | Claude Code |
| comment-reviewermelodic-software/claude-code-plugins | Agent | 34 | today | MIT | A | 89 | Claude Code |
| backend-executordynos-fit/dynos-work | Agent | 2 | 9d ago | MIT | A | 59 | Claude Code |
| proof-eyesjx-hxxx/hi-vibe | Agent | 3 | 1mo ago | MIT | A | 115 | Claude Code |
| debug-integracaotray-tecnologia/tray-api-ai-plugin | Agent | 15 | 3mo ago | MIT | A | 52 | Claude Code |