Database optimizer
Optimizes database queries and improves performance across PostgreSQL and MySQL systems. Use when investigating slow queries, analyzing execution plans, or optimizing database performance. Invoke f…
Database optimizer
Optimizes database queries and improves performance across PostgreSQL and MySQL systems. Use when investigating slow queries, analyzing execution plans, or optimizing database performance. Invoke f…
From Jeffallan/claude-skills by Jeffallan, under the MIT licence.
See ATTRIBUTION.md for the exact source and commit.
How to install
Claude Code · Claude
- Unzip into your personal skills folder (every project) …
unzip database-optimizer-1.0.0.zip -d ~/.claude/skills/
- … or into one project, committed with it.
unzip database-optimizer-1.0.0.zip -d .claude/skills/
- Claude loads it when a task matches its description. Run it directly with /database-optimizer.
From the vendor’s docs: code.claude.com
Claude apps (claude.ai) · Claude
- Turn on code execution: skills need it.
- Open Customize › Skills, choose +, then Create skill › Upload a skill.
- Upload database-optimizer-1.0.0.zip as it is: the skill folder is already at the root of the zip.
This skill’s description is longer than the 200 characters Anthropic’s upload guide allows; the claude.ai upload may refuse it.
From the vendor’s docs: support.claude.com
Claude API · Claude
- Upload the zip as a custom skill (POST /v1/skills), then name it in a request’s container.skills.
- Skills run in the code execution tool, with no network access and no package installs.
From the vendor’s docs: platform.claude.com
GLM / Z.ai, through Claude Code · GLM / Z.ai
- Point Claude Code at Z.ai’s Anthropic-compatible endpoint, in the env block of ~/.claude/settings.json:
"env": { "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic", "ANTHROPIC_AUTH_TOKEN": "<your Z.ai API key>" } - Install the skill exactly as for Claude Code:
unzip database-optimizer-1.0.0.zip -d ~/.claude/skills/
Claude Code loads skills on your machine, so the skill is offered to GLM the same way. Z.ai does not document skills itself, and how well a GLM model follows one is untested here.
From the vendor’s docs: docs.z.ai, code.claude.com
Versions
- 1.0.0 · 2026-10-29 · 20.9 KB
Imported from Jeffallan/claude-skills at 143243cb2da0.
sha256 f513c16d3a947ed50fe77efc365d2c7e0af3131e87f4f789b25afe747097d90e