Sql
This SQL skill allows you to generate and execute SQL queries from natural language, simplifying database interaction and data retrieval.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add thechandanbhagat-sql npx -- -y @trustedskills/thechandanbhagat-sql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"thechandanbhagat-sql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/thechandanbhagat-sql"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents 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 the desired outcome.
When to use it
- Data Extraction: Retrieve specific information from a relational database (e.g., "Get me all customers who placed an order in the last month").
- Report Generation: Create simple reports by querying and aggregating data (e.g., "Calculate the total sales for each product category").
- Database Updates: Modify existing records or add new ones based on instructions (e.g., "Update the shipping address for customer ID 123").
- Data Analysis: Perform basic analysis tasks, like finding averages or maximum values within a dataset.
Key capabilities
- SQL query execution
- Natural language to SQL translation
- Data retrieval
- Data modification (insert, update, delete)
Example prompts
- "Write a query to find all products with a price greater than $50."
- "Get the names of all employees in the 'Sales' department."
- “Insert a new customer record with name ‘John Doe’ and email ‘[email protected]’.”
Tips & gotchas
- Requires access to a database and appropriate credentials for the AI agent.
- The accuracy of natural language translation depends on the complexity of the query.
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.