traffic-decay-detector
Skill7 starsChanged 5 months agoMITView on GitHub
Find pages losing clicks, impressions, CTR, or rankings using GSC/GA4 when available or from pasted data. Use when Codex needs to identify declining organic performance, surface the queries driving the decline, and recommend which pages to refresh first.
In this repository22 other files it gives its agents.
- authority-mark-keyword-difficultySkill
- cannibalization-checkSkill
- client-report-writerSkill
- competitor-serp-monitorSkill
- content-decay-monitor-setupSkill
- content-moat-plannerSkill
- content-refresh-briefSkill
- exceed-quality-thresholdSkill
- internal-link-builderSkill
- keyword-opportunity-finderSkill
- keyword-plannerSkill
- live-search-console-dataSkill
- proposal-builderSkill
- refresh-vs-new-contentSkill
- schema-fix-writerSkill
- seo-content-briefSkill
- seo-growth-loopSkill
- seo-offer-architectSkill
- seo-priority-scoreSkill
- seo-strategySkill
- technical-seo-triageSkill
- title-meta-rewriterSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
If no live data is available, ask the user to paste GSC exports for both periods.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Decay Detector
Overview
Identify pages with declining organic traffic, what queries are driving the loss, and which pages are worth refreshing. Works with live GSC/GA4 data (via marketingskills/seo/skills/live-search-console-data) or pasted exports.
Inputs
- Current period GSC data (queries + pages): clicks, impressions, CTR, avg position
- Prior period GSC data (same dimensions, same property)
- Optional: GA4 landing page sessions or conversion data
- Optional: threshold for minimum clicks (default: 10 clicks/period)
If no live data is available, ask the user to paste GSC exports for both periods.
Workflow
- Load GSC data from live connection or pasted export.
- Compare current period vs prior period for each page.
- Calculate absolute and relative change for clicks, impressions, CTR, position.
- Filter to pages with click decline > configured threshold.
- For each declining page, find which queries drove the loss.
- Classify the cause: SERP position drop, CTR collapse, impression loss, or seasonal.
- Surface the queries with the biggest click loss per page.
- Rank pages by total click loss and confidence in recovery.
- Recommend refresh candidates with rationale.
Output Format
## Traffic Decay Report
**Period:** [current range] vs [prior range]
**Pages analyzed:** N
**Declining pages found:** N
### Top Declining Pages
| Page | Clicks (curr) | Clicks (prev) | Change | Primary Query | Cause |
|---|---|---|---|---|---|
| /page-url | 1,200 | 2,000 | -800 (-40%) | "keyword" | Position drop (2→6) |
### Top Queries Driving Decline
| Query | Click Loss | Current Pos | Prior Pos | Page Affected |
|---|---|---|---|---|
### Refresh Candidates
Priority-ordered list with reasoning.
### Stable Pages (for reference)
Pages with flat or growing traffic.Interpretation
- A page losing clicks while impressions are stable likely has a CTR or ranking issue.
- A page losing both clicks and impressions may have lost search volume or been overtaken.
- Pages with high impression counts and low CTR may need title/meta rewrites or featured snippet targeting.
- Seasonal declines should be marked but not recommended for immediate refresh unless the trend is accelerating.
Related Skills
content-refresh-brief— produce a focused brief for any page identified here.serp-authority-mark— check if the page's primary query is winnable.marketingskills/seo/skills/live-search-console-data— live GSC/GA4 data bridge.
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.

