planetscale
Skill by sickn33
Operate PlanetScale MySQL-compatible databases with branching, deploy requests for schema changes, and connection setup. It is for developers who manage MySQL schemas and rollouts on PlanetScale. The source is a docs-only skill.
Install planetscale
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/planetscale ~/.claude/skills/planetscaleRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/planetscale ~/.gemini/antigravity-cli/skills/planetscaleAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill documents how to run MySQL-compatible databases on PlanetScale, which is built on Vitess. It covers installing and authenticating the pscale CLI, creating and listing databases, and creating branches that work like Git branches for schema changes. It also shows how to apply SQL on a branch, open a deploy request with a diff, deploy it to main, and close or delete branches.
The guide includes connection credentials, local proxying with pscale connect, a Prisma schema example, a Docker MySQL 8 setup for local work, query inspection commands, and a troubleshooting table. It is aimed at developers and teams who want zero-downtime schema workflows and Git-style review of database changes. The source is docs-only, and its helper scripts and templates are not bundled.
Written from the project's SKILL.md and checked against it.
What it can do
- Database managementCreate, list, show and delete PlanetScale databases with the pscale CLI.
- Branching workflowCreate development branches from main and open a shell to apply schema changes.
- Deploy requestsCreate, diff, deploy or close deploy requests that merge schema changes into production.
- Connection credentialsCreate passwords for a branch and proxy a branch to localhost with pscale connect.
- Prisma integrationConfigure a Prisma MySQL datasource and push schema changes to a PlanetScale branch.
- Query inspectionCheck running queries, table sizes, index usage and query plans with SQL commands.
What you need
- A PlanetScale account
- The pscale CLI installed locally
- Node.js 18+ for Prisma or other ORM integrations
- Docker, optional, for the local MySQL 8 setup
Try asking
- Create a PlanetScale branch called add-users-table for my-app
- Open a deploy request from add-users-table to main and show its diff
- Write a CREATE TABLE statement for orders with a user_id index
Good to know
- Docs-only import; upstream scripts and templates are not bundled.
- Risk is marked critical, and some commands such as database delete are destructive.
- Foreign-key constraints are opt-in and only on eligible unsharded databases.
- The source notes the Hobby free plan was retired in 2024 and asks users to check current pricing.
Security check
C- Asks for administrator rights (sudo)In
skills/planetscale/SKILL.md:sudo
Checked automatically: skills/planetscale/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to planetscale
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
planetscale: common questions
What is PlanetScale branching?
The source says PlanetScale branches work like Git branches for a database schema, with main as the production branch by default.
How are schema changes deployed on PlanetScale?
Changes are reviewed through deploy requests, which show a diff, run linting, and merge non-blocking into production.
Does PlanetScale support foreign keys?
The source says foreign-key constraints are opt-in on eligible unsharded Vitess databases, and should be checked in the database setting before use.
How do I install planetscale?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is planetscale free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is planetscale safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to planetscale?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
