Skip to content

Repository files navigation

claude-trump

claude-trump

CI License: MIT Python: 3.10+ Claude Code Plugin

Tired of watching AI write code all day, every day?
Want to keep an eye on the news without breaking your flow?
Keep claude-trump a slash command away.
Stay close to the political moves that move your stocks and the broader economy.

Wire and major-outlet RSS feeds, synthesized by your Claude session. No API keys. No paid services. Bilingual (English / Korean).

Install · Usage · Commands · Sources · Limitations · 한국어


Highlights

Built for coding flow Briefings come up inside your Claude Code session — zero context switch
Tracks Trump's flip-flops /claude-trump:flips surfaces position reversals over the past 7 days — the signature use case
Bilingual English / Korean output, auto-detected from your prompt
8 slash commands Category, time-window, and language shortcuts
No API keys Public RSS only — free forever
Wire-first sourcing Reuters / AP / Federal Register grade, not random scrapers
Single dependency Pure Python stdlib + feedparser. No JavaScript, no Docker, no DB

What it does

Ask Claude Code something like:

> Give me a Trump briefing
# US Politics Briefing — 2026-04-26

## Top Stories (last 24 hours)

### 1. Acting AG Blanche addresses WHCA shooting incident
**What:** Acting Attorney General gave a televised statement on the WHCA dinner shooting.
**Who:** Todd Blanche, President Trump.
**Why it matters:** First official account of the suspect's cross-country travel and motive.
**Sources:** [CBS News](...), [The Hill](...)

### 2. ...

## Notable Trump Quotes (via wire coverage)
- "Direct quote here..." — Reuters

## Global / Market Impact
- ...

Bilingual: ask in Korean and you get a Korean briefing.

Why

There is no shortage of US-politics news aggregators, but few that fit cleanly into a Claude Code workflow: zero external services, no API keys, predictable output format, and the analysis stays entirely in your local Claude session. claude-trump fills that niche.

Installation

In Claude Code:

/plugin marketplace add github.com/alsgur9865-sketch/claude-trump
/plugin install claude-trump

Then install the one runtime dependency (Claude Code Plugins do not yet auto-install Python packages):

pip install --user feedparser

Restart Claude Code, then trigger the skill:

> Give me a Trump briefing

Usage

Natural language (works in any language)

  • Give me a Trump briefing
  • What's happening in US politics today?
  • White House news this week
  • 오늘 트럼프 뭐했어?
  • 이번 주 미국 정치 브리핑

Refinements work inline:

  • Trump briefing for the last week → 168-hour window
  • Just the Congress news → category filter
  • --lang=ko → force Korean output

Slash commands (explicit, marketplace install only)

  • /claude-trump — full briefing (24h, all categories, language auto-detected)
  • /claude-trump congress 168 — Congress only, last week
  • /claude-trump white_house 48 ko — White House, last 48h, Korean output
  • /claude-trump:congress — Congress-only shortcut (24h)
  • /claude-trump:white-house — White House shortcut (24h)
  • /claude-trump:executive — Executive orders / Federal Register shortcut (last 7 days; the source publishes only a few times per week)
  • /claude-trump:weekly — Weekly recap across all categories (last 7 days)
  • /claude-trump:flipsTrump position reversals and flip-flops in the last 7 days. The signature command — Trump's reversals move markets and policy, and this surfaces them so you don't have to read the full daily news to find them
  • /claude-trump:ko — Force Korean output (24h, all categories)
  • /claude-trump:en — Force English output (24h, all categories)

Slash commands give you autocomplete in Claude Code and skip natural-language ambiguity. Both methods produce the same output and save to the same briefing file.

Configuration

Edit ~/.claude/skills/claude-trump/sources.json to add or remove RSS feeds. The structure is:

{
  "categories": {
    "general_us_politics": [
      {"name": "NPR Politics", "url": "https://...", "site": "https://...", "lean": "left"}
    ]
  }
}

Each new URL should be verified manually (200 OK + recent items) before adding. See CONTRIBUTING.md for the full checklist.

Architecture

claude-trump/
├── .claude-plugin/plugin.json          Plugin manifest
├── skills/claude-trump/
│   ├── SKILL.md                        Skill activation + workflow
│   ├── sources.json                    RSS feed catalog
│   └── scripts/fetch_news.py           Parallel RSS aggregator
├── tests/                              Unit + golden-file tests
├── scripts/dev-{install,uninstall}.sh  Developer-only scripts
└── README.md / README.ko.md            Documentation

Data sources

v0.1 ships with 7 verified feeds across 5 categories:

Category Sources Lean
white_house CBS News Politics center
congress The Hill, Roll Call center
supreme_court SCOTUSblog center
executive_orders Federal Register Presidential Documents primary source
general_us_politics NPR, Fox News, Axios left / right / center

Trump's own social-media posts are not collected directly. Truth Social does not provide a public RSS feed, its API is behind Cloudflare bot protection, and the only third-party JSON archive (CNN's ix.cnn.io) is a 10 MB+ single file unsuitable for repeated polling. Wire services typically cover significant Trump statements within 5–30 minutes, so important posts are captured indirectly.

See CHANGELOG.md for the full exclusion rationale.

Limitations

  • Latency: 5–30 minutes behind real-world events (RSS publication lag). Not suitable for trading decisions or real-time market reaction.
  • No push notifications. The skill only runs when you ask. For instant alerts, use a dedicated tool (Telegram/Discord bot).
  • Trump's own posts are indirect. Captured only when wire services quote them. Casual posts and reposts may be missed.
  • English-language sources only. Korean output is translation; the underlying news is from US outlets.

FAQ

Q: Why no API key? A: All sources are public RSS feeds. The skill is fully self-contained and free to run.

Q: Is this politically biased? A: The source list intentionally spans the spectrum (NPR/CBS/Axios for center-left, Fox News for right, wire services for neutrality, Federal Register for primary documents). Claude is instructed not to editorialize.

Q: Why no direct Truth Social integration? A: We tried. Truth Social blocks public RSS, blocks unauthenticated API access (Cloudflare 403), and the only third-party JSON archive is too large to poll responsibly. Wire coverage captures the important posts. See the CHANGELOG for the verification trail.

Q: Can I add EU politics or Korean politics? A: Yes — fork the repo and replace the URLs in sources.json. The pipeline is source-agnostic. A claude-eu-politics or claude-k-politics fork is a welcome contribution.

Q: Where are briefings saved? A: ~/.claude/claude-trump/briefings/YYYY-MM-DD.md (UTC date). Repeated runs on the same day append under ## Update HH:MM UTC headers — never overwriting.

Q: Some links in the briefing return "Not Found" or 403. Why? A: All article links come straight from publishers' RSS feeds and are not fabricated. When a link fails, one of four things is usually happening:

  1. Publisher bot-protection (e.g., The Hill 403). Some outlets block non-browser User-Agents on the article page even though their RSS feed is open. Open the link in your browser and it usually works.
  2. Slow upstream server (e.g., NPR sometimes takes 30+ seconds). Refresh or try again — the article exists.
  3. Live-update pages (e.g., CBS /live-updates/...). These are ephemeral by design; once the live event ends, the URL may redirect or be replaced. Nothing we can do client-side.
  4. Malformed slug from the publisher's RSS (e.g., a stray trailing hyphen). We strip trailing -./ automatically, but a slug that's wrong in other ways is the publisher's bug, not ours.

If you find a link consistently broken across browsers, please open an issue with the source feed name and the URL.

Contributing

See CONTRIBUTING.md for local development, test execution, and source-addition guidelines.

Star History

Star History Chart

License

MIT. See LICENSE.

Acknowledgments

Inspired by camilleroux/tech-digest — the original "Claude Code skill that aggregates RSS feeds for daily briefings" pattern. claude-trump applies the same approach to a different domain.

About

AI politics briefing for Claude Code. Aggregates US wire/major-outlet RSS feeds, synthesized in your Claude session. Tracks Trump's flip-flops. Bilingual EN/KO. No API keys.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages