Database
Accesses and queries structured data within a specified database to retrieve information and generate reports.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add htlin222-database npx -- -y @trustedskills/htlin222-database
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"htlin222-database": {
"command": "npx",
"args": [
"-y",
"@trustedskills/htlin222-database"
]
}
}
}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 manage databases. It can execute SQL queries, retrieve data based on specific criteria, and potentially update or modify database entries as instructed. The agent can also be used for tasks like generating reports from database information.
When to use it
- Data Analysis: Extracting key metrics and trends from a sales database to identify top-performing products.
- Report Generation: Creating a summary report of customer orders placed within a specific timeframe.
- Database Updates: Modifying product prices or updating customer contact information in a database.
- Inventory Management: Querying an inventory database to determine stock levels and reorder points.
Key capabilities
- SQL query execution
- Data retrieval based on criteria
- Potential for data modification (update/insert)
- Report generation from database content
Example prompts
- "Retrieve all customer records from the 'customers' table where the city is 'New York'."
- "Generate a report showing total sales by product category for the last quarter."
- “Update the price of item ID 123 to $19.99 in the products table.”
Tips & gotchas
The agent’s ability to modify data may be restricted based on permissions and security configurations. Always verify the SQL queries before execution, especially when making changes to a database.
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.