Overview
sql-queries is an open-source backend skill for Claude Code and compatible agents, published by phuryn. Its author describes it as: “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 re…”. The project has 25k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add phuryn/pm-skills`.
What sql-queries does
Transform natural language requirements into optimized SQL queries across multiple database platforms. This skill helps product managers, analysts, and engineers generate accurate queries without manual syntax work.
Best for
What’s inside
The SKILL.md for sql-queries is organised into these sections:
- Purpose
- How It Works
- Step 1: Understand Your Database Schema
- Step 2: Process Your Request
- Step 3: Generate Optimized Query
- Step 4: Explain and Test
- Usage Examples
- Key Capabilities
- Tips for Best Results
- Output Format
- Further Reading
Installation
Add sql-queries to your agent with:
/plugin marketplace add phuryn/pm-skills Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — ships a claude code plugin marketplace
License
sql-queries is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in phuryn/pm-skills, an established project with 25,392 GitHub stars
- Works with Claude Code
- Actively maintained — repository updated in the last 90 days
Author
Topics
Frequently asked questions
- What does sql-queries do?
- 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.
- How do I install sql-queries?
- Run /plugin marketplace add phuryn/pm-skills in your agent, then reload your skills. Review the source at https://github.com/phuryn/pm-skills before installing.
- Is sql-queries free to use?
- Yes. sql-queries is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does sql-queries work with?
- sql-queries lists Claude Code — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does sql-queries come from?
- sql-queries ships inside phuryn/pm-skills, a repository that contains 41 catalogued skills in total. The repository's 25,392 GitHub stars apply to that whole collection, not to this skill on its own.