Sql Translation
Provides translation guidance and assistance for working with databases and data persistence.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add sql-translation npx -- -y @trustedskills/sql-translation
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sql-translation": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sql-translation"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The sql-translation skill translates natural language questions into SQL queries. It can convert user requests for data retrieval, filtering, or aggregation into executable SQL statements. This allows AI agents to interact with databases without requiring direct SQL expertise.
When to use it
- Data Analysis: When you need an agent to extract specific information from a database based on a natural language request (e.g., "What were the sales for Q3?").
- Report Generation: Automate report creation by having the agent translate requests like "Show me the top 10 customers" into SQL and execute it against your data warehouse.
- Interactive Data Exploration: Enable users to explore database content using plain language, rather than requiring them to learn SQL syntax.
- Data Validation: Translate complex validation rules described in natural language into SQL queries for automated checks.
Key capabilities
- Natural Language to SQL conversion
- Database interaction via generated SQL queries
Example prompts
- "Get me the names of all customers who placed an order last month."
- "Show me the average price of products in the 'electronics' category."
- "How many employees are older than 30?"
Tips & gotchas
The quality of SQL translation depends heavily on the clarity and specificity of the natural language prompt. Providing context about the database schema can improve accuracy.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.