[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6992184V3ZDYFMX8R0Z2226":3,"skill-same:01M6992184V3ZDYFMX8R0Z2226":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6992184V3ZDYFMX8R0Z2226","meridian-scenario-planner",null,"Generates Scenario Planner data from a fitted Meridian model and exports it for Looker Studio dashboard creation via Colab handoff. Use when the user wants to generate scenario planning data, budget grids, or Looker Studio dashboards from a saved model. Don't use for visualizing model results (use meridian-result-visualization) or running standard budget optimization (use meridian-budget-optimization).","google\u002Fmeridian","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M6991Q88XBX9SPK8Y92MAEWF",1605,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fskills\u002Fmeridian_scenario_planner\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000013","分析与可视化","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"meridian scenario planner","meridian","planner","scenario planner","scenario","running","handoff","when","standard","for","saved","studio","via","creation","use","results","model","Optimization","planning","visualization","dashboard","2026-11-10 10:12:30",false,"---\nname: meridian-scenario-planner\ndescription: >-\n  Generates Scenario Planner data from a fitted Meridian model and exports it for Looker Studio dashboard creation via Colab handoff.\n  Use when the user wants to generate scenario planning data, budget grids, or Looker Studio dashboards from a saved model.\n  Don't use for visualizing model results (use meridian-result-visualization) or running standard budget optimization (use meridian-budget-optimization).\n---\n\n# Meridian Scenario Planner Generation\n\nThis skill guides the agent to generate Scenario Planner data, serialize it as a\nproto file for Colab handoff (zero GCP setup required), and provide the link to\nthe Meridian Looker Studio Scenario Planner Colab notebook.\n\n## Prerequisites\n\n*   The agent must have access to a fitted Meridian model (serialized as\n    `meridian_model.binpb`).\n*   > [!IMPORTANT] `meridian_model.binpb` is a **binary file**. Do NOT try to\n    read its content directly using file viewing tools or grep, as this will\n    produce invalid UTF-8 errors. Always use `meridian_serde.load_meridian()` in\n    a Python script to load it.\n\n## Core Workflow\n\n### Interactivity Checkpoint Rule\n\nThroughout this workflow, you will encounter **CRITICAL INTERACTIVE\nCHECKPOINT**s. At each checkpoint, you MUST:\n\n1.  Present the current proposed configurations, paths, or status to the user\n    for approval.\n2.  Ask the user if they are ready to proceed using the available\n    user-interaction tool (e.g., `ask_question`), structured as a\n    multiple-choice question. Do NOT use raw chat text.\n3.  Wait for their response before proceeding.\n    *   *MANDATORY*: You MUST pause at every checkpoint regardless of the\n        initial prompt instructions (even if the user request contains phrases\n        like \"run autonomously\", \"execute directly\", \"fix autonomously\", etc.).\n        The initial request does NOT bypass these interactive checkpoints.\n    *   *Note*: If the user replies to a checkpoint with a generic approval\n        (e.g., \"proceed\", \"do what you think is best\"), proceed with the\n        proposed defaults.\n\n--------------------------------------------------------------------------------\n\n### 1. Initial Setup\n\n*   Prompt the user for the path to the serialized model file\n    (`meridian_model.binpb` by default).\n*   Prompt the user for the output proto path (default:\n    `model_build\u002Fscenario_planner_data.binpb`).\n*   Prompt the user for the desired path for the generated Python script. **If\n    unspecified, default to `model_build\u002Frun_scenario_planner.py` (or relative\n    to the model directory).**\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the gathered paths to the user\n    and obtain confirmation before configuring spec parameters.\n\n### 2. Configure Scenario Planner Spec & Interactive Checkpoint\n\n*   Prompt the user for the following Scenario Planner spec configurations (or\n    confirm defaults):\n    *   `optimization_name` (String, e.g., \"Scenario Planner\")\n    *   `include_non_paid_channels` (Boolean, default: True)\n    *   Time breakdown: `yearly` (default: False), `quarterly` (default: True),\n        `monthly` (default: False)\n    *   `min_spend_shift_ratio` (Float 0-1, default: 1.0)\n    *   `max_spend_shift_ratio` (Float > 0, default: 1.0)\n    *   `use_optimal_frequency` (Boolean, default: True)\n    *   `max_frequency` (Float > 0, default: 10.0)\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the proposed Scenario Planner\n    spec configurations to the user and obtain approval before continuing to\n    load the model.\n\n### 3. Add Model Loading Code\n\n*   Use `meridian_serde.load_meridian()` to load the model.\n*   See [script_template.md](references\u002Fscript_template.md) for code template.\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the model load path\n    configuration and proposed Python code snippet to the user, and obtain\n    approval before continuing to data generation.\n\n### 4. Add Scenario Planner Data Generation & Colab Handoff Code\n\n*   Create specs for `ModelFitSpec`, `MarketingAnalysisSpec`, and\n    `BudgetOptimizationSpec` using the user-provided configurations.\n*   Use `mmm_ui_gen.create_mmm_ui_data_proto()` to create the proto, including\n    the requested time breakdown generators.\n*   Serialize and save the proto to disk (e.g.\n    `model_build\u002Fscenario_planner_data.binpb`).\n*   Instruct the user to upload the saved file to the Meridian Scenario Planner\n    Colab notebook:\n    `https:\u002F\u002Fcolab.research.google.com\u002Fgithub\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fdemo\u002FMeridian_Scenario_Planner_Beta.ipynb`\n*   See [script_template.md](references\u002Fscript_template.md) for code template.\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the proposed scenario planner\n    spec configuration and export code snippet to the user, and obtain approval\n    before continuing to execution.\n\n### 5. Pre-execution Checkpoint\n\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Ask the user for final confirmation to\n    execute the scenario planner generation script now.\n\n### 6. Execution & Script Setup\n\n*   Write the accumulated Python script to the user-specified path. If your\n    file-writing tool can ask the user to review the written file, don't request\n    that review: the pre-execution checkpoint already asks for approval, and an\n    extra prompt pauses the workflow.\n*   You can use the full script template in\n    [script_template.md](references\u002Fscript_template.md) as a guide.\n*   Execute the script with the Python interpreter of the environment where\n    `google-meridian` is installed: the one the user named; else `python3` if a\n    virtual environment is already active (`VIRTUAL_ENV` or `CONDA_PREFIX` is\n    set); else the project directory's virtual environment (`.venv\u002F` or `venv\u002F`,\n    e.g., `.venv\u002Fbin\u002Fpython3`) if there is one; else `python3`. If `import\n    meridian` fails, ask the user which environment to use instead of searching\n    the machine or installing packages unprompted.\n*   If the script keeps running in the background, wait for it to finish and\n    check its final output before reporting results.\n*   **CRITICAL**: Do **NOT** delete the generated script, output proto files, or\n    deliverables at the end of the task. These are the deliverables requested by\n    the user and must be preserved.\n","# Meridian Scenario Planner Generation\n\nThis skill guides the agent to generate Scenario Planner data, serialize it as a\nproto file for Colab handoff (zero GCP setup required), and provide the link to\nthe Meridian Looker Studio Scenario Planner Colab notebook.\n\n## Prerequisites\n\n*   The agent must have access to a fitted Meridian model (serialized as\n    `meridian_model.binpb`).\n*   > [!IMPORTANT] `meridian_model.binpb` is a **binary file**. Do NOT try to\n    read its content directly using file viewing tools or grep, as this will\n    produce invalid UTF-8 errors. Always use `meridian_serde.load_meridian()` in\n    a Python script to load it.\n\n## Core Workflow\n\n### Interactivity Checkpoint Rule\n\nThroughout this workflow, you will encounter **CRITICAL INTERACTIVE\nCHECKPOINT**s. At each checkpoint, you MUST:\n\n1.  Present the current proposed configurations, paths, or status to the user\n    for approval.\n2.  Ask the user if they are ready to proceed using the available\n    user-interaction tool (e.g., `ask_question`), structured as a\n    multiple-choice question. Do NOT use raw chat text.\n3.  Wait for their response before proceeding.\n    *   *MANDATORY*: You MUST pause at every checkpoint regardless of the\n        initial prompt instructions (even if the user request contains phrases\n        like \"run autonomously\", \"execute directly\", \"fix autonomously\", etc.).\n        The initial request does NOT bypass these interactive checkpoints.\n    *   *Note*: If the user replies to a checkpoint with a generic approval\n        (e.g., \"proceed\", \"do what you think is best\"), proceed with the\n        proposed defaults.\n\n--------------------------------------------------------------------------------\n\n### 1. Initial Setup\n\n*   Prompt the user for the path to the serialized model file\n    (`meridian_model.binpb` by default).\n*   Prompt the user for the output proto path (default:\n    `model_build\u002Fscenario_planner_data.binpb`).\n*   Prompt the user for the desired path for the generated Python script. **If\n    unspecified, default to `model_build\u002Frun_scenario_planner.py` (or relative\n    to the model directory).**\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the gathered paths to the user\n    and obtain confirmation before configuring spec parameters.\n\n### 2. Configure Scenario Planner Spec & Interactive Checkpoint\n\n*   Prompt the user for the following Scenario Planner spec configurations (or\n    confirm defaults):\n    *   `optimization_name` (String, e.g., \"Scenario Planner\")\n    *   `include_non_paid_channels` (Boolean, default: True)\n    *   Time breakdown: `yearly` (default: False), `quarterly` (default: True),\n        `monthly` (default: False)\n    *   `min_spend_shift_ratio` (Float 0-1, default: 1.0)\n    *   `max_spend_shift_ratio` (Float > 0, default: 1.0)\n    *   `use_optimal_frequency` (Boolean, default: True)\n    *   `max_frequency` (Float > 0, default: 10.0)\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the proposed Scenario Planner\n    spec configurations to the user and obtain approval before continuing to\n    load the model.\n\n### 3. Add Model Loading Code\n\n*   Use `meridian_serde.load_meridian()` to load the model.\n*   See [script_template.md](references\u002Fscript_template.md) for code template.\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the model load path\n    configuration and proposed Python code snippet to the user, and obtain\n    approval before continuing to data generation.\n\n### 4. Add Scenario Planner Data Generation & Colab Handoff Code\n\n*   Create specs for `ModelFitSpec`, `MarketingAnalysisSpec`, and\n    `BudgetOptimizationSpec` using the user-provided configurations.\n*   Use `mmm_ui_gen.create_mmm_ui_data_proto()` to create the proto, including\n    the requested time breakdown generators.\n*   Serialize and save the proto to disk (e.g.\n    `model_build\u002Fscenario_planner_data.binpb`).\n*   Instruct the user to upload the saved file to the Meridian Scenario Planner\n    Colab notebook:\n    `https:\u002F\u002Fcolab.research.google.com\u002Fgithub\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fdemo\u002FMeridian_Scenario_Planner_Beta.ipynb`\n*   See [script_template.md](references\u002Fscript_template.md) for code template.\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Present the proposed scenario planner\n    spec configuration and export code snippet to the user, and obtain approval\n    before continuing to execution.\n\n### 5. Pre-execution Checkpoint\n\n*   **CRITICAL INTERACTIVE CHECKPOINT**: Ask the user for final confirmation to\n    execute the scenario planner generation script now.\n\n### 6. Execution & Script Setup\n\n*   Write the accumulated Python script to the user-specified path. If your\n    file-writing tool can ask the user to review the written file, don't request\n    that review: the pre-execution checkpoint already asks for approval, and an\n    extra prompt pauses the workflow.\n*   You can use the full script template in\n    [script_template.md](references\u002Fscript_template.md) as a guide.\n*   Execute the script with the Python interpreter of the environment where\n    `google-meridian` is installed: the one the user named; else `python3` if a\n    virtual environment is already active (`VIRTUAL_ENV` or `CONDA_PREFIX` is\n    set); else the project directory's virtual environment (`.venv\u002F` or `venv\u002F`,\n    e.g., `.venv\u002Fbin\u002Fpython3`) if there is one; else `python3`. If `import\n    meridian` fails, ask the user which environment to use instead of searching\n    the machine or installing packages unprompted.\n*   If the script keeps running in the background, wait for it to finish and\n    check its final output before reporting results.\n*   **CRITICAL**: Do **NOT** delete the generated script, output proto files, or\n    deliverables at the end of the task. These are the deliverables requested by\n    the user and must be preserved.\n",{"name":5,"description":7},"main","271d6c9316f160090adcfe2e4b73dcce78a3edb0","skills\u002Fmeridian_scenario_planner",312,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian","https:\u002F\u002Fdevelopers.google.com\u002Fmeridian","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 11:56:01",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add google\u002Fmeridian --skill meridian-scenario-planner",{"tool":71,"command":72},"bunx","bunx skills add google\u002Fmeridian --skill meridian-scenario-planner",{"tool":74,"command":75},"pnpm","pnpm dlx skills add google\u002Fmeridian --skill meridian-scenario-planner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fskills\u002Fmeridian_scenario_planner\u002FSKILL.md",true,[79],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fscript_template.md","REFERENCE","参考文档",4190,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fskills\u002Fmeridian_scenario_planner\u002Freferences\u002Fscript_template.md",[86,103,121,140],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":93,"publishedAt":50},"01M6991ZTBAGT71YK8FYA4RKVT","meridian-result-visualization","Loads a fitted Meridian model and generates standard visualization reports: Model Results Summary. Use when the user wants to load a saved model and view results (model performance, fit, health). Don't use for running budget optimization (use meridian-budget-optimization) or building\u002Ffitting the model (use meridian-model-building).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fskills\u002Fmeridian_result_visualization\u002FSKILL.md",[92],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[48,30,94,95,96,34,36,37,38,97,39,98,99,43,44,100,45,101,46,102],"meridian result visualization","result","reports","load","loads","fit","view","health","performance",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":110,"publishedAt":50},"01M6991WWEVPXCQREVNT95VP64","meridian-model-building","Guides users through building a Meridian Marketing Mix Modeling (MMM) model. Use when a user wants to load data, map columns, configure ModelSpec, run Exploratory Data Analysis (EDA), fit a model, and save the model. Don't use for visualizing results or creating a scenario planner.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fskills\u002Fmeridian_model_building\u002FSKILL.md",[109],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[111,45,30,38,112,97,113,32,114,115,99,116,43,44,31,36,117,118,119,120],"meridian model building","map","mix","users","guides","configure","exploratory data analysis","marketing mix modeling","data analysis","analysis",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":50},"01M6991VAJ8WFE8KBKNTM6H16F","meridian-doc-consultant","Assists users with questions about Meridian Marketing Mix Modeling and Meridian GeoX geo-experiment concepts, parameters, and best practices by finding and consulting the relevant documentation on developers.google.com\u002Fmeridian. Use when the user asks for explanations or guidance on Meridian MMM or GeoX topics. Don't use for writing code or running models directly.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fskills\u002Fmeridian_doc_consultant\u002FSKILL.md",[],[128,129,30,130,34,9,131,118,132,36,133,38,113,134,114,135,136,43,137,138,139],"consultant","meridian doc consultant","doc","writing","relevant","topics","with","geo","models","best practices","code","documentation",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":149,"publishedAt":50},"01M6991SZPBFVMX04EDK0YH5RV","meridian-budget-optimization","Loads a fitted Meridian model and runs budget optimization scenarios. Use when the user wants to load a saved model and find the optimal budget allocation or target ROI spending. Don't use for visualizing model performance (use meridian-result-visualization) or building\u002Ffitting the model (use meridian-model-building).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fmeridian\u002Fblob\u002Fmain\u002Fskills\u002Fmeridian_budget_optimization\u002FSKILL.md",[146],{"categoryNo":147,"categoryName":148,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000040","财务",[150,151,152,46,30,153,36,95,38,154,97,39,155,98,43,156,45,48,157,102],"budget optimization","meridian budget optimization","Budget","spending","allocation","budget allocation","find","roi"]