using-umami

using-umami is a command for Claude Code from bvdr/claude-plugins. It costs 35 tokens per session (796 once invoked), scanned A, original, MIT.

A single entry point for working with Umami Analytics, which measures how people use a website. It checks the project connection and sends requests to the setup, tracking, query, or reports command that matches the task.

In plain words
What is it for?
Use it for any Umami task: connecting a project, adding tracking, querying analytics, or creating and managing reports.
Why use it?
It gives you one place to start instead of choosing among several Umami commands yourself. It also checks for missing or invalid connection settings before routing the request.

Command for Claude Code

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

Part of the bvdr plugin — 13 commands shipped together

Good fit Use it for any Umami task: connecting a project, adding tracking, querying analytics, or creating and managing reports.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/bvdr/claude-plugins/using-umami
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/bvdr/claude-plugins

Made for: Claude Code.

Or install bvdr, the plugin that ships this one along with the rest of its 13 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 using-umami

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/bvdr/claude-plugins/using-umami"><img src="https://agentmods.dev/badge/commands/bvdr/claude-plugins/using-umami.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 796 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00035 $0.00796
Opus 5.5 $0.00014 $0.00318
Sonnet 5.5 $0.00007 $0.00159
Haiku 4.5 $0.00003 $0.00080

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

Security

Grade A, and why

using-umami scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "{host}/api/auth/verify" \
plugins/bvdr/commands/using-umami.md · 82 lines

How it starts

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

Umami Analytics Hub

Entry point for all Umami Analytics operations. Routes to the right sub-skill based on what the user needs.

Routing Flow

digraph umami_routing {
    "User request" [shape=doublecircle];
    ".umami.json exists?" [shape=diamond];
    "Invoke umami-setup" [shape=box];
    "Validate token" [shape=box];
    "Token valid?" [shape=diamond];
    "Detect intent" [shape=box];
    "Route to skill" [shape=doublecircle];

    "User request" -> ".umami.json exists?";
    ".umami.json exists?" -> "Invoke umami-setup" [label="no"];
    ".umami.json exists?" -> "Validate token" [label="yes"];
    "Validate token" -> "Token valid?";
    "Token valid?" -> "Invoke umami-setup" [label="no (401)"];
    "Token valid?" -> "Detect intent" [label="yes"];
    "Detect intent" -> "Route to skill";
}

Step 1: Check Config

Read .umami.json from the project root. It must contain:

  • host — Umami instance URL
  • websiteId — target website UUID
  • token — JWT auth token

If missing or malformed → invoke bvdr:umami-setup.

Step 2: Validate Token

Quick health check — verify the token is still valid:

curl -s -X POST "{host}/api/auth/verify" \
  -H "Authorization: Bearer {token}"
  • Success → proceed to routing
  • 401 → token expired, invoke bvdr:umami-setup with "Refresh token" option
  • Connection error → warn user, suggest checking if instance is running

Step 3: Route by Intent

User says something like... Invoke skill
"set up umami", "connect", "install tracker", "configure" bvdr:umami-setup
"track", "add event", "identify users", "implement tracking", "data attributes", "revenue tracking", "server-side event", "what should I track" bvdr:umami-track
"funnel", "journey", "retention", "goal", "UTM", "attribution", "breakdown", "revenue report", "create report" bvdr:umami-reports
"stats", "metrics", "how many visitors", "show pageviews", "sessions", "realtime", "query", "event data", "active users" bvdr:umami-query

Read the full file on GitHub · 82 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 · 82 lines · 35 tokens per session scan A 1ee131d9e0a5

Subscribe to this mod's changes

using-umami is a command published in the GitHub repository bvdr/claude-plugins (4 stars, last pushed 4mo ago), licensed MIT. It adds 35 tokens to every session and 796 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.