Database Admin
Automates SQL queries, schema modifications, backups, and performance tuning for various database systems.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add database-admin npx -- -y @trustedskills/database-admin
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"database-admin": {
"command": "npx",
"args": [
"-y",
"@trustedskills/database-admin"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
database-admin
What it does
This skill enables AI agents to perform administrative tasks on databases, including managing connections, executing queries, and handling schema operations. It serves as a bridge between natural language instructions and low-level database management protocols.
When to use it
- Automating routine maintenance tasks like vacuuming tables or updating statistics.
- Generating and executing complex SQL queries based on high-level business requirements.
- Managing user permissions and roles within the database environment.
- Monitoring database health and retrieving performance metrics automatically.
Key capabilities
- Database connection management
- Query execution and result retrieval
- Schema modification support
- Administrative command handling
Example prompts
- "Run a vacuum analyze on the 'sales' table to optimize performance."
- "Create a new user named 'report_bot' with read-only access to the inventory schema."
- "Fetch the total revenue for Q3 from the transactions table and format it as a summary."
Tips & gotchas
Ensure your AI agent has the necessary credentials and permissions before attempting administrative actions, as incorrect commands can lead to data loss. Always review generated SQL scripts in a sandbox environment before executing them against production databases.
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.