Pipeline and inspection abilities registered by @prc/agents-trending-news.
Permission
Unless noted, permission_callback is Bot_Identity::can_run_abilities() — manage_options or current user is prc_wp_bot.
Ability index
| Ability | REST | Side effects |
|---|---|---|
prc-agents-trending-news/fetch-headlines | no | Calls GNews |
prc-agents-trending-news/filter-and-deduplicate | no | AI filter |
prc-agents-trending-news/extract-categories | no | AI → PRC categories |
prc-agents-trending-news/enrich-with-related-posts | no | Related-post lookup (idempotent) |
prc-agents-trending-news/rank-by-importance | no | AI rank |
prc-agents-trending-news/analyze-stories | yes | AI story angles; MCP public: false |
prc-agents-trending-news/trending-news-analysis | yes | Full workflow; MCP public: true |
prc-agents-trending-news/inspect-run | no | Read run (idempotent) |
prc-agents-trending-news/list-recent-runs | no | List runs (idempotent) |
Pipeline abilities
fetch-headlines
Reference
5 fields
Input
Typed options, defaults, and constraints in one scannable reference.
-
categorystring -
GNews category.
-
totalnumber -
Headlines to fetch (1–300).
-
fromstring -
Optional start bound.
-
tostring -
Optional end bound.
-
querystring -
Optional search query.
No fields match this filter.
filter-and-deduplicate / extract-categories
Require articles (array). AI-backed; not exposed in REST.
enrich-with-related-posts / rank-by-importance
Require stories (array). Optional limit (default 5).
analyze-stories
Require stories (array). show_in_rest: true.
Orchestrator and tools
trending-news-analysis
Drives the daily-analysis workflow. Permission uses with_site → Bot_Identity::can_run_abilities().
Reference
7 fields
Input
Typed options, defaults, and constraints in one scannable reference.
-
categorystring -
News category.
-
totalnumber -
Story count (1–100).
-
fromstring -
Optional start.
-
tostring -
Optional end.
-
querystring -
Optional query.
-
output_formatenum -
Response format.
-
site_idnumber -
Optional multisite blog ID.
No fields match this filter.
inspect-run / list-recent-runs
| Ability | Input |
|---|---|
inspect-run | required run_id |
list-recent-runs | optional limit (1–50, default 10) |