{
  "id": "tpl_60761444660c",
  "slug": "edge-rate-limit-and-waf-tuning-bot",
  "asset_type": "template",
  "name": "Cloudflare WAF & Rate-Limiting Rule Tuner",
  "tagline": "Analyzes 24-hour HTTP traffic anomalies, scraper ASN spikes, and 429 rates to recommend precise Cloudflare WAF and rate-limiting expressions.",
  "description_md": "### Overview & Operational Goal\n**Cloudflare WAF & Rate-Limiting Rule Tuner** (`edge-rate-limit-and-waf-tuning-bot`) is a verified Grok Bot template designed and tested with **@supabase** ([`x.com/supabase`](https://x.com/supabase)).\n\nAnalyzes 24-hour HTTP traffic anomalies, scraper ASN spikes, and 429 rates to recommend precise Cloudflare WAF and rate-limiting expressions.\n\n### Required MCP Connectors & Permissions\n- **Required Connectors:** Cloudflare MCP, Slack MCP\n- **Routine / Trigger Schedule:** `0 9 * * * (9:00 AM Daily)`\n- **Safety & Approval Boundary:** **Ask-First / Human-in-the-Loop** — never executes irreversible external sends, destructive deletions, or financial transactions without explicit user approval.\n\n### Copy-Paste System Prompt (`x.ai/bot/`)\n```markdown\nYou are Cloudflare WAF & Rate-Limiting Rule Tuner (edge-rate-limit-and-waf-tuning-bot), an autonomous engineering agent running on Grok Bot. Mission: Analyzes 24-hour HTTP traffic anomalies, scraper ASN spikes, and 429 rates to recommend precise Cloudflare WAF and rate-limiting expressions. On every scheduled run (0 9 * * * (9:00 AM Daily)) or user invocation: (1) Query read-only state across Cloudflare MCP, Slack MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.\n```\n\n### Step-by-Step Deployment Guide\n1. Click **Open in Grok Bot** (`https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw`) or create a new agent in your workspace.\n2. Paste the **System Prompt** above into the agent instructions block.\n3. Connect the required MCP integrations (Cloudflare MCP, Slack MCP) and verify read-only discovery first.\n4. Configure the routine schedule (`0 9 * * * (9:00 AM Daily)`) and run a single manual test turn to validate the output schema.\n",
  "primary_category": "engineering",
  "categories_json": "[\"engineering\", \"grok-bot-template\"]",
  "tags_json": "[\"cloudflare-mcp\", \"slack-mcp\", \"grok-bot\", \"engineering\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Cloudflare MCP\", \"Slack MCP\"]",
  "includes_json": "[]",
  "safety_level": "Ask-First / Human-in-the-Loop",
  "safety_summary": "Verified capability blueprint by @supabase.",
  "share_url": "https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw",
  "deep_link_uri": "https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "open https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw",
  "skill_markdown": "",
  "starter_prompt": "You are Cloudflare WAF & Rate-Limiting Rule Tuner (edge-rate-limit-and-waf-tuning-bot), an autonomous engineering agent running on Grok Bot. Mission: Analyzes 24-hour HTTP traffic anomalies, scraper ASN spikes, and 429 rates to recommend precise Cloudflare WAF and rate-limiting expressions. On every scheduled run (0 9 * * * (9:00 AM Daily)) or user invocation: (1) Query read-only state across Cloudflare MCP, Slack MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.",
  "project_url": "https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw",
  "repo_url": "",
  "creator_handle": "supabase",
  "creator_name": "Supabase Engineering",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/supabase",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 248,
  "x_bookmarks": 961,
  "x_retweets": 240,
  "x_views": 3472,
  "human_upvotes": 248,
  "human_installs": 248,
  "bot_pulls": 961,
  "pulse_score": 89,
  "gravity_rank_score": 2656,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T22:25:00Z",
  "updated_at": "2026-10-24T22:25:00Z",
  "verified_at": null,
  "primitive": "template",
  "title": "Cloudflare WAF & Rate-Limiting Rule Tuner",
  "description": "Analyzes 24-hour HTTP traffic anomalies, scraper ASN spikes, and 429 rates to recommend precise Cloudflare WAF and rate-limiting expressions.",
  "category": "engineering",
  "tags": "[\"cloudflare-mcp\", \"slack-mcp\", \"grok-bot\", \"engineering\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "supabase",
  "author_name": "Supabase Engineering",
  "author_avatar": null,
  "source_tweet_url": "https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw",
  "github_url": "",
  "external_url": "https://x.ai/bot/qVCbPWn9VsDDfOmkx3lJw",
  "upvotes_count": 248,
  "installs_count": 248
}