{"id":100909,"plugin_id":"plugin_asdk_app_6aed717b263c81918b5bf19b95d3f38b","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-17T06:14:58.375Z","digest":"5c2314bd39ebce37fcefe36a99194f09967c47f3609c5ce1dab48924ab9545a0","against":null,"payload":{"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.","included_files":[{"relative_path":"references/ambiguity-types.md","size_in_bytes":1079},{"relative_path":"references/edge-cases.md","size_in_bytes":1661},{"relative_path":"references/failure-modes.md","size_in_bytes":925},{"relative_path":"references/output-template.md","size_in_bytes":1042}],"name":"attribution-intent-clarification","skill_md_contents":"---\nname: attribution-intent-clarification\ndescription: 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.\nmetadata:\n  category: attribution\n  risk: R0\n  version: 1.1.0\n  last-updated: 2026-09-23\n  references:\n  - references/ambiguity-types.md\n  - references/output-template.md\n  - references/edge-cases.md\n  - references/failure-modes.md\n---\n\n## 1. Purpose\n\nResolve **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**.\n\n> **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.\n\n## 2. When to trigger\n\n**Trigger** when the user's request has **≥ 2 plausible interpretations** on a dimension that materially changes the answer.\n\n**5 ambiguity types** (detailed examples → `references/ambiguity-types.md`):\n\n- **Granularity** — channel / campaign / creative?\n- **Metric** — by ROAS / spend / orders / new customers?\n- **Sales-platform** — Amazon Store / Shopify / TikTok Shop? (attribution computed per sales platform)\n- **Scope** — which channels / window / vs what?\n- **Comparison / Subject** — best by what / which window?\n\n**Do NOT trigger** when:\n\n- The request is clear enough that a sensible default exists (use the default + tell the user)\n- The ambiguity is on a field with a documented default (time window → 7 days; attribution model → idda/dda)\n- Tenant has only **one** sales platform connected — use it as default, no question. Only clarify when 2+ connected.\n- The request belongs to another skill (route, don't clarify)\n\n## 3. Inputs\n\n| **Field** | **Description** | **Example** |\n|-|-|-|\n| `ambiguity_type` | One of the 5 types. If none — exit this skill. | Granularity |\n| `candidate_interpretations` | 2–4 plausible readings. **Concrete + mutually exclusive.** | [\"by channel\", \"by campaign\", \"by creative\"] |\n| `known_anchors` | Non-ambiguous parts of input — keep these fixed | \"Meta\", \"last 30 days\" |\n| `default_if_user_skips` | Fallback interpretation. State it in the same message. | \"by campaign\" |\n\n## 4. SOP\n\n**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.\n\n**Step 2: Build 2–4 candidate interpretations**\n\n- Each is a **complete executable query** in business language, not a half-question\n- **Mutually exclusive** — picking one excludes the others\n- Cap at 4 — > 4 means input is too vague; go up a level and ask the most pivotal axis first\n\n**Step 3: Anchor what's known** — restate parsed parts (\"Meta · last 30 days\") so the question doesn't re-ask them. Trust signal.\n\n**Step 4: Pick a sensible default** — choose the most likely interpretation as fallback. State it in the same message.\n\n**Step 5: Ask ONE question**\n\n- Format: anchor + question + 2–4 numbered options + default note\n- **Business language**, not field names (\"by campaign\", not `campaign_name`)\n- **Never stack multiple questions** — pick the most pivotal axis only\n- User waves off (\"just pick one\", \"you decide\") → use the default immediately and run\n- Output template → `references/output-template.md`\n\n**Step 6: Route resolved query** — once user picks (or accepts default), hand off to `attribution-data-query` with the resolved interpretation. **Don't re-clarify inside the next skill.**\n\n## 5. Tools used\n\n| **Tool** | **Required?** | **Purpose** |\n|-|-|-|\n| `dashboard-metrics-list` | Optional | Only if you need to check whether a user-supplied alias maps to a real field before showing it as an option. |\n\n## 6. Output format\n\nOne message, three parts, in this order:\n\n1. **Anchor**: single line restating the known parts (\"Got it — Meta, last 30 days.\")\n2. **Question + options**: one sentence + numbered list of 2–4 concrete interpretations\n3. **Default + escape hatch**: \"If you don't say, I'll go with [default].\" or \"Tell me '1', '2', '3' or 'just pick'.\"\n\nFull example → `references/output-template.md`\n\n## 7. CRITICAL rules (top 5 — full list in references/failure-modes.md)\n\n1. **Never stack multiple questions in one turn** — pick the most pivotal axis only\n2. **Never use field names** in options — \"by campaign\", not `campaign_name`\n3. **Never offer > 4 options** — input is too vague, go up a level\n4. **Never loop forever** — after 2 rounds of clarification, pick the default and run\n5. **Never silently default** — always state the chosen default in the same message as the question\n\n## 8. Edge cases\n\nFull edge case & routing catalog → `references/edge-cases.md`\n\n## 9. Related skills\n\n- **Downstream**: `attribution-data-query` (after resolution, most common)\n- **Route to instead**: `attribution-anomaly-diagnosis` (for \"why\" questions), `attribution-model-comparison` (for \"X vs Y model\" questions), `attribution-edge-routing` (for out-of-scope)\n- **Sibling**: `attribution-custom-dimension` (when ambiguity is \"by <business term>\" that needs NC config)\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}