analytics-profile-setup

analytics-profile-setup is a skill for Claude Code from clamp-sh/analytics-skills. It costs 60 tokens per session (3,321 once invoked), scanned A, original, MIT.

A one-time interview that records a business's analytics context in an `analytics-profile.md` file. It captures the industry, business model, main conversion, traffic, target customer, pricing, data tools, and measurement issues.

In plain words
What is it for?
Use it to set up a shared analytics profile before running other analytics reviews, unless you only need a one-off answer or a recent profile already exists.
Why use it?
It gives later analytics work the context needed to avoid generic benchmarks and advice that may not fit the business.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the analytics-skills plugin — 13 skills shipped together

Good fit Use it to set up a shared analytics profile before running other analytics reviews, unless you only need a one-off answer or a recent profile already exists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clamp-sh/analytics-skills/analytics-profile-setup
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.

Any agent
npx skills add clamp-sh/analytics-skills --skill analytics-profile-setup
Clone the repo
git clone --depth 1 https://github.com/clamp-sh/analytics-skills

Made for: Claude Code.

Or install analytics-skills, the plugin that ships this one along with the rest of its 13 skills.

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 analytics-profile-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/clamp-sh/analytics-skills/analytics-profile-setup/github.svg)](https://agentmods.dev/skills/clamp-sh/analytics-skills/analytics-profile-setup)
Your own site
<a href="https://agentmods.dev/skills/clamp-sh/analytics-skills/analytics-profile-setup"><img src="https://agentmods.dev/badge/skills/clamp-sh/analytics-skills/analytics-profile-setup/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 analytics-profile-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/clamp-sh/analytics-skills/analytics-profile-setup"><img src="https://agentmods.dev/badge/skills/clamp-sh/analytics-skills/analytics-profile-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,321 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00060 $0.03321
Opus 5 $0.00030 $0.01661
Sonnet 5 $0.00012 $0.00664
Haiku 4.5 $0.00006 $0.00332

Measured 8d ago against content hash ece6be7d3362, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

analytics-profile-setup 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 8d 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.

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.

skills/analytics-profile-setup/SKILL.md · 260 lines

How it starts

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

Analytics profile setup

What this skill does

Produces a single file, analytics-profile.md, in the repo root. The file captures the handful of facts every other analytics skill needs to stop giving generic advice:

  • Industry and business model (B2B SaaS, B2C subscription, ecommerce, lead-gen, content/ads, marketplace)
  • Primary conversion event
  • Rough traffic volume (sets sample-size expectations)
  • ICP / target persona
  • Pricing model (what LTV and CAC even mean for them)
  • Data stack (which analytics tool, which events are tracked, known gaps)
  • Known measurement quirks (bot filters on or off, UTM conventions, cross-domain tracking)

Downstream skills (analytics-diagnostic-method, traffic-change-diagnosis, channel-and-funnel-quality, metric-context-and-benchmarks) open by checking for this file. If it exists, they pull their defaults from it. If it doesn't, they fall back to generic cross-industry assumptions and prompt the user to run this skill.

When NOT to run this

  • The user is asking a one-off question and doesn't want ceremony. Answer the question; don't volunteer the setup.
  • A profile already exists and is less than ~6 months old. Re-running overwrites useful context. Only re-run if the user explicitly asks, or the business has materially changed.

Method

Five phases. Keep it tight: the whole thing should take the user 5 minutes.

Phase 1. Check for an existing profile

ls analytics-profile.md

If it exists:

  1. Read it.
  2. Summarize what's already captured in 3-5 bullet points.
  3. Ask: "Do you want to (a) keep it as-is, (b) update specific fields, or (c) regenerate from scratch?"

Don't just overwrite. A stale profile is usually 80% still correct.

Phase 2. The interview

Ask one question at a time. Wait for the answer. Do not batch-ask. Agents that dump 8 questions at once get fragmented replies and force the user to re-read the whole block.

Use this question order. The reasoning for each question is in parentheses so the agent knows why it matters and can adapt phrasing if the user gives a partial answer.

Read the full file on GitHub · 260 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. 8d ago First seen · 260 lines · 60 tokens per session scan A ece6be7d3362

Subscribe to this mod's changes

analytics-profile-setup is a skill published in the GitHub repository clamp-sh/analytics-skills (8 stars, last pushed 2mo ago), licensed MIT. It adds 60 tokens to every session and 3,321 once invoked, about $0.0003 per session on Opus 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-08-31.