{
  "id": "tpl_88772d401c64",
  "slug": "flaky-playwright-test-quarantine-bot",
  "asset_type": "template",
  "name": "Flaky E2E Test Detector & Quarantine Bot",
  "tagline": "Analyzes GitHub Actions and Playwright trace artifacts across the last 50 CI runs to pinpoint non-deterministic selectors and propose deterministic waits.",
  "description_md": "### Overview & Operational Goal\n**Flaky E2E Test Detector & Quarantine Bot** (`flaky-playwright-test-quarantine-bot`) is a verified Grok Bot template designed and tested with **@amasad** ([`x.com/amasad`](https://x.com/amasad)).\n\nAnalyzes GitHub Actions and Playwright trace artifacts across the last 50 CI runs to pinpoint non-deterministic selectors and propose deterministic waits.\n\n### Required MCP Connectors & Permissions\n- **Required Connectors:** Playwright MCP, GitHub MCP, Linear MCP\n- **Routine / Trigger Schedule:** `0 7 * * 1-5 (7:00 AM Weekdays)`\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 Flaky E2E Test Detector & Quarantine Bot (flaky-playwright-test-quarantine-bot), an autonomous engineering agent running on Grok Bot. Mission: Analyzes GitHub Actions and Playwright trace artifacts across the last 50 CI runs to pinpoint non-deterministic selectors and propose deterministic waits. On every scheduled run (0 7 * * 1-5 (7:00 AM Weekdays)) or user invocation: (1) Query read-only state across Playwright MCP, GitHub MCP, Linear 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/wowsI1kYi4Ub1Ca5rPnN9`) 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 (Playwright MCP, GitHub MCP, Linear MCP) and verify read-only discovery first.\n4. Configure the routine schedule (`0 7 * * 1-5 (7:00 AM Weekdays)`) and run a single manual test turn to validate the output schema.\n",
  "primary_category": "engineering",
  "categories_json": "[\"engineering\", \"grok-bot-template\"]",
  "tags_json": "[\"playwright-mcp\", \"github-mcp\", \"linear-mcp\", \"grok-bot\", \"engineering\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Playwright MCP\", \"GitHub MCP\", \"Linear MCP\"]",
  "includes_json": "[]",
  "safety_level": "Ask-First / Human-in-the-Loop",
  "safety_summary": "Verified capability blueprint by @amasad.",
  "share_url": "https://x.ai/bot/wowsI1kYi4Ub1Ca5rPnN9",
  "deep_link_uri": "https://x.ai/bot/wowsI1kYi4Ub1Ca5rPnN9",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "open https://x.ai/bot/wowsI1kYi4Ub1Ca5rPnN9",
  "skill_markdown": "",
  "starter_prompt": "You are Flaky E2E Test Detector & Quarantine Bot (flaky-playwright-test-quarantine-bot), an autonomous engineering agent running on Grok Bot. Mission: Analyzes GitHub Actions and Playwright trace artifacts across the last 50 CI runs to pinpoint non-deterministic selectors and propose deterministic waits. On every scheduled run (0 7 * * 1-5 (7:00 AM Weekdays)) or user invocation: (1) Query read-only state across Playwright MCP, GitHub MCP, Linear 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/wowsI1kYi4Ub1Ca5rPnN9",
  "repo_url": "",
  "creator_handle": "amasad",
  "creator_name": "Amjad Masad (@amasad)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/amasad",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://x.ai/bot/wowsI1kYi4Ub1Ca5rPnN9",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 213,
  "x_bookmarks": 346,
  "x_retweets": 86,
  "x_views": 2982,
  "human_upvotes": 213,
  "human_installs": 213,
  "bot_pulls": 346,
  "pulse_score": 90,
  "gravity_rank_score": 1596,
  "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": "Flaky E2E Test Detector & Quarantine Bot",
  "description": "Analyzes GitHub Actions and Playwright trace artifacts across the last 50 CI runs to pinpoint non-deterministic selectors and propose deterministic waits.",
  "category": "engineering",
  "tags": "[\"playwright-mcp\", \"github-mcp\", \"linear-mcp\", \"grok-bot\", \"engineering\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "amasad",
  "author_name": "Amjad Masad (@amasad)",
  "author_avatar": null,
  "source_tweet_url": "https://x.ai/bot/wowsI1kYi4Ub1Ca5rPnN9",
  "github_url": "",
  "external_url": "https://x.ai/bot/wowsI1kYi4Ub1Ca5rPnN9",
  "upvotes_count": 213,
  "installs_count": 213
}