Documentation
Fox News CLI
foxnews-pp-cli
Install
npx -y @mvanhorn/printing-press-library install foxnewsInstalls the CLI binary and the agent skill for Claude Code, Codex, Cursor, Gemini CLI, Copilot, and more. Add --cli-only or --skill-only for one half. Requires Node.
Documentation
Read Fox News headlines from the public Google Publisher RSS feeds on moxie.foxnews.com. No API key, no scraping — one HTTP GET per request.
Quick start
# Latest headlines (all sections) — default
foxnews-pp-cli headlines --limit 10 --json
# Politics only
foxnews-pp-cli headlines --section politics --limit 5 --json
# List section ids
foxnews-pp-cli sections --json
# Health check
foxnews-pp-cli doctor --json
Sections
--section | Feed |
|---|---|
latest (default) | latest.xml |
world | world.xml |
politics | politics.xml |
science | science.xml |
health | health.xml |
sports | sports.xml |
travel | travel.xml |
tech | tech.xml |
opinion | opinion.xml |
video | videos.xml |
Alias: videos maps to video.
Configuration
| Variable | Purpose |
|---|---|
FOX_NEWS_FEED_BASE | Optional RSS base URL (default https://moxie.foxnews.com/google-publisher) |
Output
- Piped (scripts/agents): JSON by default, wrapped as
{"meta":{...},"results":[...]} - Terminal: table by default; add
--jsonor--agentfor JSON
--agent sets --json --compact --no-input --no-color --yes. Compact keeps title, link, published, section on headlines.
foxnews-pp-cli headlines --section sports --limit 15 --agent
foxnews-pp-cli agent-context --pretty
This CLI does not ship Drudge-style sync, splash, breaking, or which — use sections, headlines, and agent-context instead.
License
For agents: pass /documentation/foxnews/agents.md to install this CLI from a prompt.