web-analytics
БесплатноБез исполняемых скриптовНе проверенAnalyze Umami or GA4 traffic with evidence-backed specialist reviews and deliver a concise portfolio pulse, decision brief, or deep dive. Use when the user…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Web Analytics Intelligence
Overview
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.
Prerequisites
- Configure sites and thresholds in
${CLAUDE_PLUGIN_ROOT}/references/site-registry.md. - Store Umami credentials in the operator's approved secret store; this installation uses
UMAMI_PASSWORDfrom~/.env. - Confirm
/emailor/slackindependently before requesting those delivery channels. - Use
${CLAUDE_PLUGIN_ROOT}/references/reporting-tiers.mdand${CLAUDE_PLUGIN_ROOT}/references/interpretation-guide.mdfor medium and full reports.
Authentication and Safety
- Confirm the analytics base URL is the expected operator-controlled host before sending a credential.
- Load
UMAMI_PASSWORDonly for the command that needs it. Never print, log, persist, or pass the password or bearer token to a specialist agent. - Use
curl --fail-with-body --silent --show-error; stop if authentication fails or the token is empty. - Treat email and Slack delivery as external side effects. Preview the destination and report, and obtain confirmation when the user has not explicitly requested delivery.
- Never send messages, modify analytics configuration, or write baseline state during a read-only request. A full-tier memory update requires an explicit writable scope.
Workflow
1. Parse the Request
| 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.
2. Load Configuration
Read only the files needed for the selected tier:
${CLAUDE_PLUGIN_ROOT}/references/site-registry.mdfor site IDs, baselines, and thresholds.${CLAUDE_PLUGIN_ROOT}/references/mcp-tool-reference.mdfor supported data operations.${CLAUDE_PLUGIN_ROOT}/references/reporting-tiers.mdfor output contracts.${CLAUDE_PLUGIN_ROOT}/references/interpretation-guide.mdfor evidence language.
3. Collect the Minimum Dataset
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.
4. Route by Tier
- Mini: Collect aggregate stats and active visitors inline. Return totals, per-site metrics, comparison deltas, and one material signal in at most 15 lines.
- Medium: Use
Agentto rundata-collector; after it returns, runtraffic-intelligence,content-seo, andanomaly-detectorconcurrently. Givereporting-narrativetheir outputs, the exact period, and the requested delivery format. - Full: Run
data-collectorfor aggregate, event, technology, and geography data. Then run all five analysis specialists concurrently, pass their claims toverification-agent, and compile only verified or explicitly qualified findings withreporting-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.
5. Verify and Deliver
Before delivery, apply the operating contract:
- Recalculate headline deltas from the raw totals.
- Label each statement as observation, comparison, hypothesis, or recommendation.
- Check anomaly claims against baselines and low-volume noise.
- Name unavailable sources and incomplete windows.
- Preview external destinations, then invoke
/emailor/slackonly
Установить web-analytics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBash(date:*)Bash(curl:*)Bash(python3:*)Bash(source:*)AgentВложенные файлы
FAQ
Что делает скилл web-analytics?
Analyze Umami or GA4 traffic with evidence-backed specialist reviews and deliver a concise portfolio pulse, decision brief, or deep dive. Use when the user asks to check analytics, explain a traffic change, inspect funnels, compare site performance, or prepare an analytics report. Trigger with "/analytics", "check my analytics", "how's my traffic", "site stats", "traffic report", or "analytics brief".
Как установить скилл web-analytics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-analytics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic