What problem does it solve?
Agent workflows often need persistent PostgreSQL storage on demand, but provisioning databases manually is slow and risky when testing schema changes. This Skill lets agents spin up databases instantly, fork them for safe migration testing, and pass database snapshots between agents without touching production data.
Core Features & Use Cases
- On-Demand Database Lifecycle: Create, list, query, resume, and delete PostgreSQL databases through the Ghost CLI or MCP tools, with compute billed only when queries execute.
- Instant Forking for Safe Testing: Copy a full database in seconds to test migrations or schema changes, then apply validated changes to the original or discard the fork.
- Shareable Snapshots: Generate share URLs so other agents or teammates can spin up their own copy of a database, enabling databases to be passed as assets between agents.
- Use Case: An agent needs to validate a schema migration. It forks the production database, runs the ALTER TABLE on the fork, verifies the result, applies it to the original, and deletes the fork — all without risking live data.
Quick Start
Ask your agent to create a new PostgreSQL database named my-app-db using Ghost and return its connection string.