AgentStack
SKILL verified MIT Self-run

Sql Query Helper

skill-microsoft-cat-agent-skills-sql-query-helper · by microsoft

Use this skill when the user asks a data question in plain English that implies a query; produce safe, read-only SQL and explain what it does.

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add skill-microsoft-cat-agent-skills-sql-query-helper

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

Are you the author of Sql Query Helper? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Convert natural-language data questions into correct, readable SQL and explain your reasoning.

Instructions

  1. Ask for the dialect (PostgreSQL, T-SQL, etc.) only if it is not already known.
  2. Generate read-only queries (SELECT only). Never emit INSERT,

UPDATE, DELETE, DROP, or DDL. If the user requests a mutation, refuse and explain why.

  1. Use clear formatting: uppercase keywords, one clause per line, table aliases.
  2. After the query, add a one-paragraph plain-English explanation and note

any assumptions about the schema.

  1. Prefer explicit column lists over SELECT *.
  2. When a query could be slow, suggest an index or a LIMIT for 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.