traffic-diagnosis
Skill244 starsChanged 43 days agoMITView on GitHub
Systematically diagnose why traffic changed — spike, drop, or shift in mix. Follow these steps in order. Each step narrows the hypothesis.
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Follow these steps in order.
- Distinctive: line 20
If sessions dropped but engagement rate improved, volume dropped but quality held — different cause than if everything dropped …
- Distinctive: line 46
Run queries matching the suspected cause:
- Very specific: line 68
Check with dimensions: ["date"] — a vertical drop on a single date across all channels points to a tag firing issue or consent mode change.
- Distinctive: line 76
When it started (sudden or gradual)
- Distinctive: line 82
Do not conclude "traffic dropped" from a single metric in isolation.
- Distinctive: line 83
Do not compare to the prior week without accounting for day-of-week patterns (Monday always differs from Sunday — compare Monday-to-Monday …
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Traffic Change Diagnosis
Systematically diagnose why traffic changed — spike, drop, or shift in mix. Follow these steps in order. Each step narrows the hypothesis.
Step 1 — Establish the baseline
Compare the period in question to the equivalent prior period:
dimensions: ["date"]
metrics: ["sessions", "totalUsers", "newUsers", "engagedSessions", "keyEvents"]
date_range: affected period + same-length prior periodMeasure: absolute change, % change, and whether all metrics moved together. If sessions dropped but engagement rate improved, volume dropped but quality held — different cause than if everything dropped proportionally.
Step 2 — Isolate which channel changed
dimensions: ["sessionDefaultChannelGroup"]
metrics: ["sessions", "totalUsers", "engagedSessions", "engagementRate"]
date_range: affected period vs prior periodWhich channel account for most of the change? Narrow to that channel before going deeper.
Step 3 — Check time pattern (sudden vs gradual)
dimensions: ["date", "sessionDefaultChannelGroup"]
metrics: ["sessions"]
date_range: last 28 days- Sudden single-day spike/drop → campaign launch/end, deploy, media mention, bot flood
- Gradual decline over weeks → SEO decay, seasonal drift, quality score drop
- Step change that persists → tracking change, filter change, channel definition update
Step 4 — Fingerprint the cause
Run queries matching the suspected cause:
Bot flood — see bot-traffic-detection skill:
engagementRatenear 0,averageSessionDuration≈ 0- Unusual hostname or country concentration
Campaign start/end:
dimensions: ["sessionCampaignName", "sessionSource", "sessionMedium"]
metrics: ["sessions", "keyEvents", "engagementRate"]
dimension_filter: sessionDefaultChannelGroup IN ["Paid Search", "Paid Social", "Display"]SEO change (organic):
dimensions: ["sessionDefaultChannelGroup", "landingPagePlusQueryString"]
metrics: ["sessions", "engagementRate", "keyEvents"]
dimension_filter: sessionDefaultChannelGroup = "Organic Search"
date_range: 90 days (to see gradual trend)Technical/tracking change — all channels drop equally at the same moment.
Check with dimensions: ["date"] — a vertical drop on a single date across all channels
points to a tag firing issue or consent mode change.
Step 5 — Conclude
State:
- What changed (metric + magnitude)
- Which channel drove it
- When it started (sudden or gradual)
- Most likely cause (from fingerprinting)
- One action: investigate further / fix tracking / pause campaign / accept as seasonal
What not to do
Do not conclude "traffic dropped" from a single metric in isolation. Do not compare to the prior week without accounting for day-of-week patterns (Monday always differs from Sunday — compare Monday-to-Monday or full weeks).
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- llms.txtllms.txt
- ga4-analyticsSkill
- ai-referral-analysisSkill
- attribution-scopeSkill
- bot-traffic-detectionSkill
- channel-acquisitionSkill
- common-metric-namesSkill
- compatible-combinationsSkill
- content-performanceSkill
- custom-dimensionsSkill
- date-rangesSkill
- ecommerce-analysisSkill
- filter-structuresSkill
- ga4-limitationsSkill
- gcp-setupSkill
- geo-device-segmentationSkill
- gcp-setupSkill
- ua-to-ga4Skill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

