alanalvestech/hitank/planetscale
Claude Code and agent skill by alanalvestech/hitank
- community
Checking that the SKILL.md file is still in the repository.
Manage PlanetScale databases, branches, deploy requests and backups via REST API
Install
npx vskill@latest install alanalvestech/hitank/planetscaleSKILL.md
/planetscale
Connect to the PlanetScale REST API to manage databases, branches, deploy requests, backups and more. Pure Ruby, zero gems — stdlib only.
Structure
Setup (check before using)
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to create a service token:
You need a PlanetScale service token. Go to your PlanetScale organization settings:1. Open Settings → Service tokens in the PlanetScale dashboard2. Click New service token3. Name it (e.g. "hitank") and grant the desired database access permissions4. Copy both the Service token ID and the Service token valuehttps://app.planetscale.comPaste the Service token ID first.
Step 2 — When the user pastes the token ID, ask for the token:
Now paste the Service token value.
Step 3 — When the user pastes the token, save both credentials:
If the script outputs an error, the credentials are invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS may contain a database name.
Step 1: List organizations
Present the organizations to the user. If there is only one, use it automatically. Otherwise ask which org to work with.
Step 2: List databases
Present the databases to the user. If $ARGUMENTS matches a database name, use that database. Otherwise ask which database to work with.
Step 3: Show database details
Present the database info and ask what the user wants to do.
Step 4: Actions
List branches:
Get branch details:
Create a branch (requires user confirmation):
Ask: "Do you want to create a new branch named BRANCH_NAME from PARENT_BRANCH?" Only execute after a "yes".
List deploy requests:
Create a deploy request (requires user confirmation):
Show current branches first, then ask: "Do you want to create a deploy request from BRANCH to DEPLOY_TO?" Only execute after a "yes".
List backups:
Notes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via service token:
Authorization: {service_token_id}:{service_token} - Config files:
~/.config/planetscale/token_idand~/.config/planetscale/token(outside the repo, never commit) - Creating branches and deploy requests require explicit user confirmation
- Base URL:
https://api.planetscale.com/v1
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/planetscale/SKILL.md
Popularity
- Repository stars
- 33
- Repository forks
- 1
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alanalvestech/hitank/planetscale)