Database Query And Export
Helps with database, querying as part of building frontend UIs and user experiences workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add database-query-and-export npx -- -y @trustedskills/database-query-and-export
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"database-query-and-export": {
"command": "npx",
"args": [
"-y",
"@trustedskills/database-query-and-export"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to query databases and export data in various formats. It can retrieve specific information based on provided criteria, filter results, and then output that data as CSV or JSON files. This facilitates easy analysis and integration with other systems.
When to use it
- Data Reporting: Generate regular reports from a database by specifying the desired fields and time range.
- Data Migration: Export data from one database format to another for migration purposes.
- Data Analysis Preparation: Extract relevant data subsets for further analysis in spreadsheet software or other tools.
- Troubleshooting: Retrieve specific records based on error codes or user IDs to diagnose issues.
Key capabilities
- Database querying
- CSV export
- JSON export
- Filtering of query results
Example prompts
- "Export all customer orders from the last month as a CSV file."
- "Give me a JSON list of users with active subscriptions."
- "Query the database for products with a price greater than $50 and output them in CSV format."
Tips & gotchas
- Requires access credentials to the target database.
- The skill's effectiveness depends on well-formed SQL queries; complex queries may require refinement.
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.