/workmagic:attribution-edge-routingfrom WorkMagic
Routes user requests outside attribution's capability boundary to other WM products, humans, or clean declines. Prevents fabrication and preserves trust when requests cannot be answered.
Ships in WorkMagic. 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.
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 thedashboardskill (live artifact) — there is no native custom-report skill anymore, and the platform's dashboard write tools are deliberately unused (§7 rule 9).
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:
attribution-intent-clarification)| 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. |
Step 1: Classify the boundary type — run this decision sequence:
Step 2: Verify with tenant-list + database-query-ask (mandatory for Type C, recommended for D)
tenant-list shows what integrations / sales platforms exist + what data window is availabledatabase-query-ask the data-freshness conventions (T+1 for clicks, T+2 for PPS, etc.)Step 3: Compose the routing response (4 parts)
**HARD RULE — copy the response template** Use `templates/routing-response.md`. The 4-part structure is non-negotiable: 1. **Acknowledge** the user's actual goal in their language 2. **State the boundary** in business language — no jargon 3. **Give the specific routing path** — name the product / page / person 4. **Offer a bridge** — closest attribution can answer right now Type-specific variants (Type A / B / C / D have different intros and routing language) are in the template.Step 4: Don't pad, don't apologize excessively
| Tool | Required? | Purpose |
|---|---|---|
database-query-ask | Required | Confirm what other WM products do + their activation paths; check data-freshness conventions for Type D |
tenant-list | Required for Type C | Verify which integrations / sales platforms are connected, what data window exists. |
lift-test-list | Conditional | For incrementality asks routed to Lift Test — show what tests already exist or how to start one |
budget-optimizer-list / budget-optimizer-reference-data | Conditional | For forecasting asks routed to MBO — check whether tenant is provisioned |
This skill is read-only — never creates anything itself, only redirects. All R0.
One message, 4 parts, in this order. Total length: ~3-5 sentences.
Type-specific callout examples (A / B / C / D) + full output rules → references/output-template.md
templates/routing-response.md — the 4-part structure (Acknowledge / Boundary / Routing / Bridge) is non-negotiabletenant-list verification for Type C — claiming "TikTok isn't integrated" without checking is a credibility riskdatabase-query-ask before claiming "MBO can answer that"dashboard-create, dashboard-section-create and dashboard-list are still exposed by the MCP server but are deliberately unused: we no longer ship native custom dashboards. Calling them creates something nobody maintains and that the user can't get help with. A "save this as a dashboard / add a section to my dashboard" ask is a deprecated-capability route, not a build request — say plainly that the dashboard we build now is a live, self-refreshing page, then build that with the dashboard skill. dashboard-metrics-list (read-only field validation) stays in normal use.Full edge case & pushback handling catalog → references/edge-cases.md
attribution-intent-clarification (ambiguous within attribution) — this skill is for unambiguous out-of-scopeOther WM products + non-WM redirects → references/wm-products.md
Key principle: graceful redirect > cold refusal > fabrication. Always.
examples/example-A-forecast-ask.md (opens in a new tab)references/boundary-types.md (opens in a new tab)references/edge-cases.md (opens in a new tab)references/failure-modes.md (opens in a new tab)references/output-template.md (opens in a new tab)references/routing-matrix.md (opens in a new tab)references/wm-products.md (opens in a new tab)templates/routing-response.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
attribution, edge-routing, boundary-handling, graceful-decline
npx claudepluginhub workmagicio/workmagic-agent-plugin --plugin workmagic9 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.2 plugins ship this exact skill · first indexed Sep 23, 2026
Other plugins' skills for the same job