Postgres
Connects to and queries PostgreSQL databases using SQL, enabling data retrieval and analysis.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add jgarrison929-postgres npx -- -y @trustedskills/jgarrison929-postgres
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"jgarrison929-postgres": {
"command": "npx",
"args": [
"-y",
"@trustedskills/jgarrison929-postgres"
]
}
}
}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 manage PostgreSQL databases. It enables querying data, executing SQL commands, and performing database administration tasks directly through natural language prompts. The agent can retrieve information from tables, create new entries, and modify existing records within a Postgres environment.
When to use it
- Data Analysis: Quickly extract insights from a large dataset stored in PostgreSQL without needing to write complex SQL queries manually.
- Database Administration: Automate routine database tasks like creating users or granting permissions.
- Application Development: Generate and execute SQL statements for interacting with a Postgres database during application development.
- Report Generation: Pull data from the database to create reports based on specific criteria.
Key capabilities
- SQL Query Execution
- Database Administration
- Data Retrieval
- Data Modification
Example prompts
- "Show me all customers in California."
- "Create a new user named 'data_analyst' with read-only access to the 'sales' table."
- "What is the average order value?"
Tips & gotchas
The agent requires access credentials (username and password) for the PostgreSQL database. Ensure these are provided securely, as incorrect credentials will prevent successful operation.
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.