Favicon of sql-query-helper

sql-query-helper Skill

AI Agent SkillDatabasesTypeScriptOpen source

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. Published by microsoft in cat-agent-skills.

What is sql-query-helper Skill?

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. Published by microsoft in cat-agent-skills. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
15/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Database workflows
  • Data analysis
  • Database workflows use cases
  • Data analysis use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use sql-query-helper Skill

  • Use it for database workflows.
  • Use it for data analysis.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/cat-agent-skills
  • Skill file: submissions/sql-query-helper/SKILL.md

What it does

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.

Skill instructions

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. 3. Use clear formatting: uppercase keywords, one clause per line, table aliases. 4. After the query, add a one-paragraph plain-English explanation and note any assumptions about the schema. 5. Prefer explicit column lists over SELECT . 6. 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.

Explore related resources

Frequently asked questions

What is sql-query-helper?

sql-query-helper is a open-source AI agent skill with Copy skill directory. 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.

Who is sql-query-helper best for?

sql-query-helper is best for reusing agent instructions, scripts, and references, database workflows, data analysis workflows.

How do I install sql-query-helper?

Install or run sql-query-helper using Copy skill directory. Check sql-query-helper for the latest setup command.

Is sql-query-helper actively maintained?

sql-query-helper may need a closer maintenance check before production use.

Share:

Stars
3
Forks
2
Last commit
9 days ago
Repository age
2 months
License
MIT

Auto-fetched from GitHub.

Similar to sql-query-helper