Postgres
Connects to and queries Sundial Organization's PostgreSQL databases for 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 sundial-org-postgres npx -- -y @trustedskills/sundial-org-postgres
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sundial-org-postgres": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sundial-org-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 PostgreSQL databases. It enables querying data, executing SQL commands, and managing database connections directly within an agent workflow. The skill provides a standardized interface for accessing and manipulating relational data stored in PostgreSQL.
When to use it
- Data Analysis: An agent needs to extract specific information from a customer database to generate reports or identify trends.
- Inventory Management: An agent must update product quantities in an inventory system based on sales data.
- Order Processing: Automating order fulfillment by retrieving customer details and updating order statuses within a PostgreSQL database.
- Content Retrieval: An agent needs to fetch articles from a content management system (CMS) that stores its data in a PostgreSQL database.
Key capabilities
- Connects to PostgreSQL databases.
- Executes SQL queries.
- Retrieves and manipulates data within tables.
- Supports standard SQL commands.
Example prompts
- "Retrieve all customer names from the 'customers' table."
- "Update the product quantity for item ID 123 to 50 in the 'inventory' table."
- βWhat is the average order value from the last month, based on data in the orders table?β
Tips & gotchas
- Ensure your AI agent has the necessary database credentials (hostname, username, password) configured.
- Be mindful of SQL injection vulnerabilities when constructing queries dynamically; sanitize user inputs appropriately.
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.