← Plugin catalog
Productivity

WorkMagic

WorkMagic v1.0.2

Attribution, lift tests & MMM

Create a free account to save this plugin.

From the developer

Cost & access

This plugin does not sell products or process payments.

Declared limitations

  • Destructive ad-platform action the plugin does not perform.
  • Access to data outside the connected account (tenant isolation).
  • Request for raw personal data the plugin does not expose.

Not specified in the available declarations: capabilities.

Onboarding example

What was my Meta ROAS last week?
Sources & dates

Developer declarations; not independently tested. Listing last checked Nov 30, 2026. Package observed Nov 30, 2026.

View package source →

Description

From the marketplace listing

Ask questions about your WorkMagic attribution data, diagnose swings, compare attribution models, read lift test results, and plan media budgets — using your own WorkMagic account through the WorkMagic MCP server.

Language: English · Automatically detected from descriptions.

Changes

No changes recorded yet. Follow this plugin to keep track of future changes.

First seen Nov 17, 2026. Last seen Nov 30, 2026.

Similar plugins

Finding similar plugins… Results will appear here automatically.

Browse plugins →

Keywords

Files & skills

File archives

Plugin package113 files · 320 KBBrowse files →
Skill instructions
attribution-anomaly-diagnosis10.5 KB

View saved version →

---
name: attribution-anomaly-diagnosis
description: Diagnose "why" questions about attribution anomalies — attribution=0 (no attributed orders), and sudden drops, spikes or retroactive changes in attributed numbers. Do NOT use for "show me numbers" — that's attribution-data-query.
metadata:
  category: attribution
  risk: R0
  version: 1.2.0
  last-updated: 2026-09-23
  references:
  - references/basic-checks.md
  - references/model-branches.md
  - references/fallback-structure.md
  - references/scenario-snippets.md
  - references/output-template.md
  - references/edge-cases.md
  - references/failure-modes.md
  templates:
  - templates/01-scope-lookup.txt
  - templates/02-spend-vs-attribution.txt
  - templates/03-measurement-readiness.txt
  - templates/04-utm-health.txt
  - templates/05-click-distribution.txt
  - templates/06-dda-vs-anyclick.txt
  - templates/07-lift-test-results.txt
  examples:
  - examples/example-A-meta-roas-drop.md
---

## 1. Purpose

Diagnose **"why" questions** about attribution anomalies — specifically **attribution = 0** (a tactic shows no attributed orders) and **attribution swings** (sudden drops / spikes / retroactive changes to historical numbers). 5-step diagnostic tree → internal report + client-facing explanation.

> **Shared conventions (canonical elsewhere — don't re-derive):** attribution model default + aliases and sales-platform scope + measurement identity live in **`attribution-data-query`** (`references/attribution-model.md`, `references/sales-platform-scope.md`); follow those (load the `attribution-data-query` skill from this plugin if it isn't loaded). Note this skill reads MMM-calibrated measures (`calibrated_*`) for some checks — a *different* measure from the `attr_*` the other skills use; keep them clearly labeled so a $ figure here is never confused with an attributed-sales figure. (Open question flagged to DS — see the team doc.)

**Do NOT use this skill for "show me the numbers" queries** — those belong to `attribution-data-query`.

## 2. When to trigger

Trigger when user is asking **why** attribution looks wrong, not just **what** the numbers are.

**Do NOT trigger**:

- User just wants the numbers (no "why") → `attribution-data-query`
- User wants to compare two models on purpose → `attribution-model-comparison`
- Anomaly is on an out-of-scope channel/tenant → `attribution-edge-routing`

## 3. Inputs

| **Field** | **Required?** | **Notes** |
|-|-|-|
| `tenant_id` | Required | Injected by platform-mcp; never appears in SQL filters |
| `ads_platform` | Required | Meta / Google / TikTok / Pinterest / Snap / Amazon Ads... |
| `tactic_name` | Optional | If not given, scan all and pick biggest contributor to the anomaly |
| `sales_platform` | Required | Amazon Store / Shopify / TikTok Shop. Attribution is computed **per sales platform**; wrong combo (Amazon Ads → Shopify) always returns 0 by design. |
| `attribution_model` | Optional | `idda`(32) / `dda`(31) / `last_click`(1) / `first_click`(2) / `any_click`(21). If unspecified, Step 1 scans all to locate which is broken. SQL dimension: `attr_model_name`. |
| `metric` | Required | `roas` / `attr_orders` / `attr_new_customer_orders` / `cac` |
| `anomaly_period` | Required | Window where the user sees the anomaly |
| `baseline_period` | Optional | Comparison window. Default: same-length period immediately before `anomaly_period`. |

**Ask for missing required fields once before running diagnostics.**

## 4. SOP

**Step 0: `database-query-ask` (MANDATORY)** — produces the `ctx` timestamp `database-query-run` requires. Skipping fails at execution.

**Step 1: Lock the scope** — pinpoint *whose* attribution is broken before diagnosing why. If `attribution_model` is unspecified, compare all models in anomaly vs baseline windows to find which one diverged.

<callout emoji="🛑">
**HARD RULE — copy a template first, then fill placeholders**
BEFORE writing any SQL, **copy from `templates/`**:
- `templates/01-scope-lookup.txt` — Step 1 cross-

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 15 — file references are metadata, not package contents.

attribution-custom-dimension10.4 KB

View saved version →

---
name: attribution-custom-dimension
description: Handle attribution queries sliced by a business label ("by audience" / "by region" / "by brand") that is not a native field — it lives in campaign names and only becomes queryable once a Naming Convention (NC) rule is configured.
metadata:
  category: attribution
  risk: R1
  version: 1.2.1
  last-updated: 2026-09-28
  references:
  - references/state-routing.md
  - references/output-template.md
  - references/edge-cases.md
  - references/failure-modes.md
  templates:
  - templates/01-sample-campaign-names.txt
  - templates/02-nc-sanity-check.txt
  - templates/proposal-message.md
  examples:
  - examples/example-A-audience-state-c.md
---

## 1. Purpose

Handle queries that slice attribution data by a **business label** (e.g., "by region", "by audience", "by brand", "by product line") where the label isn't a native field — it lives inside campaign names and only becomes a real dimension once a **Naming Convention (NC)** rule is configured for the tenant.

This skill detects NC state, guides configuration when needed in business language, and continues the original query after configuration. **The user should rarely (ideally never) have to leave the chat to set up NC themselves.**

> **Shared conventions + output mode:** the final data answer is produced by `attribution-data-query` (handoff), so it inherits that skill's conventions and **output threshold** — a "by <label>" breakdown is report-shaped and comes back as a live **artifact**, not a wall of table. Sales-platform scope + attribution model are canonical in `attribution-data-query` (`references/attribution-model.md`, `references/sales-platform-scope.md`); don't re-derive them here.

## 2. When to trigger

Trigger when the user asks for data **"by <business term>"** where the term isn't a built-in WM dimension.

**Detection rule**: after `dashboard-metrics-list` with the tenant's `tenantId`, if the requested dimension term isn't in the returned property list (built-in or NC-derived), this skill takes over.

**Do NOT trigger**:

- Dimension is already a built-in field (`ads_platform`, `campaign_name`, `tactic_name`, etc.) → `attribution-data-query`
- Dimension is already an NC-derived property the tenant has configured → `attribution-data-query` (just use the propertyName as returned)
- User is asking about NC configuration in general ("how does NC work?") → answer from `database-query-ask` without entering this skill

## 3. Inputs

| **Field** | **Required?** | **Notes** |
|-|-|-|
| `business_term` | Required | User's natural-language label (e.g., "audience", "region", "brand"). Preserve as candidate propertyName — rephrase later if the tenant already has a slightly different name. |
| `nc_state` | Detected, not asked | One of: **A) configured + property exists**, **B) configured + property missing**, **C) not configured at all**. Determined by `naming-convention-list` + `dashboard-metrics-list`. |
| `tenantId` | Required for tool calls | Pass to `dashboard-metrics-list` for tenant-specific NC propertyNames. Pass to `naming-convention-list` to read existing rules. |
| `original_query` | Required | The full attribution-data-query intent the user came in with (metric, time range, filters). Preserve so we can pick it up after NC config completes. |

## 4. SOP

**Step 1: Detect NC state** — two parallel calls:

1. `dashboard-metrics-list` with `tenantId` → list of available propertyNames (built-in + NC-derived)
2. `naming-convention-list` with `tenantId` → existing NC rules (separators, position, property mappings)

Combine both to classify the tenant state:

| **State** | **How to detect** | **Next step** |
|-|-|-|
| **A. Configured + property exists** | Requested term (fuzzy match, case-insensitive) appears in `dashboard-metrics-list` propertyNames | Use the propertyName **exactly as returned (case-sensitive)** and route to `attribution-data-query`. **Stop here** — no NC interaction visible to user. |
| **B. Configured + p

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 8 — file references are metadata, not package contents.

attribution-data-query12.6 KB

View saved version →

---
name: attribution-data-query
description: Translate explicit data requests into Cube.dev SQL and return results. Default skill for query-type asks in the Attribution domain. No estimation, no fabrication, no proactive dashboards.
metadata:
  category: attribution
  risk: R0
  version: 1.4.0
  last-updated: 2026-09-23
  references:
  - references/time-range-resolution.md
  - references/attribution-model.md
  - references/sales-platform-scope.md
  - references/granularity-default.md
  - references/sql-examples.md
  - references/edge-cases.md
  - references/failure-modes.md
  templates:
  - templates/01-channel-roas.txt
  - templates/02-top-n-campaigns.txt
  - templates/03-period-over-period.txt
  - templates/04-creative-headlines.txt
  - templates/05-actual-store-sales.txt
  examples:
  - examples/example-A-meta-roas-last-week.md
---

# attribution-data-query

## 1. Purpose

Translate the user's explicit data request into a precise Cube.dev SQL query and return results. **No estimation, no fabrication, no proactive dashboard creation.** This is the default skill for all query-type requests in the Attribution domain.

## 2. When to trigger

**Trigger condition**: the user's request explicitly states (or strongly implies) **most** of:

- A specific metric (ROAS, spend, new_customers, conversion_rate, etc.)
- A specific dimension (channel, campaign, creative, sales_channel)
- A time range (explicit or common phrasing like "last week", "last 30 days")
- Optional: filters, attribution model, sort order

**Examples that should NOT trigger — route to another skill instead**:

| Input pattern | Route to |
|---|---|
| Ambiguous request ("Show me my numbers" / "How is Meta doing") | `attribution-intent-clarification` |
| "Why" question ("Why did sales drop?") | `attribution-anomaly-diagnosis` |
| Comparing 2+ attribution models ("Compare iDDA vs last_click") | `attribution-model-comparison` |
| Business-label dimension ("by region" / "by audience" / "by brand") | `attribution-custom-dimension` |
| "Create / build a dashboard" | build a live-data dashboard **artifact** — the `dashboard` skill (an html/react live view), not a native platform dashboard. For a **recurring business review** ("weekly overview", "monthly review"), build the same live view with the prior period alongside for comparison |
| "Send me a weekly/daily report" | Build the live view, then explain that scheduled delivery isn't available in this plugin yet; the user can set it up in the WorkMagic app |

## 3. Inputs

**Fields to parse from user input**:

| Field | Required? | Description / default |
|---|---|---|
| dataset | Required | One of: channel_attribution (by channel) / ads_attribution (by campaign/ad) / creative_attribution (by creative) / order_sales (raw orders, no attribution split). Infer from user phrasing; never ask user to pick a DataSet name. |
| metric | Required | Extract from user input. Always call dashboard-metrics-list to validate the field name before using it. Never guess. |
| dimension | Required | Validate against dashboard-metrics-list. For ads_attribution / creative_attribution with NC dimensions (Product Group, Asset Type, Creator name, etc.), pass tenantId to fan out tenant-specific propertyNames. |
| time_range | Has default | Default: past 7 days. When user doesn't specify, use the default and inform them in one sentence ("Defaulting to the past 7 days — let me know if you want a different window"). Do not ask back. |
| attribution_model | Has default | Resolved per §3.2. Filter via WHERE attr_model_name = '<resolved>'. |
| sales_platform_scope | Has default | **Default: all sales platforms** — use `attr_all_sales` / `attr_all_orders`, NOT Shopify-only. Use `attr_shopify_sales` only when the user explicitly asks for Shopify / DTC alone. Per-platform breakdown via the dedicated measures → `references/sales-platform-scope.md`. |
| filters | Optional | Extract from input ("only Meta", "ROAS > 2", "exclude test"). |
| order_by / limit | Op

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 13 — file references are metadata, not package contents.

attribution-edge-routing10.3 KB

View saved version →

---
name: attribution-edge-routing
description: Recognize when a user request falls outside attribution's capability boundary and route it gracefully — to another WM product (MBO / Lift Test / Creative Magic / Ads Magic / Audience Magic), to a human (CSM / DS / Eng), or to a clean decline that bridges back to what attribution can answer.
metadata:
  category: attribution
  risk: R0
  version: 1.1.0
  last-updated: 2026-09-23
  references:
  - references/boundary-types.md
  - references/routing-matrix.md
  - references/output-template.md
  - references/wm-products.md
  - references/edge-cases.md
  - references/failure-modes.md
  templates:
  - templates/routing-response.md
  examples:
  - examples/example-A-forecast-ask.md
---

## 1. Purpose

Recognize when a user request falls **outside attribution's capability boundary** and route it gracefully — either to another WM product (MBO / Lift Test / Creative Magic / Ads Magic / Audience Magic), to a human (CSM / DS / Eng), or to a clean decline with a bridge to what attribution *can* answer.

Exists to **prevent fabrication** (the worst failure mode in this domain) and to keep boundary cases from feeling like a dead end. **Cold refusals destroy trust; graceful redirects preserve it.**

> **Shared conventions (canonical elsewhere — don't re-derive):** when a routing message names a limit or a next step, the attribution model + sales-platform scope conventions are canonical in **`attribution-data-query`** (`references/attribution-model.md`, `references/sales-platform-scope.md`). And "create/build a dashboard" now routes to the **`dashboard` skill** (live artifact) — there is no native custom-report skill anymore, and the platform's dashboard **write** tools are deliberately unused (§7 rule 9).

## 2. When to trigger

Trigger when the user asks for something attribution cannot answer. **Four boundary types**:

| **Type** | **Definition** | **Example** |
|-|-|-|
| **A. Other-product** | Within WM but outside attribution. Needs MBO / Lift Test / Creative Magic / Ads Magic / Audience Magic. | "Forecast my Meta ROAS for next quarter" → MBO |
| **B. Out-of-scope** | Not a WM capability at all. Different tooling / methodology. | "Show me my organic search rankings" |
| **C. Tenant boundary** | WM could answer in principle, but this tenant lacks the data — channel not integrated, data window too short, sales platform not connected. | "Show me TikTok ROAS" when TikTok isn't integrated |
| **D. Data latency** | WM has the capability + integration, but the data isn't ready yet — recent events not yet processed (T+1 / T+2 / PPS backfill). | "What was yesterday's ROAS?" when data lands T+1 and it's morning |

Detailed boundary type definitions + classification examples → `references/boundary-types.md`

**Do NOT trigger**:

- Request is genuinely answerable by another attribution skill — route there directly (this skill isn't a clearing house for ambiguity; that's `attribution-intent-clarification`)
- Request has a documented default the user is just unaware of (e.g., "what's our attribution model?" → answer it, don't escalate)

## 3. Inputs

| **Field** | **Required?** | **Notes** |
|-|-|-|
| `boundary_type` | Required (detected) | A / B / C / D. Misclassifying leads to wrong routing — be careful. |
| `user_intent_summary` | Required | One-sentence restatement of what user is trying to accomplish (not just the literal words). Used to find the closest alternative. |
| `nearest_supported_question` | Required | The closest thing attribution **can** answer that gets the user partway there. Offered as a bridge, not a substitute. |
| `routing_target` | Required | Where to send: another WM product (with link / activation path), CSM, DS, Eng, or clean decline. |
| `tenant_status` | Conditional (Type C) | Which integration is missing, what data range is available, which sales platforms are connected. Pull via `tenant-list` and `database-query-ask`. |

## 4. SOP

**Step 1: Classify the boundary type** — ru

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 8 — file references are metadata, not package contents.

attribution-intent-clarification5.65 KB

View saved version →

---
name: attribution-intent-clarification
description: Resolve genuinely ambiguous attribution queries by asking ONE focused clarifying question, then hand off to attribution-data-query (or another skill). Never become a wall of questions.
metadata:
  category: attribution
  risk: R0
  version: 1.1.0
  last-updated: 2026-09-23
  references:
  - references/ambiguity-types.md
  - references/output-template.md
  - references/edge-cases.md
  - references/failure-modes.md
---

## 1. Purpose

Resolve **genuinely ambiguous** attribution queries by asking **one focused clarifying question**, then hand the resolved query off to `attribution-data-query` (or another skill). Exists so we don't silently guess on multi-meaning inputs — but it must **never become a wall of questions**.

> **Shared conventions (canonical elsewhere — don't re-derive):** attribution model default + aliases and sales-platform scope + measurement identity are canonical in **`attribution-data-query`** (`references/attribution-model.md`, `references/sales-platform-scope.md`); when you state a default in an option, use those (load the `attribution-data-query` skill from this plugin if it isn't loaded). Note the default **time window is task-specific and not a contradiction**: a simple query defaults to 7 days, a model comparison to 30 days (needs signal) — state whichever you're using.

## 2. When to trigger

**Trigger** when the user's request has **≥ 2 plausible interpretations** on a dimension that materially changes the answer.

**5 ambiguity types** (detailed examples → `references/ambiguity-types.md`):

- **Granularity** — channel / campaign / creative?
- **Metric** — by ROAS / spend / orders / new customers?
- **Sales-platform** — Amazon Store / Shopify / TikTok Shop? (attribution computed per sales platform)
- **Scope** — which channels / window / vs what?
- **Comparison / Subject** — best by what / which window?

**Do NOT trigger** when:

- The request is clear enough that a sensible default exists (use the default + tell the user)
- The ambiguity is on a field with a documented default (time window → 7 days; attribution model → idda/dda)
- Tenant has only **one** sales platform connected — use it as default, no question. Only clarify when 2+ connected.
- The request belongs to another skill (route, don't clarify)

## 3. Inputs

| **Field** | **Description** | **Example** |
|-|-|-|
| `ambiguity_type` | One of the 5 types. If none — exit this skill. | Granularity |
| `candidate_interpretations` | 2–4 plausible readings. **Concrete + mutually exclusive.** | ["by channel", "by campaign", "by creative"] |
| `known_anchors` | Non-ambiguous parts of input — keep these fixed | "Meta", "last 30 days" |
| `default_if_user_skips` | Fallback interpretation. State it in the same message. | "by campaign" |

## 4. SOP

**Step 1: Detect ambiguity type** — scan against the 5 types. None apply (or only a defaulted field is unclear) → **exit** and route to `attribution-data-query` with the default.

**Step 2: Build 2–4 candidate interpretations**

- Each is a **complete executable query** in business language, not a half-question
- **Mutually exclusive** — picking one excludes the others
- Cap at 4 — > 4 means input is too vague; go up a level and ask the most pivotal axis first

**Step 3: Anchor what's known** — restate parsed parts ("Meta · last 30 days") so the question doesn't re-ask them. Trust signal.

**Step 4: Pick a sensible default** — choose the most likely interpretation as fallback. State it in the same message.

**Step 5: Ask ONE question**

- Format: anchor + question + 2–4 numbered options + default note
- **Business language**, not field names ("by campaign", not `campaign_name`)
- **Never stack multiple questions** — pick the most pivotal axis only
- User waves off ("just pick one", "you decide") → use the default immediately and run
- Output template → `references/output-template.md`

**Step 6: Route resolved query** — once user picks (or accepts default)

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 4 — file references are metadata, not package contents.

attribution-model-comparison9.62 KB

View saved version →

---
name: attribution-model-comparison
description: Pull attribution numbers under multiple attribution models side-by-side and explain why they differ in business language. Default 4-way comparison (idda / dda / last_click / platform_reported).
metadata:
  category: attribution
  risk: R0
  version: 1.2.0
  last-updated: 2026-09-23
  references:
  - references/model-reference.md
  - references/diff-patterns.md
  - references/output-template.md
  - references/edge-cases.md
  - references/failure-modes.md
  templates:
  - templates/01-multi-model-comparison.txt
  examples:
  - examples/example-A-meta-multi-model.md
---

## 1. Purpose

Pull attribution numbers under **multiple attribution models side-by-side** and explain **why they differ**, using business-language interpretation grounded in how each model works. Exists because users frequently see different numbers in different places (WorkMagic dashboard vs Meta Ads Manager vs Google Ads) and want to understand the discrepancy.

> **Shared conventions (canonical elsewhere — don't re-derive):** attribution model default + aliases and sales-platform scope + measurement identity live in **`attribution-data-query`** (`references/attribution-model.md`, `references/sales-platform-scope.md`); follow those (load the `attribution-data-query` skill from this plugin if it isn't loaded). This skill's `references/model-reference.md` owns only the model↔`model_id` SQL mapping.

**This skill is NOT**:

- Diagnosis of why a single model dropped → `attribution-anomaly-diagnosis`
- Judgment of which model is "correct" — give situational guidance only if asked; never push one as the right answer
- A pure data pull — must include the interpretation step

## 2. When to trigger

Trigger when user wants to **compare attribution under different models**.

**Do NOT trigger**:

- User wants a single model's number → `attribution-data-query`
- User asks "why did X drop?" on a single model → `attribution-anomaly-diagnosis`
- Pure educational ("what is iDDA?") → answer from `database-query-ask` without pulling data

## 3. Inputs

| **Field** | **Required?** | **Default / Notes** |
|-|-|-|
| `models` | Has default | **DTC sales platform**: `[idda, dda, last_click, platform_reported]`  <br/>**Non-DTC sales platform**: `[idda, dda, platform_reported]` (no click-based models — see references/model-reference.md) |
| `ads_platform` | Required | Meta / Google / TikTok / Pinterest / Snap / Amazon Ads / "all" |
| `sales_platform` | Has default | If 1 connected → use it; if multiple → ask once. **Never mix sales platforms in one comparison row.** |
| `metric` | Has default | `attr_orders` + `roas` (most commonly compared). If user specifies one, use it. |
| `dimension` | Has default | By `ads_platform` (channel level). "All channels" / "across channels" → channel level. Named single channel → drill to `tactic_name` or `campaign_name`. |
| `time_range` | Has default | **Past 30 days.** Model comparison needs enough volume to be stable; 7 days is too noisy. |

**Model → model_id mapping + DTC vs non-DTC availability** → `references/model-reference.md`

## 4. SOP

**Step 1: Parse the request**

- Identify which models user wants. 0 specified → use default 4-way (DTC) or 3-way (non-DTC). 1 specified → assume comparison against default set; ask once to confirm. 2+ specified → use exactly what they named.
- Check tenant has `idda` available by probing for `attr_model_name = 'idda'` data via `dashboard-metrics-list` or a quick `database-query-run` count on model 32 — **not via `lift-test-list`** (a tenant can have ran lift tests historically without having current iDDA data). If no model 32 data, replace `idda` with `dda` in the default set and inform the user.
- Cap at **6 models**; more than that is unreadable.

**Step 2: `database-query-ask` (MANDATORY)**

- How to query multiple models in one SQL via `attr_model_name` / `attr_model_array`
- Mechanism diff between the chosen models (powers Step 6 interpretation)
- Whe

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 7 — file references are metadata, not package contents.

lift-test-readout9.67 KB

View saved version →

---
name: lift-test-readout
description: Read and act on completed lift test results — interpret iROAS, confidence scores, and turn the data into a post-test decision.
metadata:
  category: lift-test
  risk: R0
  version: 1.1.1
  last-updated: 2026-10-26
  references:
  - references/test-resolution.md
  - references/terminology.md
  - references/sop-detail.md
  - references/output-templates.md
  - references/edge-cases.md
  - references/failure-modes.md
---

## Purpose

How to read and act on lift test results — interpreting incremental ROAS, confidence scores, and making post-test decisions. This skill turns a completed test’s raw output into a concise, decision-oriented readout: the headline numbers, what they mean in context, and what to do next. Default interpretation skill in the Lift Test domain.

## When to trigger

**Trigger condition**: The user is asking about results, performance, or implications of one or more completed lift tests.

**Examples that should NOT trigger this skill — route to another skill instead**:

| **Input pattern** | **Route to** |
|-|-|
| “Create a lift test for me” / “set up a Meta test” | Not covered by this plugin yet — point the user to Lift Tests in the WorkMagic app, or their CSM |
| “What is iROAS?” / “what does PTM mean?” (concept, no specific test) | `database-query-ask` |
| “My test failed — can you fix it?” / “should I rerun this?” / “how do I unblock an inconclusive result” | `lift-test-diagnosis` |
| Status / progress only (“is my test still running”, “when will it end”) — no result interpretation needed | Plain test-status query, handle inline |
| “Compare two creatives” / “compare lift across two time periods” | Out of scope — route to CSM |

**Boundary with diagnosis**: This skill explains **what the result means** (“not significant means the data couldn’t rule out zero lift”). The diagnosis skill handles **what to do to fix or rerun it** (“here’s why your test came back inconclusive and the three things to change before rerunning”). When the user’s question mixes both (“Amazon is not significant — what should I do?”), readout handles the explanation, then suggests routing to diagnosis for the remediation path.

## Inputs

**Core fields**:

| **Field** | **Required?** | **Description / default** |
|-|-|-|
| testIdentifier | Required | Test ID, test name, or natural-language reference (“my last Meta test”, “the TikTok test from March”). If the user didn’t name one, resolve via §3.1. |
| salesPlatformScope | Has default | Which sales-platform tab to read: All / Primary store / a specific marketplace. Default to **All** unless the user names one (“how did Amazon do”) or the test only has one channel. |
| timeframe | Optional | Used only for multi-test queries (“last 3 tests”, “tests from Q1”). Single-test reads ignore this. |
| keyMetric | Auto | Pulled from the test’s stored primaryMetric field (orders / new_customers). Don’t ask. |
| decisionContext | Optional | If the user asks a decision question (“should I scale Meta”), capture which direction they’re considering. Don’t ask if they didn’t volunteer it — go straight to the standard recommendation framework in §6. |

Terminology rules (DB field → UI label, store-family names, number formatting) → references/terminology.md.

## SOP

### 4.1 Steps

1. **Resolve the test(s).** Apply rules in references/test-resolution.md. If ambiguous, surface candidates and ask — don’t guess. If test is still running, surface status and stop.
2. **Pull the data.** From lift-test-get: primary metric, ad spend, calibration status, test window dates. From lift-test-readout: per-sales-platform metric rows, confidence score, significance flag from extra_info JSON. Detail → references/sop-detail.md.
3. **Pick the read shape** based on user intent — see §4.1 below.
4. **Build the readout following the rubric.** Connect every metric to an implication, pair lift with confidence score, use comparative framing only when reference is in the data, no evaluative

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 4 — file references are metadata, not package contents.

mbo-create-scenario13.4 KB

View saved version →

---
name: mbo-create-scenario
description: Turn a natural-language ask about media budget optimization into a configured MBO scenario — "how should I split my budget", "how much should I spend on X". Also handles rename, edit and delete on existing scenarios.
metadata:
  category: mbo
  risk: R1
  version: 1.1.0
  last-updated: 2026-09-23
  references:
  - references/inputs-detail.md
  - references/reference-period-rules.md
  - references/budget-parsing.md
  - references/saturation-tactics.md
  - references/constraint-conflicts.md
  - references/preview-format.md
  - references/deliver-flow.md
  - references/modify-flow.md
  - references/edge-cases.md
  - references/failure-modes.md
  - references/key-concepts.md
  templates:
  - templates/scenario-preview.md
  - templates/saturation-proposal.md
  examples:
  - examples/example-october-budget.md
---

## 1. Purpose

Take a user's natural-language ask about media budget optimization ("how should I split \$500K across Meta and Google next month?") and turn it into a properly configured **MBO scenario** — collecting required settings, parsing budgets / goals / constraints from natural language, validating provisioning + scope, and creating the scenario via `budget-optimizer-create`. Also handles **modify** intents (rename, change inputs, delete) on existing scenarios.

Different from `mbo-read-scenario` (interpret existing results) and from attribution skills (historical data / why questions). MBO is **forward-looking** — it produces a plan.

## 2. When to trigger

Trigger when the user wants **forward-looking budget allocation guidance** or wants to **modify an existing scenario's inputs**.

## 3. Inputs

MBO has 9 scenario settings. The skill must mirror UI defaults — if UI has a default, the skill applies it automatically and surfaces it via `appliedDefaults` in the preview so the user can override.

Top-level summary of each setting (required vs default):

| **Field** | **Required vs default** | **Default value** |
|-|-|-|
| `level` | Has default | `tactic` |
| `channels` | Has default | All available under outcome + level |
| `sales_platform` | Has default | All Ready platforms (combined) |
| `optimization_period` | Required | Next ISO week (Mon → Sun) |
| `reference_period` | **Required (always ask)** | Propose same-length window immediately prior, clamped to MMM model window |
| `goalMethod` | Has default | `maximum` |
| `optimization goal` | Has default | `sales` |
| `budget` + `budgetChangeType` | Conditional (when `goalMethod=maximum`) | `percentage=100` (keep flat) |
| `goalTarget` | Conditional (when `goalMethod=target`) | No default — must ask |
| `budget_constraints` | Has default | None (model runs free) |
| `perChannelBudgetChecked` | Has default | `false` |

Full per-field semantics, parsing rules and budget percentage math live in references/inputs-detail.md. Reference-period rules including the HARD PRECONDITION on `model_window.end` live in references/reference-period-rules.md.

## 4. SOP

### Step 1: Check that MBO is provisioned

- MBO is feature-gated; check the tenant's provisioning status directly. Don't re-derive eligibility at runtime from lift tests + iDDA calibration — that's the backend's job.
- One call: `budget-optimizer-list`. Success → MBO is enabled; 403 / not-provisioned → not enabled, exit.
- If not provisioned → don't collect settings. One-line message: "MBO isn't enabled on your account yet — contact your CSM to turn it on."

### Step 2: Detect intent type

- **Create new scenario** — most common
- **"How much should I spend on X?"** — recommendation question; only honest answer requires running a scenario. Do not search list, do not pull historical. Lead with: "The optimal budget depends on your total spend, time window, and goal — let me build a scenario to answer that." Then collect inputs.
- **Modify existing scenario** — user names an existing scenario + wants to change something. Locate via `budget-optimizer-list`, branch to modify flow

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 14 — file references are metadata, not package contents.

mbo-read-scenario10.1 KB

View saved version →

---
name: mbo-read-scenario
description: Interpret existing MBO scenario results — read one, compare two, or reconcile MBO against attribution, lift tests, or actual spend. Read-only; "how much should I spend" goes to mbo-create-scenario.
metadata:
  category: mbo
  risk: R0
  version: 1.1.0
  last-updated: 2026-09-23
  references:
  - references/inputs-detail.md
  - references/mode-detection.md
  - references/basic-read-mode.md
  - references/scenario-compare-mode.md
  - references/mbo-vs-attribution-mode.md
  - references/mbo-vs-lift-test-mode.md
  - references/mbo-vs-actual-mode.md
  - references/interpretation-playbook.md
  - references/term-usage.md
  - references/output-format.md
  - references/edge-cases.md
  - references/failure-modes.md
  - references/key-concepts.md
  templates:
  - templates/basic-read-output.md
  - templates/scenario-compare-output.md
  - templates/mbo-vs-attribution-output.md
  - templates/mbo-vs-lift-test-output.md
  examples:
  - examples/example-goal-vs-projection-mismatch.md
---

## 1. Purpose

Help users **interpret existing MBO scenario results** — five modes: **basic_read** / **scenario_compare** / **mbo_vs_attribution** / **mbo_vs_lift_test** / **mbo_vs_actual**. What each mode covers → references/mode-detection.md; detection in §4 Step 3, branch references in §4 Step 7.

Different from `mbo-create-scenario` (creates / modifies a scenario) and from `attribution-anomaly-diagnosis` (diagnoses historical attribution swings). This skill is purely interpretation — no writes.

## 2. When to trigger

Trigger when the user wants to **understand existing MBO results**.

**Do NOT trigger** when:

- User wants to **create** a new scenario → `mbo-create-scenario`
- **"How much should I spend on X?"** — this is a recommendation question; the only honest answer requires running a scenario → `mbo-create-scenario`. Don't use historical or list data to make up a number.
- User wants to **modify** an existing scenario (rename, change inputs, delete) → `mbo-create-scenario` (modify is part of that skill)
- User wants why historical attribution moved (no MBO involved) → `attribution-anomaly-diagnosis`
- User wants historical attribution numbers without MBO context → `attribution-data-query`
- Tenant not provisioned for MBO → exit, route to `attribution-edge-routing`

## 3. Inputs

| **Field** | **Required?** | **Description / default** |
|-|-|-|
| `mode` | Detected, not asked | One of: **basic_read** / **scenario_compare** / **mbo_vs_attribution** / **mbo_vs_lift_test** / **mbo_vs_actual**. Detection rules in mode-detection.md. |
| `scenario_id` | Required for basic_read / mbo_vs\_\* | Which scenario to read. Multi-scenario tenant → use scenario name in conversation, never the ID. 1 scenario → use it (tell user). 0 scenarios → tell user, guide to create. |
| `scenario_ids[2]` | Required for scenario_compare | Two scenarios. Cap at 2 — more is unreadable. |
| `attribution_metric` | Required for mbo_vs_attribution | Which attribution metric user is comparing against (ROAS / orders / sales). Validate via `dashboard-metrics-list`. |
| `lift_test_id` | Required for mbo_vs_lift_test | Which lift test to reconcile against. Pull via `lift-test-list`. |
| `focus_dimension` | Optional | Zoom on a specific channel / tactic. Default: summary across all (top 2-3 moves). |

Full per-field semantics live in references/inputs-detail.md.

## 4. SOP

### Step 1: Check provisioning

Call `budget-optimizer-list`. Not provisioned → exit with CSM bridge, don't attempt to interpret.

### Step 2: Handle ambiguous "show me my budget" asks (2-step disambiguation)

"What's my budget?" / "Show me my budget" / "Check my budget for Q3" — these are ambiguous. Don't silently pick. The two steps (clarify type with 2-4 options → route or continue) live in references/mode-detection.md.

### Step 3: Detect mode

- Single scenario reference / "explain X" / "why does it recommend Y" → **basic_read**
- Two scenarios named / "compare X and Y" / "wh

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 18 — file references are metadata, not package contents.

Package details

Publisher declarations from the archived package. These are separate from our research and the live service's terms.

Package license
MIT
Package author
WorkMagic
Keywords
See keywords
Commerce declaration
Does not support commerceThis does not establish whether access is free or paid.
Review scenarios
5 positive · 3 negativeScenario counts, not test results.

Package observed Nov 30, 2026.

Technical details
First seen
Nov 17, 2026 · 06:00 UTC
Last seen
Nov 30, 2026 · 18:00 UTC
Collection status
Collected

plugin_asdk_app_6aed717b263c81918b5bf19b95d3f38b

Download plugin data (JSON)

Plugin details: freshly prepared. Prepared . Refreshed when plugin data changes or after 6 hours. Your account and Follow status are live.