/workmagic-skills:attribution-intent-clarificationfrom workmagic-skills
Resolves ambiguous attribution queries by asking one focused clarifying question, then handing off to attribution-data-query. Prevents silent guessing on multi-meaning inputs.
Ships in workmagic-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 (read viaskills_readif not 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.
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):
Do NOT trigger when:
| 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" |
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
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
campaign_name)references/output-template.mdStep 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.
| Tool | Required? | Purpose |
|---|---|---|
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. |
One message, three parts, in this order:
Full example → references/output-template.md
campaign_nameFull edge case & routing catalog → references/edge-cases.md
attribution-data-query (after resolution, most common)attribution-anomaly-diagnosis (for "why" questions), attribution-model-comparison (for "X vs Y model" questions), attribution-edge-routing (for out-of-scope)attribution-custom-dimension (when ambiguity is "by " that needs NC config)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub workmagicio/skills --plugin workmagic-skills16 skills in this plugin
/attribution-anomaly-diagnosisDiagnose "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./attribution-custom-dimensionHandle 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./attribution-data-queryTranslate 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.Other plugins' skills for the same job