pscale-inspect
Installation
SKILL.md
pscale inspect
Run bounded, read-only diagnostic queries against a PlanetScale database branch using ephemeral credentials. Checks adapt to MySQL/Vitess, PostgreSQL, or Neki and complement the server-side production-traffic analysis in pscale insights.
Start with a combined report
# Machine-readable report of every applicable check
pscale inspect all <database> <branch> --org <org> --format json
# PostgreSQL: target the application database instead of the default "postgres"
pscale inspect all <database> <branch> --org <org> \
--dbname <postgres-database> --format json
# Vitess: target one exact shard; no command fans out across every shard
pscale inspect all <database> <branch> --org <org> \
--keyspace '<keyspace>/<shard>' --format json