always-compare

always-compare is a skill for Claude Code from ai-analyst-lab/ai-analyst. It costs 112 tokens per session (1,493 once invoked), scanned A, original, MIT.

A rule for presenting every metric with a comparison, such as an earlier period, a benchmark, or another group.

In plain words
What is it for?
It helps write clearer reports, charts, and messages about rates, counts, revenue, averages, and other measurements.
Why use it?
A number without context does not show whether it is high, low, improving, or declining.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps write clearer reports, charts, and messages about rates, counts, revenue, averages, and other measurements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-analyst-lab/ai-analyst/always-compare
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ai-analyst-lab/ai-analyst --skill always-compare
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for always-compare

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst/always-compare/github.svg)](https://agentmods.dev/skills/ai-analyst-lab/ai-analyst/always-compare)
Your own site
<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst/always-compare"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst/always-compare/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for always-compare

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst/always-compare"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst/always-compare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01493
Opus 5.5 $0.00045 $0.00597
Sonnet 5.5 $0.00022 $0.00299
Haiku 4.5 $0.00011 $0.00149

Measured 1mo ago against content hash e6073d07e1a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

always-compare scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/always-compare/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Always Compare

Purpose

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.

When to Use

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).

The Rule

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.

Instructions

Step 1: Find every number in your draft output

Scan the response you are about to send. Every figure — headline stats, table cells, chart annotations, sentences in the narrative — is in scope.

Step 2: Attach a comparison to each one

For each metric, ask: compared to what? Then pull the comparison from the data:

  • Prior period: same metric, previous week / month / quarter (match the grain of the metric)
  • Benchmark: site-wide average, cohort average, target, or historical baseline
  • Segment: the same metric for a contrasting slice (mobile vs. desktop, new vs. returning, channel A vs. B)

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.

Step 3: State the delta, not just both numbers

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)".

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 101 lines · 112 tokens per session scan A e6073d07e1a8

Subscribe to this mod's changes

always-compare is a skill published in the GitHub repository ai-analyst-lab/ai-analyst (322 stars, last pushed 1mo ago), licensed MIT. It adds 112 tokens to every session and 1,493 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

always-compare compared with skills from other repositories

always-compare next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
always-compareai-analyst-lab/ai-analystSkill3221mo agoMITA112Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code