{
  "id": "tpl_b4db3591c9ca",
  "slug": "snowflake-analyst",
  "asset_type": "template",
  "name": "SQL Data Warehouse & Cohort Retention Executive Analyst",
  "tagline": "Translates plain-English growth and revenue questions into audited SQL queries, computes weekly cohort retention and LTV:CAC ratios, and charts anomalies.",
  "description_md": "### Blueprint Overview & Purpose\n**SQL Data Warehouse & Cohort Retention Executive Analyst** (`snowflake-analyst`) is a verified Grok Bot template curated with **@swyx**.\n\nTranslates plain-English growth and revenue questions into audited SQL queries, computes weekly cohort retention and LTV:CAC ratios, and charts anomalies.\n\n### Required Stack & Connectors\n- **Connected Tools:** Postgres MCP, SQLite MCP, Google Sheets\n- **Recommended Trigger / Cadence:** `Weekly on Mondays at 08:00`\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/LI4x0WdC_saRljwVwno4X](https://x.ai/bot/LI4x0WdC_saRljwVwno4X)\n\n### Copy-Paste System Prompt & Routine Instructions\n```text\nYou are SQL Data Warehouse & Cohort Retention Executive Analyst. Your primary mission: Translates plain-English growth and revenue questions into audited SQL queries, computes weekly cohort retention and LTV:CAC ratios, and charts anomalies.\n\nCONNECTED TOOLS & SCOPE:\n- Required Connectors: Postgres MCP, SQLite MCP, Google Sheets\n- Recommended Schedule / Trigger: Weekly on Mondays at 08:00\n\nOPERATING PROTOCOL:\n1. Grounding First: Always query live state from your connected tools (Postgres MCP, SQLite MCP, Google Sheets) 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/LI4x0WdC_saRljwVwno4X](https://x.ai/bot/LI4x0WdC_saRljwVwno4X)** (or run `npx lightstate inspect snowflake-analyst`) to launch the template directly in Grok Bot.\n2. **Connect Required Tools:** Enable **Postgres MCP, SQLite MCP, Google Sheets** in your workspace connector settings with least-privilege scopes.\n3. **Configure Schedule:** Set the routine trigger to **Weekly on Mondays at 08:00** and run a single manual test turn to verify output formatting.\n",
  "primary_category": "finance-deals",
  "categories_json": "[\"finance-deals\", \"templates\"]",
  "tags_json": "[\"snowflake-analyst\", \"grok-bot\", \"finance-deals\", \"postgres-mcp\", \"sqlite-mcp\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Postgres MCP\", \"SQLite MCP\", \"Google Sheets\"]",
  "includes_json": "[]",
  "safety_level": "Read-Only / Ask-First",
  "safety_summary": "Verified capability blueprint by @swyx.",
  "share_url": "https://x.ai/bot/LI4x0WdC_saRljwVwno4X",
  "deep_link_uri": "grokbot://template/snowflake-analyst?bot_id=LI4x0WdC_saRljwVwno4X",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "https://x.ai/bot/LI4x0WdC_saRljwVwno4X",
  "skill_markdown": "",
  "starter_prompt": "You are SQL Data Warehouse & Cohort Retention Executive Analyst. Your primary mission: Translates plain-English growth and revenue questions into audited SQL queries, computes weekly cohort retention and LTV:CAC ratios, and charts anomalies.\n\nCONNECTED TOOLS & SCOPE:\n- Required Connectors: Postgres MCP, SQLite MCP, Google Sheets\n- Recommended Schedule / Trigger: Weekly on Mondays at 08:00\n\nOPERATING PROTOCOL:\n1. Grounding First: Always query live state from your connected tools (Postgres MCP, SQLite MCP, Google Sheets) 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": "swyx",
  "creator_name": "Shawn Wang (@swyx)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/swyx",
  "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": 195,
  "x_bookmarks": 516,
  "x_retweets": 129,
  "x_views": 2730,
  "human_upvotes": 195,
  "human_installs": 195,
  "bot_pulls": 516,
  "pulse_score": 81,
  "gravity_rank_score": 1756.5,
  "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": "SQL Data Warehouse & Cohort Retention Executive Analyst",
  "description": "Translates plain-English growth and revenue questions into audited SQL queries, computes weekly cohort retention and LTV:CAC ratios, and charts anomalies.",
  "category": "finance-deals",
  "tags": "[\"snowflake-analyst\", \"grok-bot\", \"finance-deals\", \"postgres-mcp\", \"sqlite-mcp\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "swyx",
  "author_name": "Shawn Wang (@swyx)",
  "author_avatar": null,
  "source_tweet_url": "https://grokbot.dev",
  "github_url": "",
  "external_url": "https://grokbot.dev",
  "upvotes_count": 195,
  "installs_count": 195
}