postgres-adopt
Detects which database engine a gbrain brain uses (PGLite vs Postgres), provisions Postgres via Supabase, local install, or Docker with explicit consent, and safely migrates an existing PGLite brain t
What it does
Detect which gbrain engine is in use (PGLite vs Postgres), prefer Postgres for agent-harness installs, install/provision Postgres (Supabase discovery via SUPABASE_ACCESS_TOKEN, local Postgres, opt-in Docker), and move an existing PGLite brain to Postgres with its history (plan, ask, run). Detection is one engine-free command; the install ladder is one flag.
Quality judgment
The document provides a thorough, well-organized specification for the postgres-adopt skill. It clearly defines detection logic, installation ladders, migration workflows, and anti-patterns. The constraints around environment variables, explicit consent, and the migrate-then-config approach are well articulated. Minor improvements could include more explicit error handling for edge cases in the detection step, but the overall quality is high.