analytics-compare

analytics-compare is a command for Claude Code from verygoodplugins/claude-plugins. It costs 6 tokens per session (354 once invoked), scanned A, original, MIT.

A command for comparing website analytics between two time periods. Website analytics are measurements such as visitors, pageviews, bounce rate, and visit duration.

In plain words
What is it for?
Use it to compare periods such as this week with last week, or one month with another, and review visitor trends and metric changes.
Why use it?
It makes changes between periods easier to spot by showing the two sets of metrics together with absolute and percentage differences.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pirsch plugin — 1 skill, 2 commands shipped together

Good fit Use it to compare periods such as this week with last week, or one month with another, and review visitor trends and metric changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/verygoodplugins/claude-plugins/analytics-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.

Clone the repo
git clone --depth 1 https://github.com/verygoodplugins/claude-plugins

Made for: Claude Code.

Or install pirsch, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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 analytics-compare

README.md
[![agentmods](https://agentmods.dev/badge/commands/verygoodplugins/claude-plugins/analytics-compare/github.svg)](https://agentmods.dev/commands/verygoodplugins/claude-plugins/analytics-compare)
Your own site
<a href="https://agentmods.dev/commands/verygoodplugins/claude-plugins/analytics-compare"><img src="https://agentmods.dev/badge/commands/verygoodplugins/claude-plugins/analytics-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 analytics-compare

Your own site · 80×15
<a href="https://agentmods.dev/commands/verygoodplugins/claude-plugins/analytics-compare"><img src="https://agentmods.dev/badge/commands/verygoodplugins/claude-plugins/analytics-compare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 354 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.00006 $0.00354
Opus 5.5 $0.00002 $0.00142
Sonnet 5.5 $0.00001 $0.00071
Haiku 4.5 $0.00001 $0.00035

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

Security

Grade A, and why

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

plugins/pirsch/commands/analytics-compare.md · 56 lines

What it actually says

Compare Analytics

Compare website analytics between two time periods to identify trends and changes.

Usage

/analytics-compare [period1] [period2]

Examples:

  • /analytics-compare this-week last-week
  • /analytics-compare this-month last-month
  • /analytics-compare 2025-01 2024-12

Action

mcp__pirsch__pirsch_compare({
  domainId: "<domain-id>",
  from: "2025-01-01",
  to: "2025-01-31",
  compareFrom: "2024-12-01",
  compareTo: "2024-12-31",
  scale: "day"  // day, week, month
})

Output

Display comparison showing:

  • Period 1 vs Period 2 metrics
  • Delta for each metric (absolute and percentage)
  • Trend indicators (up/down arrows)
  • Visitor trends over time

Example Output

## Analytics Comparison
Jan 2025 vs Dec 2024

| Metric | Jan 2025 | Dec 2024 | Change |
|--------|----------|----------|--------|
| Visitors | 12,450 | 10,230 | +21.7% |
| Pageviews | 45,230 | 38,450 | +17.6% |
| Bounce Rate | 42.3% | 45.1% | -2.8pp |
| Avg Duration | 2m 34s | 2m 12s | +16.7% |
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 · 56 lines · 6 tokens per session scan A c6856c83a8d2

Subscribe to this mod's changes

analytics-compare is a command published in the GitHub repository verygoodplugins/claude-plugins (2 stars, last pushed 8mo ago), licensed MIT. It adds 6 tokens to every session and 354 once invoked, about $0.0000 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-08-31.