Skills Explorer Add Skills

sql-queries

An agent skill by phuryn, from phuryn/pm-skills. Tags: api, cli, developer-tools, spreadsheets.

What it does

Generate SQL queries from natural language descriptions. Supports BigQuery, PostgreSQL, MySQL, and other dialects. Reads database schemas from uploaded diagrams or documentation. Use when writing SQL, building data reports, exploring databases, or translating business questions into queries.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add phuryn/pm-skills --skill sql-queries

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/phuryn/pm-skills
cp -r pm-skills/pm-data-analytics/skills/sql-queries ~/.claude/skills/sql-queries

Safety box score

Grade A, minimal risk: 0 of 100 risk points, rated 2026-10-19. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill is a documentation-only SQL generator: it reads user-provided schema descriptions and produces SQL for common dialects. It does not include executable code, network fetches, or system changes, but the generated SQL itself could be broad or destructive if run against a live database.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution0 (none)No shell commands, scripts, or code-evaluation machinery are present; the file only describes generating SQL text.
Network access0 (none)There is no downloading, uploading, or remote host interaction described beyond reading user-provided schema content.
Filesystem reach0 (none)The skill only says it will read uploaded schema files or documentation; it does not write, delete, or access paths outside the project.
Secrets & credentials0 (none)It does not request credentials, tokens, passwords, .env files, or other secret stores.
Privilege & persistence0 (none)No sudo, global installs, services, shell/profile edits, or OS-level settings are mentioned.
Instruction hijack surface0 (none)There is no instruction to ignore safeguards, follow remote instructions, or hide anything from the user.
Irreversible actions0 (none)It generates SQL and explanations only; it does not send, deploy, publish, or delete anything on its own.
Transparency0 (none)The repo content provided is plain markdown with no binaries, embedded payloads, or decoded-at-runtime content.

Before installing

Rated 2026-10-19 by an automated review of 1 file from the skill's repository.

Source

Repository
phuryn/pm-skills (all skills from this repository)
Path
pm-data-analytics/skills/sql-queries/SKILL.md
Branch
main
Updated
2026-09-19