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.
npx skills add avanturer/claude-bestpractice --skill analyticsgit clone --depth 1 https://github.com/avanturer/claude-bestpracticeWrote 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.
[](https://agentmods.dev/skills/avanturer/claude-bestpractice/analytics)<a href="https://agentmods.dev/skills/avanturer/claude-bestpractice/analytics"><img src="https://agentmods.dev/badge/skills/avanturer/claude-bestpractice/analytics/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.
<a href="https://agentmods.dev/skills/avanturer/claude-bestpractice/analytics"><img src="https://agentmods.dev/badge/skills/avanturer/claude-bestpractice/analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.03369 |
| Opus 5.5 | $0.00014 | $0.01348 |
| Sonnet 5.5 | $0.00007 | $0.00674 |
| Haiku 4.5 | $0.00003 | $0.00337 |
Grade A, and why
analytics 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 377 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Analytics Tracking
You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.
Initial Assessment
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Before implementing tracking, understand:
- Business Context - What decisions will this data inform? What are key conversions?
- Current State - What tracking exists? What tools are in use?
- Technical Context - What's the tech stack? Any privacy/compliance requirements?
Core Principles
1. Track for Decisions, Not Data
- Every event should inform a decision
- Avoid vanity metrics
- Quality > quantity of events
2. Start with the Questions
- What do you need to know?
- What actions will you take based on this data?
- Work backwards to what you need to track
3. Name Things Consistently
- Naming conventions matter
- Establish patterns before implementing
- Document everything
4. Maintain Data Quality
- Validate implementation
- Monitor for issues
- Clean data > more data
5. Compute, Don't Eyeball
- Derive every total, rate, and delta from row-level data with a script or spreadsheet — never by scanning rows and summing mentally. One silently dropped row corrupts every figure downstream of it.
- Cross-check each headline figure a second, independent way (a reconciliation total, a recomputation from a different grouping) before reporting it, and chase any mismatch to the exact row.
- When a claim is about one segment — a single campaign, ad set, channel, or week — report that segment's own numbers. Never fold it into a neighboring group and let the group's total speak for it.
6. Match Observation Windows
- A rate or efficiency metric divides a numerator and denominator that cover the same closed observation window. Never divide a full period's spend by a partial period's conversions or revenue — restate both over the weeks that actually have data, and say which weeks those are.
- Cohort rates use only cohorts whose observation window has ended. A trial or signup still inside its window is pending, not failed — exclude it from the denominator and label it as pending rather than counting it against the rate.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed · +2 lines · +35 tokens per session 39c370b7baf2
- 15d ago First seen · 375 lines · 0 tokens per session scan A 49ca9116f4e4
analytics is a skill published in the GitHub repository avanturer/claude-bestpractice (2 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 3,369 once invoked, about $0.0001 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-11-15.
analytics compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analyticsavanturer/claude-bestpractice | Skill | 2 | yesterday | MIT | A | 35 | Claude Code |
| version-bumpthedotmack/claude-mem | Skill | 121k | today | Apache-2.0 | A | 79 | Claude Code |
| cloud-syncthedotmack/claude-mem | Skill | 121k | today | Apache-2.0 | A | 64 | Claude Code |
| releasethedotmack/claude-mem | Skill | 121k | today | Apache-2.0 | A | 13 | Claude Code |
| tddwesammustafa/Claude-Code-Everything-You-Need-to-Know | Skill | 3.7k | 2d ago | none | A | 4 | Claude Code |
| review-checklistwesammustafa/Claude-Code-Everything-You-Need-to-Know | Skill | 3.7k | 2d ago | none | A | 25 | Claude Code, Codex |
| check-linkswesammustafa/Claude-Code-Everything-You-Need-to-Know | Skill | 3.7k | 2d ago | none | A | 44 | Claude Code, Codex |