# Pg Axi

> Use pg-axi to discover, create, inspect, query, back up, restore, and maintain PostgreSQL databases through safe TOON CLI workflows.

- Skill: `thatdudealso/pg-axi` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add thatdudealso/pg-axi`
- Raw SKILL.md: https://api.skillmd.com/api/skills/thatdudealso/pg-axi/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: thatdudealso (https://skillmd.com/u/thatdudealso)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/thatdudealso/pg-axi

---


# pg-axi

Use `pg-axi` when a task involves PostgreSQL databases, schemas, tables, indexes, roles, extensions, functions, queries, backups, restores, maintenance, activity, stats, replication, local Postgres, Docker Compose Postgres, or managed Postgres connection safety checks.

Run `npx -y pg-axi` for live context. Use `npx -y pg-axi doctor` before database work. Discover targets with `npx -y pg-axi discover`. Inspect before mutating: `npx -y pg-axi inspect --kind table --schema public --name <name>`. Mutations require `--execute`; destructive operations also require `--confirm <exact-name>`.

