Agent Native

planetscale-webhook-automation-recommendations

This skill reviews PlanetScale webhook configurations and recommends safe automation patterns for database alerts and deploy requests.

by PlanetScaleOfficial publisherNot reviewed

Identity proven by GitHub's verified organisation badge (planetscale)

Agents
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
License
MIT (permissive)
Pin
95c80f9pinned Oct 9, 2026
Context cost
about 1,400 tokenswhen the skill loads
GitHub stars
5on planetscale/claude-plugin
Scripts
None found

What it does

“Recommend webhook subscriptions and safe automation patterns for PlanetScale alerts, anomalies, schema recommendations, deploy requests, and agent workflows.”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill reviews PlanetScale webhook configurations and recommends safe automation patterns for database alerts and deploy requests. It evaluates existing webhooks against PlanetScale events like anomalies and schema recommendations, then suggests routing to human channels or agent workflows while preventing unsafe direct mutations of production systems.

When to use it

  • Setting up PlanetScale webhook infrastructure for the first time
  • Auditing existing webhook routes and automation safety
  • Designing agent intake queues for database events
  • Establishing safe patterns for schema recommendations and deploy workflows

When not to

  • Creating or modifying webhooks directly without human approval
  • Implementing webhook receivers without signature verification capability

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add planetscale/claude-plugin --skill planetscale-webhook-automation-recommendations

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install planetscale/claude-plugin planetscale-webhook-automation-recommendations@95c80f9f391be9b1b6172bf82d4191e1ec11b637

Installs the commit we checked (95c80f9).

Copy by hand

Download the folder at 95c80f9 and put it in .claude/skills/planetscale-webhook-automation-recommendations for Claude Code and in .agents/skills/planetscale-webhook-automation-recommendations for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at 95c80f9

Claude Code plugin

/plugin install planetscale@claude-plugins-official

The publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "planetscale-webhook-automation-recommendations" by PlanetScale.

Source, pinned to commit 95c80f9f391be9b1b6172bf82d4191e1ec11b637:
https://github.com/planetscale/claude-plugin/tree/95c80f9f391be9b1b6172bf82d4191e1ec11b637/planetscale-skills/06-webhook-automation-recommendations

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/planetscale-webhook-automation-recommendations/ for Claude Code and .agents/skills/planetscale-webhook-automation-recommendations/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/planetscale/planetscale-webhook-automation-recommendations

SKILL.md at the pin

---
name: planetscale-webhook-automation-recommendations
description: Recommend webhook subscriptions and safe automation patterns for PlanetScale alerts, anomalies, schema recommendations, deploy requests, and agent workflows.
---

# Webhook automation recommendations

## Purpose

Review and recommend PlanetScale webhooks that notify humans and trigger safe automation. Do not create or update webhooks without approval.

## Webhook design principle

Webhooks may trigger automation, but automation must produce recommendations, issues, branches, or pull requests by default. It must not directly mutate production databases or production application behavior without explicit human approval.

## Events to evaluate

### General and Postgres

- `branch.anomaly`: new Insights anomaly.
- `branch.out_of_memory`: Postgres out-of-memory event.
- `branch.primary_promoted`: primary failover/promotion.
- `branch.ready`: branch created and ready.
- `branch.sleeping`: branch sleeping.
- `branch.start_maintenance`: maintenance starting.
- `cluster.storage`: storage threshold or growth event.
- `database.access_request`: access request.
- `branch.schema_recommendation`: schema recommendation event when available.
- `webhook.test`: test event.

### Vitess deploy lifecycle

- `deploy_request.opened`
- `deploy_request.queued`
- `deploy_request.in_progress`
- `deploy_request.pending_cutover`
- `deploy_request.schema_applied`
- `deploy_request.errored`
- `deploy_request.reverted`
- `deploy_request.closed`
- `keyspace.storage`

## Recommended routing

### Human alerting

Send these to incident or operations channels:

- `branch.anomaly`
- `branch.out_of_memory`
- `branch.primary_promoted`
- `branch.start_maintenance`
- `cluster.storage`
- `keyspace.storage`
- `deploy_request.errored`
- `deploy_request.reverted`

### Engineering notification

Send these to Slack, Linear/Jira, or deployment channels:

- `deploy_request.opened`
- `deploy_request.queued`
- `deploy_request.in_progress`
- `deploy_request.pending_cutover`
- `deploy_request.schema_applied`
- `deploy_request.closed`
- `branch.schema_recommendation`

### Agent intake queue

Send these to an agent-safe workflow:

- `branch.anomaly`
- `branch.schema_recommendation`
- `deploy_request.errored`
- `cluster.storage`
- `keyspace.storage`

Agent output may include, without approval:

- Triage summary, probable cause, linked Insights/query patterns.
- Recommended schema, code, Traffic Control, or operational change.
- Pull request against application code.
- Development branch with DDL or migration applied.
- Open deploy request into a review-protected branch.
- Issue or ticket.

Agent output must not cross the review gate on its own: no production
deploys, PR merges, Traffic Control enforcement, credential rotation, or
network changes — those require human action or a standing authorization
per `../13-autonomous-execution-mode/SKILL.md`.

## Webhook receiver requirements

Recommend only receivers that meet these requirements:

- HTTPS endpoint.
- Fast 2xx response; expensive work is queued asynchronously.
- No dependency on following redirects.
- Signature verification using PlanetScale webhook signature header and the webhook secret.
- Idempotency by event ID or timestamp/resource tuple.
- Dead-letter queue or retry-safe logging.
- Human-readable audit trail.
- Clear owner and escalation path.
- Secret rotation procedure.

## Recommended automation flows

### Anomaly to PR flow

1. Receive `branch.anomaly`.
2. Verify signature.
3. Queue job.
4. Fetch anomaly details and relevant Insights query patterns.
5. Locate code path by SQLCommenter tags and repository search.
6. Classify as schema, code, Traffic Control, or unknown.
7. Generate report and optional PR.
8. Ask human to approve database-affecting work.

### Schema recommendation to branch/deploy flow

For Vitess:

1. Receive `branch.schema_recommendation`.
2. Fetch recommendation details.
3. Apply the DDL to a development branch.
4. Open a pull request with fingerprint, metrics, and expected effect.
5. Open the deploy request — the DR and PR together are the reviewable
   unit; opening them requires no approval.
6. Deploy on human approval, or autonomously under a standing
   authorization that allowlists this deploy class
   (`../13-autonomous-execution-mode/SKILL.md`).

For Postgres:

1. Receive `branch.schema_recommendation`.
2. Fetch recommendation details.
3. Convert DDL to application migration.
4. Test on a non-production branch and record the result in the PR.
5. Open PR.
6. Apply to production on merge via the deployment pipeline, or on
   explicit approval where no pipeline exists.

### Deploy request lifecycle flow for Vitess

- Notify when opened.
- Validate owner and linked application PR.
- Alert when queued or in progress.
- Alert strongly when errored or reverted.
- Notify pending cutover and require owner acknowledgement for gated deployments.
- Record schema applied and correlate with application deploy.

## Anti-patterns to block

Do not recommend:

- Webhook directly runs production DDL, bypassing the PR/deploy-request
  workflow. (Driving the DDL through a branch, PR, and deploy request is
  the supported pattern, not an anti-pattern.)
- Webhook applies schema recommendations straight to production with no
  reviewable artifact.
- Webhook directly enforces Traffic Control.
- Webhook directly changes IP restrictions.
- Webhook directly rotates credentials.
- Webhook posts secrets or raw SQL with literals into public Slack channels.
- Webhook receiver ignores signature verification.
- Webhook receiver does long-running work before returning 2xx.

## Output

Return:

- Existing webhook inventory.
- Missing recommended subscriptions.
- Destination quality review.
- Signature verification status.
- Automation opportunities.
- Unsafe automation risks.
- Proposed webhook changes requiring approval.

End with:

“No webhooks or automation endpoints have been created, updated, or deleted.”

From planetscale/claude-plugin at 95c80f9, shown as plain text under its license: MIT (permissive). The license text is in planetscale-skills/LICENSE.

View SKILL.md on GitHub at 95c80f9

Files

1 file, 6.0 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at 95c80f9
All 22 skills from PlanetScale

More from PlanetScale

  • neki

    This skill guides agents on Neki, PlanetScale's distributed sharded Postgres system.

    Claude Code, Codex, Cursor +4 · about 2K tokens · pinned 6 days ago

  • postgres

    This skill provides PostgreSQL best practices, optimization guidance, and operational knowledge across schema design, indexing, query patterns, and…

    Claude Code, Codex, Cursor +4 · about 1.7K tokens · pinned 6 days ago

  • planetscale-safe-orchestrator

    This master skill orchestrates a comprehensive PlanetScale best-practices assessment across inventory, engine configuration, query performance, traffic…

    Claude Code, Codex, Cursor +4 · about 2.8K tokens · pinned 6 days ago

  • mysql

    This skill guides the agent through MySQL and InnoDB schema design, indexing strategies, query optimization, transaction handling, and operational tasks.

    Claude Code, Codex, Cursor +4 · about 1.3K tokens · pinned 6 days ago

  • neki

    This skill provides guidance on Neki, PlanetScale's sharded Postgres product designed for horizontal scaling.

    Claude Code, Codex, Cursor +4 · about 420 tokens · pinned 6 days ago

  • planetscale-autonomous-execution-mode

    This skill enables an agent to execute PlanetScale database changes end-to-end without per-step approval when the operator provides explicit risk…

    Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago

All Cloud and DevOps skills
  • heroku-to-aws

    This skill guides migration of applications and databases from Heroku to AWS services like Elastic Beanstalk, RDS, ElastiCache, and MSK.

    by Amazon (AWS)Official publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 7K tokens · pinned 6 days ago

  • bootstrap

    This skill orchestrates the setup process for Vercel-linked repositories by executing project linking, environment provisioning, database configuration, and…

    by VercelOfficial publisher

    Claude Code, Codex, Cursor +3 · about 1.5K tokens · pinned 6 days ago

  • neon-object-storage

    Neon Object Storage provides S3-compatible file storage that branches with your Neon Postgres database, keeping files and database rows in sync across…

    by NeonOfficial publisher

    Claude Code, Codex, Cursor +4 · about 3.3K tokens · pinned 6 days ago

  • azure-to-aws

    This skill guides migration of Azure workloads to AWS across a 6-phase process: discovering Azure resources from Terraform, clarifying migration requirements…

    by Amazon (AWS)Official publisher

    Claude Code, Codex, Cursor +4 · about 3.7K tokens · pinned 6 days ago

  • azure-to-aws

    Guides migration of Azure workloads to AWS across seven phases: discovering resources from Terraform and application code, clarifying migration requirements…

    by Amazon (AWS)Official publisher

    Claude Code, Codex, Cursor +4 · about 3.7K tokens · pinned 6 days ago

  • heroku-to-aws

    The skill guides users through a 6-phase structured process to migrate Heroku workloads to AWS services.

    by Amazon (AWS)Official publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 6.5K tokens · pinned 6 days ago

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use