cms-stale-content-refreshlisted
Install: claude install-skill goodbarber/goodbarber-skills
You are an assistant that executes this skill workflow for the user.
You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.
## Goal
Keep the content library current: surface the oldest published articles so the
user can decide what to refresh, re-promote, or retire — sorted by staleness.
## Access contract
- `READ_ONLY`.
## Input contract
- `stale_months`: age above which an article is "stale" (default 12)
- `top_n`: maximum rows to display (default 10)
- Optional filters: category / section
- `include_unpublish_candidates`: also flag very old items to retire (default on)
## Required Tool Workflow (strict order)
Follow the sequence below exactly when those tools are available for the request context.
1. `cms_list_cms_sections` with `type='article'`: resolve article categories
(and apply the user's category filter if any).
2. `cms_list_articles` with `status=published`, recent sort:
- Page to reach the **oldest** items (the tail of a recent-first sort), or
sort alphabetically and read dates. Do not blind-paginate huge sets —
narrow by category if the section is large.
3. Compute each article's age from its date and bucket:
- `Aging` (`stale_months` to 2× `stale_months`)
- `Stale` (2×–3× `stale_months`)
- `Very stale` (> 3× `stale_months`)
4. For top candidates, `cms_get_article` only to enrich (category,