Analytics Agent — Data skill for Claude Code
Marketing analytics agent — your AI runs REAL queries in your PostHog/GA4/Search Console and records results with full provenance (source + exact query).
How to install Analytics Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ShayanSpiel/Analytics-Agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Analytics Agent does
Marketing analytics agent — your AI runs REAL queries in your PostHog/GA4/Search Console and records results with full provenance (source + exact query). No invented numbers. Claude Code, OpenCode, Codex.
Alternatives in Data
- Marketingskills — Marketing skills for Claude Code and AI agents 16.9k ★
- Context Mode — Benchmark Results — Benchmarked against real outputs from popular Claude Code MCP servers, Skills, and dev tools 5.6k ★
- Posthog Analysis — Analyze PostHog usage data with correct filters, timelines, and caveats 1.6k ★
README
Analytics Agent
**Give your AI coding assistant a job: measure my marketing metrics every month — from real queries, with full provenance, and don't stop until the scorecard is complete.**
Analytics Agent is a tiny, open, do-it-yourself marketing measurement worker. Install once into [Claude Code](https://claude.com/claude-code), [OpenCode](https://opencode.ai), or [Codex CLI](https://github.com/openai/codex), then just say:
*"Record this month's numbers for every metric in my metrics file — real queries only."*
Your AI runs actual queries in your PostHog / GA4 / Search Console / Cal.com / email dashboard and records results through an evidence gate: **no number without its source system and the exact query that produced it.** The engine builds a grouped scorecard with period-over-period deltas — where every value can be disputed by disputing its query.
No screenshot dashboards. No vibes. No invented numbers.
What you get
| 🧾 Provenance on every value | Source system + exact query/click-path recorded with each number. Dispute a number by disputing its query. |
| 📏 Definitions are law | Only metrics defined in your metrics.md can be recorded — with their definitions, not the model's improvisation. |
| 🔁 Honest history | One value per metric per period. Corrections go through reject-and-re-add, never silent overwrites. |
| 📈 Deltas built in | Status shows each metric's latest value vs prior period automatically. |
| 📄 Scorecard export | Grouped Markdown report (or CSV) with full provenance per row. |
Install (under 2 minutes)
curl -fsSL https://raw.githubusercontent.com/ShayanSpiel/Analytics-Agent/main/install.sh | bash
Or paste into your AI tool in an empty folder:
Install https://github.com/ShayanSpiel/Analytics-Agent following its AGENTS.md,
then help me define my metrics, then start recording my measurements until we hit the target.
Use only real queries against my analytics accou
Related Skills
10 AI Visibility Geo
Produce the AI-Driven Discovery narrative — how AI systems currently surface and classify the client — from re
SEO Feedback
Claude Code Skill: a live, data-driven SEO health report for any site. Pulls real numbers from GSC, Bing, Ahre
Source Backed Numbers
Claude Code skill: never hand-type experiment numbers into docs — save results as per-item JSON, generate LaTe
Hot Path
Profile-driven optimization of a measured hot path — data access, concurrency, caching — with results proven b
SEO Marketing AI Agent
AI-powered SEO agent built in n8n — audits websites, analyzes Google Search Console data, and generates priori
Cannibalization Detector
Finds true keyword cannibalisation in Google Search Console data, meaning the queries where two or more of the
Related Agents
Asset Curator
Resolves named AI and tool identities to exact user-supplied, original-owner, pinned Vibe SVGs, or verified Lo
Graph Reader
Builds and queries a lightweight symbol/dependency graph of a project. Called by executors before reading file
Event Iq
Validate event schema, confirm cohort definitions, surface compliance flags, and confirm business_model_type.