0
0
# Install this skill:
npx skills add jgarrison929/openclaw-skills --skill "postgres"

Install specific skill from multi-skill repository

# Description

PostgreSQL database management. Run queries, manage schemas, and monitor performance.

# SKILL.md


name: postgres
description: PostgreSQL database management. Run queries, manage schemas, and monitor performance.
metadata: {"clawdbot":{"emoji":"🐘","always":true,"requires":{"bins":["curl","jq"]}}}


PostgreSQL 🐘

PostgreSQL database management.

Setup

export DATABASE_URL="postgresql://user:pass@localhost:5432/dbname"

Features

  • SQL query execution
  • Schema management
  • Index optimization
  • Backup and restore
  • Performance monitoring
  • Extensions management

Usage Examples

"Show all tables"
"Run query: SELECT * FROM users"
"Create index on email column"
"Show slow queries"

Commands

psql "$DATABASE_URL" -c "SELECT * FROM users LIMIT 10"

Safety Rules

  1. ALWAYS confirm before destructive operations
  2. BACKUP before schema changes

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.