# Claude Code Agent: Database Optimization > Database performance optimization and query tuning specialist. Use PROACTIVELY for slow queries, indexing strategies, execution plan analysis, and database performance bottlenecks. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npx claude-code-templates@latest --agent database/database-optimization --yes ``` Inspect before activation: ```bash npx claude-code-templates@latest --agent database/database-optimization --yes --dry-run ``` --- ## What This Agent Covers Database performance optimization and query tuning specialist. Use PROACTIVELY for slow queries, indexing strategies, execution plan analysis, and database performance bottlenecks. This TokRepo page is an original install wrapper for the upstream Claude Code agent. It records the install path, source SHA, operational profile, and verification command without republishing the full upstream prompt body. --- ## Operating Profile - Category: Database - Claude Code Templates path: `database/database-optimization` - Tools declared upstream: Read, Write, Edit, Bash - Best fit: Claude Code projects that need a focused specialist agent and reproducible install command. - Codex usage: stage and inspect generated files before activation when project-global behavior is sensitive. --- ## Verification ```bash npx claude-code-templates@latest --agent database/database-optimization --yes --dry-run ``` Expected installed file: ```text .claude/agents/database-optimization.md ``` --- ## Source & License - Source: [davila7/claude-code-templates database/database-optimization.md](https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/agents/database/database-optimization.md) - Source SHA: `2918856e9dec840792557c8b01613696dd05ac21` - Wrapper content hash is stored in TokRepo metadata. - License: MIT --- Source: https://tokrepo.com/en/workflows/claude-code-agent-database-optimization-1d1953f3 Author: TokRepo精选