dbxstudio/dbx-studio/sql-queries
Claude Code and agent skill by dbxstudio/dbx-studio
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Expert SQL query generation for DBX Studio. Use when writing, optimizing, or debugging SQL queries against user database connections.
Install
npx vskill@latest install dbxstudio/dbx-studio/sql-queriesSKILL.md
SQL Query Expert — DBX Studio
This project supports multiple database backends via user connections. Always write dialect-appropriate SQL.
Supported Dialects
| Dialect | Provider | |
|---|---|---|
| PostgreSQL | Default / Railway | |
| Snowflake | Via MCP connector | |
| BigQuery | Via MCP connector | |
| Databricks | Via MCP connector | |
| MySQL | Via connection string | |
| SQLite | Via connection string |
Query Patterns
Safe SELECT with limit
Always add LIMIT unless the user explicitly wants all rows:
CTEs for complex queries
Aggregations
Window Functions
Tool Usage in DBX Studio AI
The AI has access to these tools — always use them rather than guessing:
| Tool | When to Use | |
|---|---|---|
read_schema | First call — understand table structure | |
get_table_data | Preview rows before writing complex queries | |
execute_query | Run SELECT queries (SELECT/WITH only) | |
describe_table | Get column details, FK relationships | |
get_table_stats | Row counts, distributions | |
generate_chart | Visualize query results |
Query Safety Rules
- Only SELECT and WITH (CTEs) are permitted via
execute_query - Always quote identifiers:
"schema"."table"."column" - Add LIMIT automatically unless the user asks for all data
- Validate table/column names exist via
read_schemaordescribe_tablefirst
Response Format
- Execute tool to get data
- Answer the user's question directly with the result
- Show SQL in ```sql blocks only if the user asks "how" or "show me the query"
- Present numbers clearly: "There are 1,247 orders this month"
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sql-queries/SKILL.md
Popularity
- Repository stars
- 83
- Repository forks
- 10
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dbxstudio/dbx-studio/sql-queries)