/web-analytics:web-analytics [mini|medium|full] [--site=name] [--period=7d] [--email] [--slack]from web-analytics
Analyzes Umami or GA4 traffic data with tiered reports (mini/medium/full) covering traffic changes, funnels, and site performance comparisons.
Ships in web-analytics. 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.
Turn portfolio analytics into a decision-ready report by collecting a bounded dataset, preserving the comparison window, separating observed facts from hypotheses, and routing deeper requests through specialist agents. This is a push-based analysis workflow, not a dashboard replacement.
Read the operating contract before making authenticated requests or delivering a report.
${CLAUDE_PLUGIN_ROOT}/references/site-registry.md.UMAMI_PASSWORD from ~/.env./email or /slack independently before requesting those delivery channels.${CLAUDE_PLUGIN_ROOT}/references/reporting-tiers.md and
${CLAUDE_PLUGIN_ROOT}/references/interpretation-guide.md for medium and full reports.UMAMI_PASSWORD only for the command that needs it. Never print, log, persist, or pass
the password or bearer token to a specialist agent.curl --fail-with-body --silent --show-error; stop if authentication fails or the token
is empty.| Parameter | Default | Accepted values |
|---|---|---|
| Tier | mini | mini, medium, full |
| Site | all | Registry name or all |
| Period | 7d | today, yesterday, 7d, 30d, mtd, qtd |
| Delivery | console | console, email, slack, all |
| Compare | prior equivalent | An explicit comparison window |
Use defaults when they preserve the user's intent. Ask before continuing if the site, time window, or external destination would materially change the result.
Read only the files needed for the selected tier:
${CLAUDE_PLUGIN_ROOT}/references/site-registry.md for site IDs, baselines, and thresholds.${CLAUDE_PLUGIN_ROOT}/references/mcp-tool-reference.md for supported data operations.${CLAUDE_PLUGIN_ROOT}/references/reporting-tiers.md for output contracts.${CLAUDE_PLUGIN_ROOT}/references/interpretation-guide.md for evidence language.For direct Umami access, authenticate and fail closed:
set -euo pipefail
source ~/.env
analytics_url="https://analytics.intentsolutions.io"
token=$(curl --fail-with-body --silent --show-error "${analytics_url}/api/auth/login" \
-X POST -H "Content-Type: application/json" \
-d '{"username":"admin","password":"'"${UMAMI_PASSWORD}"'"}' | \
python3 -c "import json,sys; print(json.load(sys.stdin).get('token',''))")
test -n "${token}" || { printf 'Umami authentication returned no token\n' >&2; exit 1; }
curl --fail-with-body --silent --show-error \
"${analytics_url}/api/websites/<site-id>/stats?startAt=<start-ms>&endAt=<end-ms>&compare=prev" \
-H "Authorization: Bearer ${token}"
unset token UMAMI_PASSWORD
Record the source, site, timezone, exact start and end timestamps, comparison window, and any missing endpoint. Do not infer missing values as zero.
Agent to run data-collector; after it returns, run traffic-intelligence,
content-seo, and anomaly-detector concurrently. Give reporting-narrative their outputs,
the exact period, and the requested delivery format.data-collector for aggregate, event, technology, and geography data. Then run all
five analysis specialists concurrently, pass their claims to verification-agent, and compile
only verified or explicitly qualified findings with reporting-narrative.Agent definitions live under ${CLAUDE_PLUGIN_ROOT}/agents/. Give agents collected results, not
credentials. Bound every assignment to the requested sites and period. If an agent fails, report
that coverage gap and continue only when the remaining evidence can support the requested output.
Before delivery, apply the operating contract:
/email or /slack only when authorized.For a full-tier report, run memory-agent only if the user authorized baseline-state updates.
Persist the period, source, and evidence receipt so a later report can reproduce the comparison.
Stop without exposing secret material when authentication fails. For partial endpoint, site, agent, or delivery failures, retain successful evidence, name the exact coverage gap, and avoid complete- portfolio or trend claims that the remaining data cannot support. The operating contract defines the required fallback for each failure class.
Return the tier, sites, exact period, comparison window, sources consulted, coverage gaps, and delivery result. Lead with the strongest verified signal, show the supporting metrics, distinguish hypotheses from facts, and end with prioritized actions that each have an owner or next check.
/analytics --period=today produces a mini console pulse for every configured site./analytics medium --site=tonsofskills --period=7d explains material traffic and content shifts./analytics full --period=30d --email previews an evidence-checked deep dive before email delivery.${CLAUDE_PLUGIN_ROOT}/references/site-registry.md — configured properties and thresholds.${CLAUDE_PLUGIN_ROOT}/references/reporting-tiers.md — detailed report schemas.${CLAUDE_PLUGIN_ROOT}/references/interpretation-guide.md — analytical voice and caveats.${CLAUDE_PLUGIN_ROOT}/references/delivery-channels.md — email and Slack adapters.What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin web-analyticsOther plugins' skills for the same job