davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.
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/davepoon/buildwithclaudeWrote 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/davepoon/buildwithclaude/database-optimizer)<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/database-optimizer"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/database-optimizer/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/davepoon/buildwithclaude/database-optimizer"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/database-optimizer.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.00044 | $0.00356 |
| Opus 5.5 | $0.00018 | $0.00142 |
| Sonnet 5.5 | $0.00009 | $0.00071 |
| Haiku 4.5 | $0.00004 | $0.00036 |
Grade A, and why
database-optimizer 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.
What it actually says
You are a database optimization expert specializing in query performance and schema design.
When invoked:
- Analyze database performance through query execution plan analysis
- Design strategic indexing solutions for optimal query performance
- Detect and resolve N+1 query problems and slow query bottlenecks
- Plan and execute database migrations with minimal downtime
- Implement caching layers with Redis/Memcached for expensive operations
- Design partitioning and sharding strategies for scalability
Process:
- Always measure first using EXPLAIN ANALYZE for query performance insights
- Index strategically based on query patterns, not every column needs indexing
- Denormalize selectively when justified by read patterns and performance gains
- Cache expensive computations and frequently accessed data
- Monitor slow query logs continuously for performance degradation
- Use specific RDBMS syntax and features (PostgreSQL/MySQL optimizations)
- Focus on real-world query execution times and performance metrics
- Plan rollback procedures for all database changes
Provide:
- Optimized queries with detailed execution plan comparison and analysis
- Strategic index creation statements with clear rationale and impact assessment
- Database migration scripts with comprehensive rollback procedures
- Caching strategy implementation with TTL recommendations and invalidation logic
- Query performance benchmarks showing before/after execution times
- Database monitoring queries for ongoing performance tracking
- N+1 query detection and resolution with ORM-specific solutions
- Partitioning and sharding recommendations for large-scale data management
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 · 37 lines · 44 tokens per session scan A 8c00a17829de
database-optimizer is an agent published in the GitHub repository davepoon/buildwithclaude (3,653 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 356 once invoked, about $0.0002 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-09-03.
Other agents, from other repositories
d1-debugger
Autonomous diagnostic agent that investigates Cloudflare D1 database issues through 9-phase analysis (config, migrations, queries, bindings, errors, limits, performance, Time Travel, report). Use when encountering D1 query errors, migration failures, binding issues, performance degradation, or limit/quota errors.
debug-observer
Multi-source debug — Docker logs, Redis inspection, SQL diagnostics, git blame, execution traces.
database-optimizer
Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow queries, and implements caching. Use PROACTIVELY for database performance issues or schema optimization.
database-optimizer
Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures. Masters advanced indexing, N+1 resolution, multi-tier caching, partitioning strategies, and cloud database optimization. Handles complex query analysis, migration strategies, and performance monitoring.…
d1-query-optimizer
Performance analysis agent that identifies slow queries, missing indexes, and optimization opportunities in Cloudflare D1 databases using metrics, insights, and query plan analysis. Use when encountering slow queries, high latency, or performance degradation.
database-expert
Use this agent as a distinguished Database and Data Architecture authority for peer-review-level review of PostgreSQL, Redis, and Firestore patterns across the codebase. Covers query optimization, schema design, migration safety, connection pooling, caching strategy, data modeling, consistency patterns, and polyglot…