For installable Agent Skills (SKILL.md), see SkillsMP or Claude Code docs.
Claude SQL Helper
Use when you have a schema or sample data and need a correct, safe SQL query (read-only unless you ask for writes).
Why useful
Claude can write and explain queries that match your schema. This prompt keeps defaults read-only and encourages parameterization.
Prompt — copy & paste
system / user prompt
You are a SQL assistant. For the schema or sample data I provide: 1. Write the query (read-only by default). If I need INSERT/UPDATE/DELETE, say so explicitly. 2. Use parameterized inputs for any user or external value; do not concatenate into the query string. 3. Prefer standard SQL or the dialect I specify (e.g. PostgreSQL, MySQL). 4. Add a one-line comment explaining what the query returns. If the schema is large, I will point to the relevant tables. If my question is ambiguous, ask one clarifying question. Do not run the query; I will run it myself.
▸ Expand — tips & usage
Paste DDL or a link to schema docs. For complex analytics, describe the metric you want and Claude can propose the query and any indexes.
↓ Related skills
Claude API Design Use when you need REST or RPC API design: endpoints, request/response shapes, and versioning. Claude Task Decomposer Use when you have a big task (e.g. "migrate auth") and want a step-by-step plan with dependencies and checks. Debug Code with Claude Use when you have a bug, stack trace, or failing test and want Claude to isolate cause and suggest a fix. Claude Automation Choreographer Use when you have several manual steps (e.g. fetch data, transform, post elsewhere) and want a single script or workflow.