/ai-analyst-plus:always-comparefrom ai-analyst-plus
Enforces that every number or metric is anchored to a comparison (prior period, benchmark, or segment) or explicitly states no comparison is available. Use for all data-driven outputs.
Ships in ai-analyst-plus. 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.
None: SKILL.md is the whole skill.
A number alone is not an insight. "Conversion rate is 3.2%" tells the reader nothing actionable — they cannot tell if that is a crisis or a record high. This skill enforces one rule: every metric ships with a comparison.
Before presenting ANY number to the user — in chat, in a report, in a chart caption,
in a Slack message, or on a slide. This runs on every analysis output, alongside
question-framing (which runs at the start; this one runs at the end).
Never show a number alone. Anchor it to at least one comparison.
Pick the comparison that best serves the decision. In priority order:
| # | Comparison Type | Use When | Example |
|---|---|---|---|
| 1 | vs. prior period | The question is "is this changing?" | "down from 4.1% last month" |
| 2 | vs. benchmark / average | The question is "is this normal?" | "below the 3.8% site-wide average" |
| 3 | vs. another segment | The question is "who is affected?" | "vs. 5.4% on desktop" |
Two comparisons beat one. A prior-period delta plus a benchmark tells the reader both the direction and the altitude. Use both when you have both.
Scan the response you are about to send. Every figure — headline stats, table cells, chart annotations, sentences in the narrative — is in scope.
For each metric, ask: compared to what? Then pull the comparison from the data:
Compute the comparison in the same query where practical — it is cheaper and less error-prone than a second round trip, and it guarantees the filters match.
Do the subtraction for the reader. "3.2%, down from 4.1%" is better than "3.2% (last month: 4.1%)". Give direction (up/down) and magnitude (absolute points or relative %) — and be explicit about which you are using: "down 0.9pp (a 22% relative decline)".
Do not silently drop the comparison. An unanchored number must carry an explicit flag:
"Conversion rate is 3.2% (no prior period available for comparison)."
Other honest forms:
This is a standing obligation of the method (analyst-core): always flag when data is insufficient.
| Bad | Good |
|---|---|
| "Conversion rate is 3.2%" | "Conversion rate is 3.2% — down from 4.1% last month, and below the 3.8% site-wide average." |
| "We had 12,400 orders in June." | "We had 12,400 orders in June, up 8% from May (11,500) and the highest month of 2024 so far." |
| "AOV is $58." | "AOV is $58, essentially flat vs. Q1 ($57), but members average $74 vs. $51 for non-members." |
| "Checkout drop-off is 34%." | "Checkout drop-off is 34% on mobile vs. 19% on desktop — mobile accounts for 78% of all abandoned carts." |
| "NPS is 41." | "NPS is 41 (no prior quarter available — this is the first survey wave, so treat as the baseline)." |
Mobile conversion is the problem. Mobile converts at 2.1% vs. 5.4% on desktop — a 3.3pp gap (61% lower relative). The gap widened from 1.9pp in Q1, driven entirely by the payment step, where mobile drop-off is 44% vs. the 26% funnel-wide average. Source:
sessions+events, Jan 1-Jun 30 2024, excludes bot traffic.
Every number has an anchor. The reader knows instantly what to do.
.knowledge/datasets/{active}/quirks.md before choosing a baseline period.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
metrics, comparison, data-analysis, analytics, reporting, insights
npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analyst-plus47 skills in this plugin
/analysis-designTurn a vague hunch or stakeholder request into a rigorous analysis plan via a staged pipeline (hypothesis sharpening, confound scan, V1, feedback, V2 redesign). Trigger on "I think X caused Y", "design an analysis for", "what's driving", "V2 after feedback", "stakeholder comments", "redesign the analysis". Vs question-framing (the lightweight framing gate before every analysis): use THIS only for a real hunch, confound scan, or V1 to V2 redesign./analyst-coreOperating rules for every data analysis. Apply for ANY data-analysis intent: "analyze", "investigate", "why did X change", "compare", "report on", "dashboard", "metrics", "funnel", "retention", "revenue", "conversion", "trend", "segment", "forecast", "how are we doing", "dig into", "break down", or any question about data, a metric, a CSV, or a table. Sets the method and routes to the other skills; load before any analytical question./archaeologyRetrieve proven SQL patterns, table cheatsheets, and join patterns from .knowledge/query-archaeology/ so past work gets reused. Fire as a pre-flight step before writing ANY SQL. Also trigger on "do we have a known query for X", "how do we usually join these tables", "have we computed this metric before". If the store is empty or missing, exit silently. Also owns the writer convention: after a validated analysis, curate the final SQL here.Other plugins' skills for the same job