Plausible
Query Plausible Analytics API for traffic stats, referrers, conversions, and custom events.
от clawic★ 23 звезды на GitHub
Установить Plausible в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
On first use, read setup.md for integration guidelines.
When to Use
User needs website traffic data from Plausible. Agent queries visitors, pageviews, referrers, goals, and custom events through the Plausible API.
Architecture
Memory lives in ~/Clawic/data/plausible/. See memory-template.md for structure.
~/Clawic/data/plausible/
├── memory.md # Sites + preferences (no secrets stored)
└── queries/ # Saved query templates (optional)
Quick Reference
| Topic | File |
|---|---|
| Setup process | setup.md |
| Memory template | memory-template.md |
Core Rules
1. API Key from Environment
API key comes from PLAUSIBLE_API_KEY environment variable. Never hardcode or ask user to paste keys in chat.
2. Site ID Required
Every query needs a site_id (domain). Check memory.md for configured sites before asking.
3. Time Periods
Default to 30d unless user specifies. Valid periods: day, 7d, 30d, month, 6mo, 12mo, custom (requires date/date_range).
4. Metrics Available
| Metric | Description |
|---|---|
visitors |
Unique visitors |
visits |
Total sessions |
pageviews |
Total page views |
views_per_visit |
Pages per session |
bounce_rate |
Single-page visits % |
visit_duration |
Avg session length (seconds) |
events |
Custom event count |
conversion_rate |
Goal conversion % (requires goal filter) |
5. Breakdown Dimensions
| Dimension | Description |
|---|---|
event:page |
Pages |
event:name |
Custom events |
visit:source |
Traffic sources |
visit:referrer |
Full referrer URLs |
visit:utm_source |
UTM source |
visit:utm_medium |
UTM medium |
visit:utm_campaign |
UTM campaign |
visit:device |
Desktop/Mobile/Tablet |
visit:browser |
Browser name |
visit:os |
Operating system |
visit:country |
Country code |
visit:city |
City name |
6. Filters Syntax
Filters use format: dimension==value or dimension!=value. Multiple filters with ; (AND).
visit:source==Google
event:page==/pricing;visit:country==US
7. Rate Limits
600 requests/hour per API key. Cache results in memory when doing multiple queries.
Common Traps
- Forgetting site_id → API returns 400
- Using wrong date format for custom range → use
YYYY-MM-DD - Requesting
conversion_ratewithout goal filter → returns null - Querying breakdown without metrics → defaults to visitors only
External Endpoints
| Endpoint | Data Sent | Purpose |
|---|---|---|
| https://plausible.io/api/v1/stats/realtime/visitors | site_id | Realtime count |
| https://plausible.io/api/v1/stats/aggregate | site_id, metrics, period, filters | Aggregate stats |
| https://plausible.io/api/v1/stats/timeseries | site_id, metrics, period, interval | Time series |
| https://plausible.io/api/v1/stats/breakdown | site_id, property, metrics, filters | Breakdown by dimension |
Self-hosted instances use custom base URL from memory.md.
No other data is sent externally.
Security & Privacy
Data that leaves your machine:
- Site ID (domain) and query parameters sent to Plausible API
- API key sent as Bearer token
Data that stays local:
- Query results cached in memory
- Site configurations in ~/Clawic/data/plausible/
This skill does NOT:
- Store API keys in plain text (uses environment variable)
- Send user data beyond what's needed for queries
- Access files outside ~/Clawic/data/plausible/
Trust
By using this skill, your site analytics queries are sent to Plausible (plausible.io or your self-hosted instance). Only install if you trust Plausible with your domain data.
Related Skills
More Clawic skills, get them at https://clawic.com/skills/ (install if the user confirms):
analytics— general analytics guidanceumami— alternative privacy analyticsmixpanel— product analytics
Feedback
- If useful, star it: https://clawic.com/skills/plausible
- Latest version: https://clawic.com/skills/plausible
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- memory-template.md
- setup.md
FAQ
Что делает скилл Plausible?
Query Plausible Analytics API for traffic stats, referrers, conversions, and custom events.
Как установить скилл Plausible?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Plausible запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…