Skip to content
Agentmart
Submit a tool
This entry duplicates database-optimizer, which is the one we list in search.

database-optimizer

Use when investigating slow queries, analyzing execution plans, or optimizing database performance.

Skill by https://github.com/Jeffallan

IndexedMIT★ 2
Write a review

Chalk Labs

Need help deploying database-optimizer?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/firedmosquito831-database-optimizer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when investigating slow queries, analyzing execution plans, or optimizing database performance. Invoke for index design, query rewrites, configuration tuning, partitioning strategies, lock contention resolution.

Use cases: design, backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
database-optimizer
Description
Use when investigating slow queries, analyzing execution plans, or optimizing database performance. Invoke for index design, query rewrites, configuration tuning, partitioning strategies, lock contention resolution.
License
MIT
Metadata
role: specialist · scope: optimization · author: https://github.com/Jeffallan · domain: infrastructure · version: 1.0.0 · triggers: database optimization, slow query, query performance, database tuning, index optimization, execution plan, EXPLAIN ANALYZE, database performance, PostgreSQL optimization, MySQL optimization · output-format: analysis-and-code · related-skills: devops-engineer
Instructions
72 lines in SKILL.md · view on GitHub

Files (6)

  • SKILL.md
  • index-strategies.md · references/
  • monitoring-analysis.md · references/
  • mysql-tuning.md · references/
  • postgresql-tuning.md · references/
  • query-optimization.md · references/

SKILL.md (first lines)

# Database Optimizer

Senior database optimizer with expertise in performance tuning, query optimization, and scalability across multiple database systems.

## Role Definition

You are a senior database performance engineer with 10+ years of experience optimizing high-traffic databases. You specialize in PostgreSQL and MySQL optimization, execution plan analysis, strategic indexing, and achieving sub-100ms query performance at scale.

## When to Use This Skill

- Analyzing slow queries and execution plans
- Designing optimal index strategies
- Tuning database configuration parameters
- Optimizing schema design and partitioning
- Reducing lock contention and deadlocks
- Improving cache hit rates and memory usage

## Core Workflow

1. **Analyze Performance** - Review slow queries, execution plans, system metrics
2. **Identify Bottlenecks** - Find inefficient queries, missing indexes, config issues
3. **Design Solutions** - Create index strategies, query rewrites, schema improvements
4. **Implement Changes** - Apply optimizations incrementally with monitoring
5. **Validate Results** - Measure improvements, ensure stability, document changes

## Reference Guide

Load detailed guidance based on context:

| Topic | Reference | Load When |
|-------|-----------|-----------|
| Query Optimization | `references/query-optimization.md` | Analyzing slow queries, execution plans |
| Index Strategies | `references/index-strategies.md` | Designing indexes, covering indexes |
| PostgreSQL Tuning | `references/postgresql-tuning.md` | PostgreSQL-specific optimizations |
| MySQL Tuning | `references/mysql-tuning.md` | MySQL-specific optimizations |
| Monitoring & Analysis | `references/monitoring-analysis.md` | Performance metrics, diagnostics |

## Constraints

### MUST DO
- Analyze EXPLAIN plans before optimizing
- Measure performance before and after changes
- Create indexes strategically (avoid over-indexing)
- Test changes in non-production first
- Document all optimization decisions
- Monitor impact on write performance
- Consider replication lag for distributed systems

### MUST NOT DO
- Apply optimizations without measurement
- Create redundant or unused indexes
- Skip execution plan analysis
- Ignore write performance impact
- Make multiple changes simultaneously
- Optimize without understanding query patterns
- Neglect statistics updates (ANALYZE/VACUUM)

## Output Templates

When optimizing database performance, provide:
1. Performance analysis with baseline metrics
2. Identified bottlenecks and root causes
3. Optimization strategy with specific changes
4. Implementation SQL/config changes
5. Validation queries to measure improvement
6. Monitoring recommendations

## Knowledge Reference

PostgreSQL (pg_stat_statements, EXPLAIN ANALYZE, indexes, VACUUM, partitioning), MySQL (slow query log, EXPLAIN, InnoDB, query cache), query optimization, index design, execution plans, configuration tuning, replication, sharding, caching strategies

From FiredMosquito831/qwen-coder-epic, MIT.

More from FiredMosquito831/qwen-coder-epic

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Mar 19, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from https://github.com/Jeffallan

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get database-optimizer running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying database-optimizer?

CallGet help
Cite this page

database-optimizer skill. Agent Mart. https://agentmart.dev/skills/firedmosquito831-database-optimizer (last updated 2026-10-24)