LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

postgres

Execute read-only SQL queries against multiple PostgreSQL databases. Use when: (1) querying PostgreSQL databases, (2) exploring database schemas/tables, (3) running SELECT queries for data analysis, (4) checking database contents. Supports multiple database connections with descriptions for intelligent auto-selection. Blocks all write operations (INSERT, UPDATE, DELETE, DROP, etc.) for safety.

16starsUpdated 1/15/2026
Data Science & MLDatabase ManagementDeveloper Tools#ai#sql#database-connection#database#postgres#sql-queries#postgresql#data-analysis#read-only#backend#data#python

Security Assessment

Safe(100/100)
Security Score100/100

About postgres

The PostgreSQL Read-Only Query Skill allows users to execute safe, read-only SQL queries against multiple PostgreSQL databases. This skill addresses the need for efficient querying and analysis without the risk of modifying data, making it ideal for data analysts, developers, and database administrators who require access to database contents while ensuring data integrity. By blocking all write operations and providing a secure environment for executing queries, this skill offers peace of mind when interacting with critical database systems.

Main features include support for multiple database connections with intelligent auto-selection based on user intent, query validation to ensure only safe operations are performed, and configurable SSL modes for secure connections. The skill also incorporates various safety features such as read-only sessions, query timeouts, and limits on the number of rows returned, ensuring optimal performance without compromising system stability. Additionally, users can explore database schemas and tables, making it easier to understand the structure and contents of the databases they are working with.

This skill is particularly useful in scenarios where users need to conduct data analysis, explore database structures, or check the current state of database contents without altering any data. Target users include data analysts, business intelligence professionals, and developers who need to interact with PostgreSQL databases in a read-only capacity, ensuring that they can obtain the necessary information while maintaining the integrity and security of the underlying data.

FAQ

How do I list the configured databases?

Run the command `python3 scripts/query.py --list`.

What version of Python is required?

The skill requires Python 3.8 or higher.

Can I perform write operations with this skill?

No, this skill is strictly for read-only operations and blocks all write actions.

What should I do if I encounter an SSL error?

You can try setting the sslmode to 'disable' in your connections.json file for local databases.

Is there a limit on the number of rows returned by a query?

Yes, the skill limits the results to a maximum of 10,000 rows per query.

All Files

7 files
plugin.json0.2 KB
View
.gitignore0.3 KB
View
SKILL.md3.7 KB
View
connections.example.json0.9 KB
View
requirements.txt0.0 KB
View
query.py9.2 KB
View
README.md1.8 KB
View

Install postgres

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

sanjay3290/ai-skills

Related Skills

research

448

secops-detection-engineering

21,346

qdrant-monitoring

259

project-architecture

3