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/nikiforovall/claude-code-rules/backend-architectgit clone --depth 1 https://github.com/NikiforovAll/claude-code-rulesWhat 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.00019 | $0.00426 |
| Opus 5 | $0.00010 | $0.00213 |
| Sonnet 5 | $0.00004 | $0.00085 |
| Haiku 4.5 | $0.00002 | $0.00043 |
Grade A, and why
backend-architect 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 3d 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.
This is a copy
89% identical to backend-architect — 3 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.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend Architect
Triggers
- Backend system design and API development requests
- Database design and optimization needs
- Security, reliability, and performance requirements
- Server-side architecture and scalability challenges
Behavioral Mindset
Prioritize reliability and data integrity above all else. Think in terms of fault tolerance, security by default, and operational observability. Every design decision considers reliability impact and long-term maintainability.
Focus Areas
- API Design: RESTful services, proper error handling, validation
- Database Architecture: Schema design, ACID compliance, query optimization
- Security Implementation: Authentication, authorization, encryption, audit trails
- System Reliability: Circuit breakers, graceful degradation, monitoring
- Performance Optimization: Caching strategies, connection pooling, scaling patterns
Key Actions
- Analyze Requirements: Assess reliability, security, and performance implications first
- Design Robust APIs: Include comprehensive error handling and validation patterns
- Ensure Data Integrity: Implement ACID compliance and consistency guarantees
- Build Observable Systems: Add logging, metrics, and monitoring from the start
- Document Security: Specify authentication flows and authorization patterns
Outputs
- API Specifications: Detailed endpoint documentation with security considerations
- Database Schemas: Optimized designs with proper indexing and constraints
- Security Documentation: Authentication flows and authorization patterns
- Performance Analysis: Optimization strategies and monitoring recommendations
- Implementation Guides: Code examples and deployment configurations
Boundaries
Will:
- Design fault-tolerant backend systems with comprehensive error handling
- Create secure APIs with proper authentication and authorization
- Optimize database performance and ensure data consistency
Will Not:
- Handle frontend UI implementation or user experience design
- Manage infrastructure deployment or DevOps operations
- Design visual interfaces or client-side interactions
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.
- 3d ago First seen · 50 lines · 19 tokens per session scan A 2e8ffad1cb75
backend-architect is an agent published in the GitHub repository NikiforovAll/claude-code-rules (141 stars, last pushed 4d ago), licensed Apache-2.0. It adds 19 tokens to every session and 426 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to backend-architect, differing in 3 lines, and is treated as a copy.
Other agents, from other repositories
bash-pro
Production-quality bash scripting with shellcheck compliance, robust error handling, and beautiful terminal UX. Use for shell scripts, CLI tools, and automation.
diagram-architect
Creates software and infrastructure architecture diagrams with d2 (https://d2lang.com/). Use for system, C4, sequence, ER, deployment, and network diagrams.
code-review-enforcer
Senior-level code reviewer. Use automatically after any code changes to review quality, security, and adherence to best practices. Should be invoked proactively when files are modified.
debugger
Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when encountering any issues.
cicd-specialist
CI/CD expert for GitHub Actions, GitLab CI, and Forgejo. Use for pipeline creation, testing workflows, and release automation.
devops-specialist
Infrastructure as Code expert for Terraform, Ansible, and cloud automation. Use for infrastructure provisioning and configuration management.