# PlanetScale (ChatGPT App)

> Query and optimize databases

- Type: app
- Publisher: PlanetScale (official)
- Categories: Development, Data & Analytics
- Website: https://chatgpt.com/plugins/plugin_asdk_app_6a96923ff47481919800bde485be3075
- Open in ChatGPT: https://chatgpt.com/plugins/plugin_asdk_app_6a96923ff47481919800bde485be3075
- Version: 1.0.0
- Listed: 2026-10-04

## About

PlanetScale is a hosted MySQL/Vitess and Postgres database platform. This app connects ChatGPT to your PlanetScale databases so it can diagnose slow or failing queries and fix them. It reads schemas, runs queries, and uses PlanetScale Insights to identify the exact query or index problem behind a slow endpoint, then recommends or applies the change with safeguards for destructive operations. It also reviews logs and cluster sizes, searches documentation, and manages billing through Stripe Checkout.

## How to use

1. **Add it in ChatGPT** Open PlanetScale in ChatGPT's Plugin directory (button above), select + to add it and sign in if asked.

2. **Use it in a chat** Type @ in the composer and pick PlanetScale, or start your message with its name. ChatGPT may also suggest it when it fits what you ask.

## Skills

- **autonomous-execution-mode**: Execute approved PlanetScale changes end-to-end without per-step approval when the operator has explicitly acknowledged the risk. Defines the risk-acknowledgment contract, scoped autonomy levels, sensible execution ordering, continuous status reporting, halt conditions, and rollback discipline. Extremely safe, very enabling.
- **best-practices-matrix**: A concise feature matrix for deciding which PlanetScale safety, observability, and automation recommendations apply by engine.
- **change-gates-and-approval-contract**: Enforce explicit approval gates for any PlanetScale, database, repository, credential, network, or automation mutation.
- **codebase-sqlcommenter-instrumentation**: Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.
- **customer-report-template**: Produce the final PlanetScale best-practices report after running the inventory and relevant review skills.
- **database**: Index of PlanetScale engine skills for MySQL, Postgres, Vitess, and Neki. Use to pick the right engine skill before planning schema changes, indexes, query tuning, migrations, sharding, or connection troubleshooting against a PlanetScale database.
- **database-mysql**: Plan and review MySQL/InnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow/locking behavior; planning migrations; or troubleshooting replication and connection issues. Load when using a MySQL database.
- **database-neki**: Overview and information about Neki, the sharded Postgres product by PlanetScale. Load when working with Neki-related tasks and the need to scale or shard postgres. Load when facing Postgres scaling or sharding issues.
- **database-postgres**: PostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.
- **database-vitess**: Vitess best practices, query optimization, and connection troubleshooting for PlanetScale Vitess databases. Load when working with Vitess databases, sharding, VSchema configuration, keyspace management, or MySQL scaling issues.
- **mcp-agent-operating-model**: Configure safe agent behavior around PlanetScale MCP, Insights, schema recommendations, and repository work without autonomous production mutation.
- **planetscale**: Index of PlanetScale operating skills — read-only inventory, Vitess and Postgres safety reviews, Insights and query tags, Traffic Control, webhooks, schema recommendations, approval gates, and the full best-practices assessment. Use to pick the right workflow skill before inspecting or changing a PlanetScale organization, database, branch, or schema.
- **postgres-safety-review**: Review PlanetScale Postgres for Traffic Control, query tags, roles, pg_strict, backups/PITR, private connectivity, webhooks, branches, and safe agent operation.
- **pscale-cli-automation**: Use the PlanetScale CLI (pscale) from automated agents with --format json, auth check, pscale sql, and per-command --force. Run before other PlanetScale skills when driving pscale directly. Use when the user asks to automate pscale, run CLI commands headless, or verify pscale auth from an agent.
- **query-insights-and-tags**: Use PlanetScale Insights and SQLCommenter-style query tags to attribute database load, identify risky queries, and prepare safe Traffic Control or schema recommendations.

## Example prompts

- "Triage my connected codebase with Insights and query errors. Implement and test a code fix; ask before database changes."
- "Review my most expensive queries, schema, and recent query errors. Rank the findings and recommend evidence-backed improvements."
- "Use PlanetScale docs to help me choose an engine, create a database, connect my app, and run my first query."

## Also available as

- MCP server: [PlanetScale](https://chatgptplugins.directory/mcp/planetscale.md)

## Related

- [GitHub](https://chatgptplugins.directory/apps/github.md): Triage PRs, issues and CI across your repositories
- [Figma](https://chatgptplugins.directory/apps/figma.md): Create designs, diagrams and FigJam boards and ship them to code
- [MCP App Basics (Apps SDK example)](https://chatgptplugins.directory/apps/apps-sdk-mcp-app-basics.md): Eleven interactive widgets that each teach one MCP Apps API
- [Cards Against AI (Apps SDK example)](https://chatgptplugins.directory/apps/apps-sdk-cards-against-ai.md): Card game driven by ChatGPT with a real-time synced widget
- [Authenticated Server (Apps SDK example)](https://chatgptplugins.directory/apps/apps-sdk-authenticated.md): Demonstrates tools that require different levels of OAuth
- [Shopping Cart (Apps SDK example)](https://chatgptplugins.directory/apps/apps-sdk-shopping-cart.md): Keeps cart state in sync across tool calls with widgetSessionId

---
Source: https://chatgptplugins.directory/apps/planetscale · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
