traffic-analytics

traffic-analytics is a skill for Claude Code, Codex from AtomicBot-ai/atomic-agent. It costs 29 tokens per session (3,274 once invoked), scanned A, original, MIT.

A data-based traffic diagnosis tool for a website or product, using connected Google Analytics 4, Search Console, and PostHog data. It answers questions about visits, search queries, and user drop-off without making up numbers.

In plain words
What is it for?
Use it to investigate traffic drops, growing search queries, competing pages, and where users leave a funnel.
Why use it?
It helps distinguish evidence from guesses when traffic or conversions change, and reports when a data source is not connected.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate traffic drops, growing search queries, competing pages, and where users leave a funnel.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atomicbot-ai/atomic-agent/traffic-analytics
About the project

Atomic Agent is a local-first AI agent that runs its control loop and state on a user's machine while using local or cloud models. It drives browsers, edits files, runs approved commands, remembers context, schedules follow-ups, and connects to external tools, with the catalogue providing skills for its use.

AtomicBot-ai/atomic-agent · 3,603 stars · on GitHub · atomicagent.io

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 AtomicBot-ai/atomic-agent --skill traffic-analytics
Clone the repo
git clone --depth 1 https://github.com/AtomicBot-ai/atomic-agent

Made for: Claude Code, Codex.

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 traffic-analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/traffic-analytics/github.svg)](https://agentmods.dev/skills/atomicbot-ai/atomic-agent/traffic-analytics)
Your own site
<a href="https://agentmods.dev/skills/atomicbot-ai/atomic-agent/traffic-analytics"><img src="https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/traffic-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.

agentmods 80×15 button for traffic-analytics

Your own site · 80×15
<a href="https://agentmods.dev/skills/atomicbot-ai/atomic-agent/traffic-analytics"><img src="https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/traffic-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,274 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.00029 $0.03274
Opus 5.5 $0.00012 $0.01310
Sonnet 5.5 $0.00006 $0.00655
Haiku 4.5 $0.00003 $0.00327

Measured 13d ago against content hash 0f1250fde14d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

traffic-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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analytics-query.mjs, scripts/analytics-summary.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

starter-skills/traffic-analytics/SKILL.md · 247 lines

How it starts

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

traffic-analytics

Answer questions about the user's own site or product with real data: "why did traffic drop", "which queries are growing", "are two of my pages fighting for one keyword", "where do people drop out of the funnel". The data comes from the official APIs with the user's own credentials:

  • GA4: Data API runReport.
  • Search Console: searchanalytics.query.
  • PostHog: the query API with a HogQL query.

The rule: no invented numbers

Every number you write must come from a query result in this conversation. Do not estimate, round up from memory, fill a gap with an industry average or "typical" value, or describe a trend you did not query. If a source is not connected, say so, say exactly what is needed to connect it (see Setup), and answer only from the sources that did return data. A cause you cannot prove from the data is a hypothesis and is labelled as one.

How to call it

All requests go through one script. Credentials stay in a local file the user fills in, so they never appear in the chat and never in tool output.

[{ "tool": "skill.run_script", "args": { "skill": "traffic-analytics", "script": "analytics-query.mjs", "args": ["check"] } }]
Args What it does
["check"] Says which of ga4, gsc, posthog is ready and what each one still needs. Prints no secrets.
["init"] Creates the credentials file from a template (mode 600) if it is missing and prints its path.
["ga4", "<runReport JSON>"] POST to properties/<id>:runReport. The property comes from the file.
["gsc", "<query JSON>"] POST to sites/<site>/searchAnalytics/query. The site comes from the file.
["posthog", "<HogQL>"] POST {"query":{"kind":"HogQLQuery","query":...}} to /api/projects/<id>/query/.
["compare", "gsc" or "ga4", "<current.json>", "<previous.json>", "--order", "abs"] Joins two saved results by row and lists the biggest changes. --metric (default impressions for gsc, the first metric for ga4), --order abs, growth or drop, --min <n> to skip small rows.
["cannibalization", "<query-page.json>"] Finds queries where 2+ pages each get at least 10% of the impressions. --min-share 0.1, --min-impressions 100.

Read the full file on GitHub · 247 lines

Files

What ships with it

2 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.

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. 13d ago First seen · 247 lines · 29 tokens per session scan A 0f1250fde14d

Subscribe to this mod's changes

traffic-analytics is a skill published in the GitHub repository AtomicBot-ai/atomic-agent (3,603 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 3,274 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-17.

Related

traffic-analytics compared with skills from other repositories

traffic-analytics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
traffic-analyticsAtomicBot-ai/atomic-agentSkill3.6ktodayMITA29Claude Code, Codex
harness-init-runnerrexleimo/aiosSkill626d agoMITA68Claude Code, Codex
release-llama-launcherairiclenz/llama-launcherSkill213d agoMITA167Claude Code, Codex
manage-llm-serverairiclenz/llama-launcherSkill213d agoMITA66Claude Code, Codex
release-notes-llama-launcherairiclenz/llama-launcherSkill213d agoMITC127Claude Code, Codex
browsebrowserbase/stagehandSkill26ktodayMITA109Claude Code
opencli-usagejackwener/OpenCLISkill31k22d agoApache-2.0A31Claude Code