swapnildahiphale/opensre/database-postgresql
Claude Code and agent skill by swapnildahiphale/opensre
- community
Checking that the SKILL.md file is still in the repository.
PostgreSQL database inspection and queries. Use when investigating table schemas, running queries, checking locks, replication status, or long-running queries.
Install
npx vskill@latest install swapnildahiphale/opensre/database-postgresqlSKILL.md
The same SKILL.md was published earlier as swapnildahiphale/opensre/database-postgresql.
PostgreSQL Database
Authentication
IMPORTANT: Credentials are injected automatically by a proxy layer. Do NOT check for POSTGRES_PASSWORD in environment variables - it won't be visible to you. Just run the scripts directly; authentication is handled transparently.
Configuration environment variables you CAN check (non-secret):
POSTGRES_HOST- Database hostPOSTGRES_PORT- Database port (default: 5432)POSTGRES_DATABASE- Database namePOSTGRES_SCHEMA- Default schema (default: public)
MANDATORY: Schema-First Investigation
Understand the schema before running queries.
Available Scripts
All scripts are in .claude/skills/database-postgresql/scripts/
list_tables.py - List Tables (START HERE)
describe_table.py - Table Schema Details
execute_query.py - Run SQL Queries
list_indexes.py - Index Information
get_table_sizes.py - Table Size Analysis
get_locks.py - Current Locks & Blocking Queries
get_replication_status.py - Replication Health
get_long_running_queries.py - Long-Running Queries
Investigation Workflow
Lock Contention
Replication Lag
Table Growth Investigation
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsre-agent/.claude/skills/database-postgresql/SKILL.md
Popularity
- Repository stars
- 70
- Repository forks
- 18
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/swapnildahiphale/opensre/database-postgresql)