Postgres

🌐Community
by olino3 · vlatest · Repository

Connects to and queries PostgreSQL databases using SQL, retrieving data and executing commands via olino3.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add olino3-postgres npx -- -y @trustedskills/olino3-postgres
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "olino3-postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/olino3-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 query PostgreSQL databases. It can execute SQL queries, retrieve data based on specified criteria, and potentially perform other database operations like creating tables or updating records (depending on the agent's permissions). The skill provides a structured way for agents to access and manipulate information stored in PostgreSQL.

When to use it

  • Data Analysis: An AI agent needs to analyze sales figures from a PostgreSQL database to identify trends.
  • Report Generation: Automatically generate reports based on data residing within a PostgreSQL database, such as monthly performance summaries.
  • Inventory Management: Query a product inventory stored in PostgreSQL to check stock levels or find items matching specific criteria.
  • Customer Support: Retrieve customer information from a PostgreSQL database to answer support inquiries and personalize interactions.

Key capabilities

  • SQL query execution
  • Data retrieval based on specified conditions
  • Database interaction (potentially including table creation/modification, depending on permissions)

Example prompts

  • "Get me the total sales for each product category from the 'sales' table."
  • "Find all customers in California with a purchase history greater than $100."
  • "What is the current stock level of item ID 12345?"

Tips & gotchas

The agent will require appropriate database credentials (username, password, host) to connect and interact with the PostgreSQL instance. Ensure these credentials are securely managed and that the agent has only the necessary permissions for the tasks it needs to perform.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
olino3
Installs
2

🌐 Community

Passed automated security scans.