Sql
This SQL skill generates SQL queries from natural language prompts, simplifying database interaction and boosting developer efficiency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add sql npx -- -y @trustedskills/sql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sql"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to execute SQL queries against a database. It can retrieve, insert, update, and delete data based on provided instructions. The agent can also generate SQL statements from natural language descriptions of desired outcomes.
When to use it
- Data Extraction: Retrieve specific information from a relational database for reporting or analysis.
- Database Updates: Modify existing records in a database based on new information or requirements.
- Report Generation: Create custom reports by querying and aggregating data stored in tables.
- Automated Tasks: Automate repetitive tasks that involve interacting with a database, such as updating inventory levels.
Key capabilities
- SQL query execution
- Data retrieval
- Data insertion
- Data update
- Data deletion
- Generate SQL from natural language
Example prompts
- "Get me the names of all customers who placed an order in the last month."
- "Update the price of product ID 123 to $19.99."
- "Create a new table called 'employees' with columns for name, department, and salary."
Tips & gotchas
- Requires access to a database and appropriate credentials.
- The agent’s SQL generation capabilities depend on the clarity of the natural language prompt.
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.