Db Extractor
Extracts data from various database formats (SQL, CSV, etc.) quickly and accurately for analysis & reporting.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add db-extractor npx -- -y @trustedskills/db-extractor
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"db-extractor": {
"command": "npx",
"args": [
"-y",
"@trustedskills/db-extractor"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The db-extractor skill allows AI agents to extract data from database connections. It can connect to databases, execute queries, and return results in a structured format like JSON or CSV. This enables automated data retrieval and analysis directly within an agent's workflow.
When to use it
- Automated Reporting: Generate regular reports by querying a database for key metrics and formatting the output.
- Data-Driven Decision Making: Retrieve specific data points from a database based on user requests or predefined criteria.
- Populating Knowledge Bases: Automatically extract information from databases to update an agent's knowledge base.
- Inventory Management: Query inventory systems for stock levels and product details.
Key capabilities
- Database connection via URL
- Query execution
- Structured data output (JSON, CSV)
Example prompts
- "Connect to the database at
db_urland run this query:SELECT * FROM customers WHERE city = 'New York'." - "Get me a list of all products from the
productstable in JSON format." - “Run the following SQL query against the database:
SELECT order_id, customer_name FROM orders WHERE order_date > '2023-01-01' LIMIT 10.”
Tips & gotchas
- Ensure the AI agent has appropriate credentials to access the specified database.
- Be mindful of query complexity and potential performance impacts on the database server.
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.