Postgresql
Connects to and queries PostgreSQL databases using SQL, enabling data retrieval and analysis for stuartf303's AI agent.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add stuartf303-postgresql npx -- -y @trustedskills/stuartf303-postgresql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"stuartf303-postgresql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/stuartf303-postgresql"
]
}
}
}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 query PostgreSQL databases. It can execute SQL queries, retrieve data, and perform basic database management tasks. The agent can be used for data analysis, report generation, or automating database-related workflows.
When to use it
- Data Extraction: Retrieve specific information from a PostgreSQL database based on user requests (e.g., "Get me all customers in California").
- Report Generation: Generate reports by querying and aggregating data stored within the database.
- Database Administration: Perform simple administrative tasks like checking table structures or verifying data integrity.
- Automated Workflows: Integrate with other skills to automate processes that involve PostgreSQL databases, such as updating records based on external events.
Key capabilities
- SQL Query Execution
- Data Retrieval
- Basic Database Management
Example prompts
- "Run the query 'SELECT * FROM customers WHERE state = 'CA''."
- "What is the average order value from the orders table?"
- "Describe the structure of the products table."
Tips & gotchas
- Requires access to a PostgreSQL database and appropriate credentials.
- The skill's capabilities are limited to SQL queries and basic management; complex database operations may require more specialized tools.
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.