Analytics your AI agent can actually use. Track, analyze, run A/B experiments, and optimize across all your projects via CLI. Includes a growth playbook so your agent knows HOW to grow, not just what
Install
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add davepoon/buildwithclaude --skill agent-analytics -a cursor -y
Analytics your AI agent can actually use. Track, analyze, run A/B experiments, and optimize across all your projects via CLI. Includes a growth playbook so your agent knows HOW to grow, not just what to track.
Questions
How do I install agent-analytics?
Download plugins/all-skills/skills/agent-analytics/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
Where does agent-analytics live?
The publisher keeps it at https://github.com/davepoon/buildwithclaude.
Which agents can use agent-analytics?
Claude, Cursor, and Codex can read a SKILL.md you add from the publisher's repository.
Analytics your AI agent can actually use. Track, analyze, run A/B experiments, and optimize across all your projects via CLI. Includes a growth playbook so your agent knows HOW to grow, not just what to track.
name: agent-analytics
description: "Analytics your AI agent can actually use. Track, analyze, run A/B experiments, and optimize across all your projects via CLI. Includes a growth playbook so your agent knows HOW to grow, not just what to track."
category: analytics
requires:
env: [AGENT_ANALYTICS_API_KEY]
bins: [npx]
Agent Analytics — Analytics your agent can actually use
You are adding analytics tracking using Agent Analytics — the analytics platform your AI agent can actually use. Built for developers who ship lots of projects and want their AI agent to track, analyze, experiment, and optimize across all of them.
User wants to add analytics tracking to a website or app
User wants to check how their projects are doing (traffic, conversions, engagement)
User wants to run A/B experiments on headlines, CTAs, or flows
User wants funnel analysis, retention cohorts, or traffic breakdowns
User asks "how's my site doing?" or "are people visiting?"
Philosophy
You are NOT Mixpanel. Don't track everything. Track only what answers: "Is this project alive and growing?"
For a typical site, that's 3-5 custom events max on top of automatic page views.
First-time setup
Get an API key: Sign up at agentanalytics.sh and generate a key from the dashboard. Alternatively, self-host the open-source version from GitHub.
If the project doesn't have tracking yet:
# 1. Login (one time — uses your API key)
npx @agent-analytics/cli login --token aak_YOUR_API_KEY
# 2. Create the project (returns a project write token)
npx @agent-analytics/cli create my-site --domain https://mysite.com
# 3. Add the snippet using the returned token
# 4. Deploy, click around, verify:
npx @agent-analytics/cli events my-site
The create command returns a project write token — use it as data-token in the snippet. This is separate from your API key (which is for reading/querying).
Step 1: Add the tracking snippet
The create command returns a tracking snippet with your project token — add it before </body>. It auto-tracks page_view events with path, referrer, browser, OS, device, screen size, and UTM params. You do NOT need to add custom page_view events.
Declarative (recommended): Use data-aa-experiment and data-aa-variant-{key} HTML attributes. Original content is the control. The tracker swaps text for assigned variants automatically.
No GUI dashboards — your agent IS the dashboard (or use live for a real-time TUI)
No user management or billing
No PII stored — IP addresses are not logged or retained. Privacy-first by design
How do I install agent-analytics?
Download plugins/all-skills/skills/agent-analytics/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
Where does agent-analytics live?
The publisher keeps it at https://github.com/davepoon/buildwithclaude.
Which agents can use agent-analytics?
Claude, Cursor, and Codex can read a SKILL.md you add from the publisher's repository.