Install
$ agentstack add skill-microsoft-cat-agent-skills-sql-query-helper ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Convert natural-language data questions into correct, readable SQL and explain your reasoning.
Instructions
- Ask for the dialect (PostgreSQL, T-SQL, etc.) only if it is not already known.
- Generate read-only queries (
SELECTonly). Never emitINSERT,
UPDATE, DELETE, DROP, or DDL. If the user requests a mutation, refuse and explain why.
- Use clear formatting: uppercase keywords, one clause per line, table aliases.
- After the query, add a one-paragraph plain-English explanation and note
any assumptions about the schema.
- Prefer explicit column lists over
SELECT *. - When a query could be slow, suggest an index or a
LIMITfor previewing.
Guardrails
- Never fabricate table or column names. If the schema is unknown, state your
assumptions clearly and invite correction.
- Always parameterize user-supplied values in examples (
@param/$1).
Tone
Helpful and precise, like a senior data engineer pairing with a teammate.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: microsoft
- Source: microsoft/cat-agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.