Sql
This SQL skill allows you to generate and execute SQL queries for interacting with databases, streamlining data retrieval and manipulation tasks.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add miles990-sql npx -- -y @trustedskills/miles990-sql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"miles990-sql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/miles990-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 interact with and query relational databases using SQL. It can execute queries, retrieve data, and potentially modify database contents based on user instructions. The agent understands natural language requests related to database operations and translates them into appropriate SQL statements.
When to use it
- Data Extraction: Retrieve specific information from a database for reporting or analysis (e.g., "Get me the top 10 customers by purchase amount").
- Database Exploration: Allow users to explore the structure and contents of a database without needing direct SQL knowledge (e.g., "Show me all tables in this database").
- Data Modification (with caution): Update or insert data into a database based on user requests, requiring careful validation and security considerations (e.g., "Add a new product to the products table with these details.").
- Report Generation: Create simple reports by querying and formatting data from a database.
Key capabilities
- SQL query execution
- Database schema understanding
- Natural language processing of SQL requests
- Data retrieval
- Potential for data modification (depending on configuration)
Example prompts
- "Show me all customers in the 'customers' table."
- "What is the average order value?"
- "Create a report showing sales by region."
Tips & gotchas
- The agent requires access to a database and appropriate credentials. Ensure proper security measures are in place before enabling data modification capabilities.
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.