Official agent skill

Planetscale Readonly Inventory

by planetscale in planetscale/skills

Collect read-only evidence about PlanetScale org, database, branches, webhooks, backups, roles, Insights, recommendations, and traffic configuration.

OfficialMITAuto-check passedBackend & APIs

Install Planetscale Readonly Inventory

skills CLI
$ npx skills add planetscale/skills --skill planetscale-readonly-inventory -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install planetscale/skills planetscale-readonly-inventory --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/planetscale/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/planetscale-readonly-inventory .claude/skills/planetscale-readonly-inventory && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
planetscale-readonly-inventory
GitHub stars
133
Token cost
~2.1k tokens
SKILL.md length
1,028 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Collect read-only evidence about PlanetScale org, database, branches, webhooks, backups, roles, Insights, recommendations, and traffic configuration.

  • Tasks that involve Webhooks
  • SKILL.md covers Purpose, Allowed actions, Interfaces and documentation… and Inventory checklist, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Backup and disaster recovery

What it does

Planetscale Readonly Inventory is an agent skill from planetscale/skills, published by the product's own GitHub organization. Collect read-only evidence about PlanetScale org, database, branches, webhooks, backups, roles, Insights, recommendations, and traffic configuration.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Webhooks and Backup and disaster recovery. It works with PlanetScale and PostgreSQL. The repository describes itself as: Skills that help you configure and get the most out of PlanetScale. The licence is MIT.

When your agent uses it

  • Tasks that involve Webhooks
  • Tasks that involve Backup and disaster recovery

Example prompts

  • “/planetscale-readonly-inventory”

What it can do on your machine

Read from SKILL.md and the folder at commit 999045c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • planetscale.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Planetscale Readonly Inventory loads about 2.1k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 1,028 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from planetscale/skills at commit 999045c, republished under its MIT licence (© planetscale). 1,028 words, ~2,140 tokens.

Download SKILL.mdSave it as .claude/skills/planetscale-readonly-inventory/SKILL.md (or your agent's skills folder).
name
planetscale-readonly-inventory
description
Collect read-only evidence about PlanetScale org, database, branches, webhooks, backups, roles, Insights, recommendations, and traffic configuration.

Read-only inventory

Purpose

Build an evidence-backed inventory of a PlanetScale database without making changes.

Allowed actions

Allowed by default:

  • List organizations, databases, branches, keyspaces, regions, and sizes.
  • Read branch metadata.
  • Read webhook configuration.
  • Read schema recommendations.
  • Read Query Insights, anomalies, and query patterns through MCP or API.
  • Read traffic budgets and rules.
  • Read Postgres roles and non-secret role metadata.
  • Read backup schedules and restore metadata.
  • Read branch schema.
  • Inspect live connection/session metadata with the Connections CLI view.
  • Inspect repository files for frameworks, ORMs, migrations, SQL tagging, and connection config.
  • Inspect Terraform or other infrastructure-as-code definitions for PlanetScale roles, backups, backup policies, Postgres parameters, and supported extensions.

Not allowed without explicit approval:

  • Any create, update, delete, enable, disable, reset, deploy, restore, promote, enforce, or apply operation.
  • Any SQL mutation.
  • Any command that emits new credentials unless the operator explicitly asked for credential work.

Interfaces and documentation grounding

Ground every command and endpoint in the official documentation instead of guessing. PlanetScale publishes agent-readable docs:

Verify an endpoint path in the API reference before calling it. A 404 from an unverified path is a wrong path, not a finding; do not record it as platform state and do not conclude "not configured" from it.

Verified interface notes (recheck against the docs when a command fails):

  • pscale database show <database> --org <org> — the org is a flag, not a positional argument.
  • pscale api <path> takes org-relative paths such as organizations/{org}/databases/{db}/branches/{branch} — there is no get subcommand and no /v1/ prefix. Pass query parameters with -Q key=value flags; embedding ?/& in the path breaks under shell globbing.
  • pscale webhook list <database> --org <org> — the database is a positional argument. pscale backup list <database> <branch> requires the branch.
  • pscale branch connections top <database> <branch> — live read-only session inventory works for Postgres and Vitess over a reserved administrative connection. Do not cancel queries or terminate connections unless the operator explicitly approves that operational action.
  • Query Insights is public API. Live query telemetry: .../branches/{branch}/insights (per-pattern statistics; supports from/to/period, q, sort, dir, tablet_type, type, fields, and pagination). Related endpoints under the same branch path: insights/errors, insights/anomalies, insights/tags, insights/tags/summaries, insights/{fingerprint} (individual executions), insights/{fingerprint}/summary, and insights/{fingerprint}/traffic/budgets. The query-patterns path returns generated report metadata, not live patterns.
  • Traffic budgets: .../branches/{branch}/traffic/budgets. The CLI has no pscale traffic-control budget list; use the API for inventory.
  • Postgres roles: list via .../branches/{branch}/roles; fetch a single role by ID, not name (pscale role get <db> <branch> <role-id>).
  • IP restrictions: database-level organizations/{org}/databases/{db}/cidrs. Branch-level IP-restriction paths are not valid.
  • Schema recommendations: database-level .../databases/{db}/schema-recommendations (the branch-level path is not valid). Requesting page=2 currently returns 404 even when the response reports next_page; use the database object's open_schema_recommendations_count as the authoritative total, treat the returned page as a sample, and state in the report when the itemized list covers only part of the total.
  • PITR state and branch-level backup policies have no verified read path; record backup posture from pscale backup list and the database-level backup policy, and mark PITR "not assessed in this run" rather than probing paths.
  • List endpoints paginate; follow the pagination parameters until exhausted before reporting counts (except the schema-recommendations case above).

Record access failures (403s, missing token scopes, timeouts) in the internal run log for the operator. They are not findings and do not enter the customer report (see ../planetscale-customer-report-template/SKILL.md).

Inventory checklist

Database identity

Record:

  • Organization.
  • Database.
  • Branch.
  • Engine: Vitess or Postgres.
  • Region and cloud provider.
  • Production/development branch status.
  • Branch protection and safe workflow state.
  • Size and cluster shape.
Show full SKILL.md (440 more words)Show less
Branches and schema workflow

For Vitess, record:

  • Production branch.
  • Whether safe migrations are enabled for production and staging branches.
  • Open deploy requests.
  • Deploy request approval setting.
  • Pending schema changes.
  • Whether branch strategy has a staging branch with safe migrations enabled.

For Postgres, record:

  • Branch list.
  • Whether branches were created from backup or empty.
  • Whether schema changes are managed manually, through migrations, or through an ORM.
  • Whether a separate branch is used for migration testing.
  • Whether the team expects Vitess-style deploy requests; if yes, flag that Postgres branches do not use deploy requests in the same way.
Observability

Record:

  • Insights availability.
  • Whether query tags are present.
  • Which tags appear.
  • Whether high-cardinality tags are present.
  • Whether complete/raw query collection is enabled.
  • Active anomalies.
  • Query patterns with high latency, high rows read, high error rate, or high execution count.
  • Postgres CPU-heavy query patterns and Vitess vindex-usage data when exposed by the Insights interface in use.
  • Whether application deploy identifiers are visible in comments or tags.
Recommendations

Record:

  • Open schema recommendations.
  • Recommendation type.
  • Affected table/query.
  • Proposed DDL or action.
  • Whether a branch/deploy workflow exists to evaluate it safely.
  • Whether the recommendation can be implemented as application code, ORM migration, or database DDL.
Webhooks and automation

Record:

  • Configured webhooks.
  • Subscribed events.
  • Enabled state.
  • Last delivery success or failure.
  • Destination category: Slack, PagerDuty, internal automation, CI, agent queue, unknown.
  • Whether webhook signature verification is documented or implemented.
  • Whether webhook handling is idempotent and asynchronous.
Postgres Traffic Control

For Postgres only, record:

  • Existing budgets and rules.
  • Budget modes: off, warn, enforce.
  • Limits: rate, capacity, burst, concurrency, warning threshold.
  • Rules by fingerprint, keyspace, query kind, or tags.
  • Whether rules are tied to meaningful SQLCommenter tags.
  • Whether any production budget is in enforce mode.
Postgres safety

For Postgres only, record:

  • Application role usage.
  • Whether apps use the default role.
  • Whether app roles are least-privilege.
  • Whether pg_strict is enabled for application roles.
  • Whether PgBouncer is used for appropriate workloads.
  • Whether live connections show blockers, idle-in-transaction sessions, or connection saturation during an active incident.
  • Whether private connectivity and IP restrictions are configured.
  • Whether backup retention and PITR meet the customer’s recovery expectations.
Vitess safety

For Vitess only, record:

  • Safe migrations state.
  • Deploy request workflow.
  • Admin approval requirement.
  • Gated deployment usage.
  • Schema revert availability.
  • Branch and keyspace topology.
  • Sharding/vschema status.
  • Whether sharded query patterns use relevant vindexes.
  • Backups and restore posture.

Evidence format

For every finding, include evidence:

  • Source: MCP, CLI, API, dashboard-observed, SQL read-only, repository file.
  • Path or command used.
  • Timestamp.
  • Raw value or concise excerpt.
  • Confidence: high, medium, low.

Output

Return:

  • Inventory table.
  • Missing evidence table.
  • Risk flags.
  • Recommended next skills to run.

End with:

“No changes have been applied.”

© planetscale, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in planetscale-readonly-inventory of planetscale/skills.

Open the folder on GitHubat commit 999045c

Compare with similar skills

Planetscale Readonly Inventory next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Planetscale Readonly Inventory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Planetscale Readonly Inventory this skillplanetscale/skills133—~2.1kAutomated safety check: PassMIT
cmux Backend Rulesmanaflow-ai/cmux28k1 repos~682Automated safety check: PassCustom licence
Kopiur Designhome-operations/kopiur113—~2.4kAutomated safety check: PassAGPL-3.0
Supabase Webhooks Eventsjeremylongshore/tons-of-skills-marketplace2.8k—~2.2kAutomated safety check: PassMIT
Supabasemagnus919/agent-skills113—~2.2kAutomated safety check: PassMIT
Mg Local DB Restoremodelguide/modelguide108—~645Automated safety check: PassMIT

Similar skills

  • cmux Backend Rules

    manaflow-ai/cmux

    Sets the backend TypeScript and Cloud VM rules for cmux: Effect-based services, thin route handlers, Postgres as source of truth, migrations and provider secrets.

    28k GitHub starsUsed in 1 repo~682 tokens
    Backend & APIsAuto-check passed
  • Kopiur Design

    home-operations/kopiur

    Design norms and locked decisions for the Kopiur Kopia-native Kubernetes backup operator (Rust/kube-rs).

    113 GitHub stars~2.4k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Supabase Webhooks Events

    jeremylongshore/tons-of-skills-marketplace

    Implement Supabase database webhooks, pgnet async HTTP, LISTEN/NOTIFY, and Edge Function event handlers with signature verification.

    2.8k GitHub stars~2.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Supabase

    magnus919/agent-skills

    A skill your agent uses when developing applications with Supabase, running the Supabase CLI, designing migrations and RLS policies, testing database behavior, generating client types, deploying the…

    113 GitHub stars~2.2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Mg Local DB Restore

    modelguide/modelguide

    Trigger phrases - "reset local db", "recreate local postgres", "restore dump to local", "reset local database", "load backup locally"

    108 GitHub stars~645 tokensUpdated 3 mo ago
    DevOps & CloudAuto-check passed
  • Azure PostgreSQL Flexible Server SDK for .NET. An agent skill from microsoft/skills.

    3.1k GitHub starsUsed in 6 repos~4k tokens
    DevOps & CloudAuto-check passed

More from planetscale/skills

All 15 skills in this repo
  • Official

    Use the PlanetScale CLI (pscale) from automated agents with --format json, auth check, pscale sql, and per-command --force.

    133 GitHub stars~880 tokensUpdated yesterday
    Auto-check passed
  • Official

    Master skill that runs the full PlanetScale safe best-practices assessment — inventory, engine review, Insights, Traffic Control, webhooks, schema recommendations, codebase instrumentation, and…

    133 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Official

    Execute approved PlanetScale changes end-to-end without per-step approval when the operator has explicitly acknowledged the risk.

    133 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Official

    A concise feature matrix for deciding which PlanetScale safety, observability, and automation recommendations apply by engine.

    133 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Enforce explicit approval gates for any PlanetScale, database, repository, credential, network, or automation mutation.

    133 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.

    133 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

Questions about Planetscale Readonly Inventory

What does Planetscale Readonly Inventory do?

Collect read-only evidence about PlanetScale org, database, branches, webhooks, backups, roles, Insights, recommendations, and traffic configuration. Planetscale Readonly Inventory is an agent skill from planetscale/skills, published by the product's own GitHub organization. Collect read-only evidence about PlanetScale org, database, branches, webhooks, backups, roles, Insights, recommendations, and traffic configuration.

When should I use Planetscale Readonly Inventory?

Planetscale Readonly Inventory fits situations like: tasks that involve Webhooks; tasks that involve Backup and disaster recovery.

How do I install Planetscale Readonly Inventory in Claude Code?

Run `npx skills add planetscale/skills --skill planetscale-readonly-inventory -a claude-code`. Or copy the skill folder (planetscale-readonly-inventory in planetscale/skills) into .claude/skills/planetscale-readonly-inventory in your project. Claude Code loads it when a task matches its description.

How do I install Planetscale Readonly Inventory in Codex?

Run `npx skills add planetscale/skills --skill planetscale-readonly-inventory -a codex`. Or copy the skill folder (planetscale-readonly-inventory in planetscale/skills) into .agents/skills/planetscale-readonly-inventory in your project. Codex loads it when a task matches its description.

Can I use Planetscale Readonly Inventory in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add planetscale/skills --skill planetscale-readonly-inventory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/planetscale-readonly-inventory, .gemini/skills/planetscale-readonly-inventory, .github/skills/planetscale-readonly-inventory and .opencode/skills/planetscale-readonly-inventory in your project.

What does Planetscale Readonly Inventory need to run?

SKILL.md names no scripts, command-line tools or credentials: Planetscale Readonly Inventory is instructions for the agent only.

Does Planetscale Readonly Inventory access the network?

SKILL.md names 1 domain. As links in the text: planetscale.com. This is read from the text; nothing was executed.

Is Planetscale Readonly Inventory safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Planetscale Readonly Inventory use?

Planetscale Readonly Inventory is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Planetscale Readonly Inventory use?

About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Planetscale Readonly Inventory?

Skills that share tags, products or a category with Planetscale Readonly Inventory: cmux Backend Rules (manaflow-ai/cmux, 28k stars), Kopiur Design (home-operations/kopiur, 113 stars), Supabase Webhooks Events (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Supabase (magnus919/agent-skills, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Planetscale Readonly Inventory?

planetscale (a GitHub organization, an official publisher) maintains it in planetscale/skills, which has 133 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.

Source: planetscale/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.