# planetscale-mcp-agent-operating-model

> Claude/Codex skill by [@planetscale](https://omgskills.com/library/planetscale/index.md) · 5 stars · Updated 2026-08-31

Configure safe agent behavior around PlanetScale MCP, Insights, schema recommendations, and repository work without autonomous production mutation.

## Install

```sh
git clone https://github.com/planetscale/claude-plugin /tmp/claude-plugin && ln -s /tmp/claude-plugin/planetscale-skills/09-mcp-agent-operating-model ~/.claude/skills/planetscale-mcp-agent-operating-model
```

## From README

MCP agent operating model Purpose Define how agents should use PlanetScale MCP safely. Agents should use production telemetry to generate useful work while avoiding autonomous production changes. Default MCP choice Use the PlanetScale MCP insights-only server when the task only needs Insights and Schema Recommendations. Use the full PlanetScale MCP server only when the task explicitly requires database/schema access beyond Insights. Prefer read-only scopes. The full MCP server has query execution tools. Treat write query tools as disabled unless the operator explicitly approves a specific non-production action or a carefully reviewed production action. AGENTS.md guidance Two different documents both named AGENTS.md serve different purposes: CLI agent guide — shipped with pscale (AGENTS.md in the planetscale/cli repo, or pscale agent-guide --format json). Covers auth, --format json, flag placement, and pscale sql.

## Links

- HTML page: https://omgskills.com/skills/planetscale/claude-plugin/planetscale-skills/09-mcp-agent-operating-model/
- GitHub: https://github.com/planetscale/claude-plugin
- Author: [@planetscale](https://omgskills.com/library/planetscale/index.md)

## More from this repo

- [planetscale-autonomous-execution-mode](https://omgskills.com/skills/planetscale/claude-plugin/planetscale-skills/13-autonomous-execution-mode/index.md) — Execute approved PlanetScale changes end-to-end without per-step approval when the operator has explicitly acknowledged...
   - [@planetscale](https://omgskills.com/library/planetscale/index.md) · 5 stars
- [planetscale-change-gates-and-approval-contract](https://omgskills.com/skills/planetscale/claude-plugin/planetscale-skills/11-change-gates-and-approval-contract/index.md) — Enforce explicit approval gates for any PlanetScale, database, repository, credential, network, or automation mutation.
   - [@planetscale](https://omgskills.com/library/planetscale/index.md) · 5 stars
- [planetscale-postgres-safety-review](https://omgskills.com/skills/planetscale/claude-plugin/planetscale-skills/03-postgres-safety-review/index.md) — Used to review PlanetScale Postgres for Traffic Control, query tags, roles, pg\_strict, backups/PITR, private...
   - [@planetscale](https://omgskills.com/library/planetscale/index.md) · 5 stars
