Guide

Trending News Abilities

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

AbilityRESTSide effects
prc-agents-trending-news/fetch-headlinesnoCalls GNews
prc-agents-trending-news/filter-and-deduplicatenoAI filter
prc-agents-trending-news/extract-categoriesnoAI → PRC categories
prc-agents-trending-news/enrich-with-related-postsnoRelated-post lookup (idempotent)
prc-agents-trending-news/rank-by-importancenoAI rank
prc-agents-trending-news/analyze-storiesyesAI story angles; MCP public: false
prc-agents-trending-news/trending-news-analysisyesFull workflow; MCP public: true
prc-agents-trending-news/inspect-runnoRead run (idempotent)
prc-agents-trending-news/list-recent-runsnoList runs (idempotent)

Pipeline abilities

fetch-headlines

Reference

Input

Typed options, defaults, and constraints in one scannable reference.
5 fields
category string
GNews category.
total number
Headlines to fetch (1–300).
from string
Optional start bound.
to string
Optional end bound.
query string
Optional search query.

filter-and-deduplicate / extract-categories

Require articles (array). AI-backed; not exposed in REST.

Require stories (array). Optional limit (default 5).

analyze-stories

Require stories (array). show_in_rest: true.

Orchestrator and tools

Drives the daily-analysis workflow. Permission uses with_siteBot_Identity::can_run_abilities().

Reference

Input

Typed options, defaults, and constraints in one scannable reference.
7 fields
category string
News category.
total number
Story count (1–100).
from string
Optional start.
to string
Optional end.
query string
Optional query.
output_format enum
Response format.
site_id number
Optional multisite blog ID.

inspect-run / list-recent-runs

AbilityInput
inspect-runrequired run_id
list-recent-runsoptional limit (1–50, default 10)

Was this helpful?