mcpbeat Sign in

Planetscale Webhook Automation Recommendations Agent Skill

Recommend webhook subscriptions and safe automation patterns for PlanetScale alerts, anomalies, schema recommendations, deploy requests, and agent workflows.

2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
103
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/planetscale/skills --skill planetscale-webhook-automation-recommendations

The instruction itself

17 sections, as written by the author

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

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.

Anomaly to PR flow

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

Schema recommendation to branch/deploy flow

For Vitess:

  • Receive branch.schema_recommendation.
  • Fetch recommendation details.
  • Apply the DDL to a development branch.
  • Open a pull request with fingerprint, metrics, and expected effect.
  • Open the deploy request — the DR and PR together are the reviewable

unit; opening them requires no approval.

  • Deploy on human approval, or autonomously under a standing

authorization that allowlists this deploy class

(../13-autonomous-execution-mode/SKILL.md).

For Postgres:

  • Receive branch.schema_recommendation.
  • Fetch recommendation details.
  • Convert DDL to application migration.
  • Test on a non-production branch and record the result in the PR.
  • Open PR.
  • 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.”

Other skills for the same job

different authors, same section of the catalogue
Azure Kubernetes Automatic Readiness
by microsoft
vendor ×3

Assess Kubernetes workloads and cluster configuration for AKS Automatic compatibility. Identifies incompatibilities, generates fixes, and guides migration from AKS Standard to AKS Automatic. WHEN: migrate to AKS Automatic, check AKS Automatic readiness, validate manifests for Automatic, assess cluster for Automatic compatibility, fix deployment for Automatic compatibility, identify AKS Automatic migration blockers, is my cluster ready for AKS Automatic.

13k tokens
Capacity
by microsoft
vendor ×3

Discovers available Azure OpenAI model capacity across regions and projects. Analyzes quota limits, compares availability, and recommends optimal deployment locations based on capacity requirements. USE FOR: find capacity, check quota, where can I deploy, capacity discovery, best region for capacity, multi-project capacity search, quota analysis, model availability, region comparison, check TPM availability. DO NOT USE FOR: actual deployment (hand off to preset or customize after discovery), quota increase requests (direct user to Azure Portal), listing existing deployments.

6k tokens scripts
Customize
by microsoft
vendor ×3

Interactive guided deployment flow for Azure OpenAI models with full customization control. Step-by-step selection of model version, SKU (GlobalStandard/Standard/ProvisionedManaged), capacity, RAI policy (content filter), and advanced options (dynamic quota, priority processing, spillover). USE FOR: custom deployment, customize model deployment, choose version, select SKU, set capacity, configure content filter, RAI policy, deployment options, detailed deployment, advanced deployment, PTU deployment, provisioned throughput. DO NOT USE FOR: quick deployment to optimal region (use preset).

8k tokens
Deploy Model
by microsoft
vendor ×3

Unified Azure OpenAI model deployment skill with intelligent intent-based routing. Handles quick preset deployments, fully customized deployments (version/SKU/capacity/RAI policy), and capacity discovery across regions and projects. USE FOR: deploy model, deploy gpt, create deployment, model deployment, deploy openai model, set up model, provision model, find capacity, check model availability, where can I deploy, best region for model, capacity analysis. DO NOT USE FOR: listing existing deployments (use foundry_models_deployments_list MCP tool), deleting deployments, agent creation (use agent/create), project creation (use project/create).

26k tokens scripts
Preset
by microsoft
vendor ×3

Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).

9k tokens
Lamindb
by christophacham
×3

This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.

22k tokens
Latchbio Integration
by christophacham
×3

Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.

12k tokens
Modal
by christophacham
×3

Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.

17k tokens

How to use it

Copy the folder

Take planetscale/planetscale-webhook-automation-recommendations from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.