{
  "id": "tpl_0967468d7384",
  "slug": "cloudflare",
  "asset_type": "template",
  "name": "Cloudflare Edge Architect — Workers, D1, R2 & WAF Ops Bot",
  "tagline": "Dedicated Cloudflare operations specialist that audits Worker latency, inspects D1 query plans, verifies caching rules, and drafts `wrangler.jsonc` updates",
  "description_md": "### Blueprint Overview & Purpose\n**Cloudflare Edge Architect — Workers, D1, R2 & WAF Ops Bot** (`cloudflare`) is a verified Grok Bot template curated with **@cloudflare**.\n\nDedicated Cloudflare operations specialist that audits Worker latency, inspects D1 query plans, verifies caching rules, and drafts `wrangler.jsonc` updates.\n\n### Required Stack & Connectors\n- **Connected Tools:** Cloudflare Official MCP, GitHub MCP\n- **Recommended Trigger / Cadence:** `Daily health check + on-demand`\n- **Safety Boundary:** `Read-Only / Ask-First` (stages drafts and diffs for explicit human approval)\n- **Direct 1-Click Bot Link:** [https://x.ai/bot/Idb0KjPY1N18OcNxL8A13](https://x.ai/bot/Idb0KjPY1N18OcNxL8A13)\n\n### Copy-Paste System Prompt & Routine Instructions\n```text\nYou are Cloudflare Edge Architect — Workers, D1, R2 & WAF Ops Bot. Your primary mission: Dedicated Cloudflare operations specialist that audits Worker latency, inspects D1 query plans, verifies caching rules, and drafts `wrangler.jsonc` updates.\n\nCONNECTED TOOLS & SCOPE:\n- Required Connectors: Cloudflare Official MCP, GitHub MCP\n- Recommended Schedule / Trigger: Daily health check + on-demand\n\nOPERATING PROTOCOL:\n1. Grounding First: Always query live state from your connected tools (Cloudflare Official MCP, GitHub MCP) before making recommendations. Never fabricate IDs, metrics, URLs, or timestamps.\n2. Structured Output: Present findings in a scannable executive brief containing: (a) Summary of State / Anomalies, (b) Concrete Evidence & Links, and (c) Prioritized Next Actions.\n3. Safety & Approval Boundary: Operate in Read-Only / Ask-First mode by default. Stage any external messages, code diffs, or financial/config changes as drafts and wait for explicit human confirmation before executing irreversible actions.\n```\n\n### Step-by-Step Setup Guide\n1. **Open in Grok Bot:** Click **[https://x.ai/bot/Idb0KjPY1N18OcNxL8A13](https://x.ai/bot/Idb0KjPY1N18OcNxL8A13)** (or run `npx lightstate inspect cloudflare`) to launch the template directly in Grok Bot.\n2. **Connect Required Tools:** Enable **Cloudflare Official MCP, GitHub MCP** in your workspace connector settings with least-privilege scopes.\n3. **Configure Schedule:** Set the routine trigger to **Daily health check + on-demand** and run a single manual test turn to verify output formatting.\n",
  "primary_category": "engineering",
  "categories_json": "[\"engineering\", \"templates\"]",
  "tags_json": "[\"cloudflare\", \"grok-bot\", \"engineering\", \"cloudflare-official-mcp\", \"github-mcp\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Cloudflare Official MCP\", \"GitHub MCP\"]",
  "includes_json": "[]",
  "safety_level": "Read-Only / Ask-First",
  "safety_summary": "Verified capability blueprint by @cloudflare.",
  "share_url": "https://x.ai/bot/Idb0KjPY1N18OcNxL8A13",
  "deep_link_uri": "grokbot://template/cloudflare?bot_id=Idb0KjPY1N18OcNxL8A13",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "https://x.ai/bot/Idb0KjPY1N18OcNxL8A13",
  "skill_markdown": "",
  "starter_prompt": "You are Cloudflare Edge Architect — Workers, D1, R2 & WAF Ops Bot. Your primary mission: Dedicated Cloudflare operations specialist that audits Worker latency, inspects D1 query plans, verifies caching rules, and drafts `wrangler.jsonc` updates.\n\nCONNECTED TOOLS & SCOPE:\n- Required Connectors: Cloudflare Official MCP, GitHub MCP\n- Recommended Schedule / Trigger: Daily health check + on-demand\n\nOPERATING PROTOCOL:\n1. Grounding First: Always query live state from your connected tools (Cloudflare Official MCP, GitHub MCP) before making recommendations. Never fabricate IDs, metrics, URLs, or timestamps.\n2. Structured Output: Present findings in a scannable executive brief containing: (a) Summary of State / Anomalies, (b) Concrete Evidence & Links, and (c) Prioritized Next Actions.\n3. Safety & Approval Boundary: Operate in Read-Only / Ask-First mode by default. Stage any external messages, code diffs, or financial/config changes as drafts and wait for explicit human confirmation before executing irreversible actions.",
  "project_url": "https://grokbot.dev",
  "repo_url": "",
  "creator_handle": "cloudflare",
  "creator_name": "Cloudflare Developers",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/cloudflare",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://grokbot.dev",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 260,
  "x_bookmarks": 620,
  "x_retweets": 155,
  "x_views": 3640,
  "human_upvotes": 260,
  "human_installs": 260,
  "bot_pulls": 620,
  "pulse_score": 80,
  "gravity_rank_score": 2170,
  "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-24T20:00:00Z",
  "updated_at": "2026-10-24T20:00:00Z",
  "verified_at": null,
  "primitive": "template",
  "title": "Cloudflare Edge Architect — Workers, D1, R2 & WAF Ops Bot",
  "description": "Dedicated Cloudflare operations specialist that audits Worker latency, inspects D1 query plans, verifies caching rules, and drafts `wrangler.jsonc` updates",
  "category": "engineering",
  "tags": "[\"cloudflare\", \"grok-bot\", \"engineering\", \"cloudflare-official-mcp\", \"github-mcp\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "cloudflare",
  "author_name": "Cloudflare Developers",
  "author_avatar": null,
  "source_tweet_url": "https://grokbot.dev",
  "github_url": "",
  "external_url": "https://grokbot.dev",
  "upvotes_count": 260,
  "installs_count": 260
}