Install
$ agentstack add skill-marketingskills-seo-traffic-decay-detector ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: marketingskills
- Source: marketingskills/seo
- License: MIT
- Homepage: https://marketingskills.net
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.