---
name: citation-decay
description: Find the pages that AI answers cite less and less, show which URLs replaced them, and plan content refreshes with Zerply citation decay data. Use when the user asks which pages are losing AI citations, about citation half-life, decaying or decayed URLs, pages due to lose citations soon, what replaced a page in ChatGPT or Perplexity answers, or which content to refresh first.
---
# Citation decay
Use the Zerply connector. Run read operations inside its `execute` tool with `await call_tool(name, params)`. Call each operation that changes data as its own connector tool. If you do not know the team yet, call `get_my_teams` and confirm the domain with the user. The `zerply` skill has the full connector rules.
Zerply follows each URL that AI answers cite. For each URL it gives weekly citations, the days to reach the peak, the peak volume, the half-life after the peak, and a status:
- `rising`: citations still grow
- `at_peak`: at or near the highest week
- `decaying`: past the peak and falling
- `decayed`: below half of the peak
- `insufficient_data`: too few weeks to tell
`days_to_half` is the number of days until a decaying URL reaches half of its peak. A small number means the URL needs attention soon.
## 1. Find the pages at risk
Use `scope: "owned"` when the user asks about their own pages. Use `scope: "all"` to see every cited domain, competitors included.
```python
import asyncio
TEAM = 123
owned, soonest = await asyncio.gather(
call_tool("get_citation_decay", {"team_id": TEAM, "scope": "owned", "per_page": 100}),
call_tool("get_citation_decay", {"team_id": TEAM, "scope": "owned", "sort_by": "days_to_half", "sort_dir": "asc", "per_page": 20}),
)
def row(m):
return {k: m[k] for k in ("url", "title", "status", "total_citations", "peak_citations", "peak_week", "half_life_days", "days_to_half", "last_cited")}
return {
"summary": owned["summary"],
"pagination": owned["pagination"],
"past_peak": [row(m) for m in owned["metrics"] if m["status"] in ("decaying", "decayed")],
"due_soon": [row(m) for m in soonest["metrics"] if m["status"] == "decaying"],
}
```
<!-- ‹guest · 2026-12-01› -->
Add `answer_engine_id` to look at one AI platform. Get the IDs from `list_available_answer_engines`. Change `weeks` (8 to 104) for a shorter or longer history. The default is 52.
## 2. Explain what replaced them
For the 3 to 5 most important decaying or decayed URLs, call `get_citation_displacement` with the URL. It lists the URLs that gained citations on the same prompts after the page peaked. Run the calls together with `asyncio.gather`.
Look at what the replacing pages have in common: newer dates, a different format such as a list or a comparison, a stronger domain, or a competitor's page. Do not guess at their content. If the user wants a content comparison, read the pages with a web tool if you have one, or say which pages to check.
## 3. Match pages to Foundry content
If the team publishes on Foundry, call `get_blogs` and `get_landing_pages`. Match each decaying URL to a blog or landing page by its slug. Then the refresh plan can name the exact item to edit.
## 4. Report and plan
1. **Summary**: tracked URLs, median half-life, URLs past the peak, URLs due soon. Name the team, the scope and the weeks of history.
2. **Pages to act on**: a table with URL, status, peak week, total citations and days to half. Sort by urgency: due soon first, then decayed pages with the most citations.
3. **What replaced them**: for each page, the top replacing URLs and the pattern you see.
4. **Refresh plan**: one concrete action per page, such as updating facts and dates, adding a comparison table, answering the prompt directly in the first paragraph, or adding FAQs.
Offer to make the edits. Use the `blog-publishing` skill for blogs and the `landing-pages` skill for landing pages. Do not change content without a clear yes from the user.
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.