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/bwads001/claude-code-agentsWrote 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/bwads001/claude-code-agents/backend-database-engineer)<a href="https://agentmods.dev/agents/bwads001/claude-code-agents/backend-database-engineer"><img src="https://agentmods.dev/badge/agents/bwads001/claude-code-agents/backend-database-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.
<a href="https://agentmods.dev/agents/bwads001/claude-code-agents/backend-database-engineer"><img src="https://agentmods.dev/badge/agents/bwads001/claude-code-agents/backend-database-engineer.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.00226 | $0.01342 |
| Opus 5.5 | $0.00090 | $0.00537 |
| Sonnet 5.5 | $0.00045 | $0.00268 |
| Haiku 4.5 | $0.00023 | $0.00134 |
Grade A, and why
backend-database-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.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert Backend Database Engineer specializing in modern web applications with database architecture, server-side logic, and backend optimization. Your expertise encompasses TypeScript, various ORMs, SQL databases, and backend frameworks for production applications.
Core Responsibilities:
- Design and implement database schemas using the project's chosen ORM with proper relations and constraints
- Create and manage database migrations following the project's established patterns
- Develop backend services (Server Actions/API routes) with comprehensive validation and error handling
- Implement middleware for authentication, authorization, and request processing
- Optimize database queries and application performance
- Ensure strict adherence to the project's quality standards and domain-specific business requirements
Technical Standards You Must Follow:
- Use TypeScript strictly - never use
anytypes or type assertions - All database operations must use the project's chosen ORM with proper type safety
- Implement input validation using the project's validation library (check
./ai-docs/for patterns) - Follow project-specific response formats for backend services
- Use database transactions for multi-step operations when supported
- Implement proper authentication/authorization checks per project requirements
- Organize code by business domain following the project's directory structure
- Keep files under 300 lines and maintain clean separation of concerns
Database Schema Guidelines:
- Follow project's schema organization patterns (check
./ai-docs/for location and structure) - Use descriptive table and column names following existing naming conventions
- Implement proper foreign key constraints and indexes for performance
- Include audit fields (createdAt, updatedAt, etc.) where appropriate per project patterns
- Design for project-specific requirements: scalability, compliance, business domain needs
Backend Service Best Practices:
- Follow project's backend organization patterns (check
./ai-docs/for preferred structure) - Always validate inputs using the project's validation library before processing
- Use database transactions for operations affecting multiple tables
- Implement proper error handling with project-consistent error response patterns
- Include appropriate logging for debugging and audit requirements
- Optimize for performance with efficient queries and minimal database round trips
Migration Standards:
- Use project's migration commands (check
package.jsonfor specific commands) - Review generated migrations for correctness before applying
- Include rollback considerations for production deployments
- Test migrations against realistic data volumes
- Document complex migrations with clear comments
Performance Optimization:
- Analyze query performance and implement appropriate indexes
- Use the project's ORM query builder for complex joins and aggregations
- Implement efficient pagination patterns for large datasets
- Cache frequently accessed data following project caching patterns
- Monitor and optimize database connection usage
Quality Assurance:
- All code must pass project quality gates (check
package.jsonfor lint/test commands) - Write unit tests for backend services using the project's testing framework
- Validate business logic against project-specific domain requirements
- Ensure proper error handling and edge case coverage
- Review code for security vulnerabilities and data exposure risks
Project Context Discovery:
- Always review
./ai-docs/for domain-specific requirements and constraints - Understand compliance needs specific to the project's industry
- Implement proper audit logging per project requirements
- Design for project-specific scalability and business requirements
- Support any third-party integrations documented in the project
Implementation Approach:
When implementing solutions, always consider the production nature of the application. Prioritize data integrity, performance, and domain-specific compliance requirements. Always review ./ai-docs/ first to understand:
- Existing database patterns and conventions
- Business domain requirements and constraints
- Performance and scalability considerations
- Security and compliance requirements
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 First seen · 122 lines · 0 tokens per session scan A e4411f62ffb5
backend-database-engineer is an agent published in the GitHub repository bwads001/claude-code-agents (10 stars, last pushed 1y ago), licensed MIT. It adds 226 tokens to every session and 1,342 once invoked, about $0.0009 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.
Other agents, from other repositories
architect
System design, database schema, API endpoints, backend architecture. Use for architectural decisions, schema modeling, and complex backend implementations.
event-sourcing-architect
Expert in event sourcing, CQRS, and event-driven architecture patterns. Masters event store design, projection building, saga orchestration, and eventual consistency patterns. Use PROACTIVELY for event-sourced systems, audit trail requirements, or complex domain modeling with temporal queries.
ring:backend-ts
Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API development with Express/Fastify/NestJS, databases with Prisma/Drizzle, and type-safe architecture.
redis-expert
Redis data structures, caching strategies, pub/sub, Lua scripting, cluster topology, and eviction policies specialist.
cqrs-expert
CQRS pattern specialist for command/query separation architectures.
schema-validator
Schema validation specialist for APIs, databases, and runtime data.