Postgresql Psql
Executes PostgreSQL queries via psql for data retrieval, modification, and management within a defined MIB context.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add aia-11-hn-mib-postgresql-psql npx -- -y @trustedskills/aia-11-hn-mib-postgresql-psql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"aia-11-hn-mib-postgresql-psql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/aia-11-hn-mib-postgresql-psql"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to interact with PostgreSQL databases using the psql command-line tool. It can execute SQL queries, retrieve data, and manage database objects based on user instructions. The agent can also interpret query results and provide summaries or insights derived from the data.
When to use it
- Data Analysis: When you need an AI assistant to analyze data stored in a PostgreSQL database and present findings.
- Database Administration: For automating simple database tasks, like checking table sizes or running basic maintenance scripts.
- Report Generation: To generate reports based on queries against a PostgreSQL database.
- Troubleshooting: To diagnose issues by executing diagnostic SQL queries and interpreting the results.
Key capabilities
- SQL query execution
- Data retrieval from PostgreSQL databases
- Database object management (limited)
- Result interpretation and summarization
Example prompts
- "Run a SELECT statement to find all customers in California."
- "What is the average order value for the last quarter?"
- "Show me the top 10 products by sales volume."
Tips & gotchas
- Requires access to a PostgreSQL database and appropriate credentials.
- The agent's ability to manage database objects is limited to basic operations.
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.