/web:reddit-readingfrom web
Reads Reddit content (subreddits, search, threads, user activity) from server/headless machines where normal routes fail. Uses anonymous Atom feeds or optional OAuth app credentials.
Ships in web. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Reads Reddit content — subreddit listings, site or subreddit search, full threads with comments, and user activity — from a server or headless machine where the normal routes are dead. It does not post, vote, or log in as a user. Idea credit: the per-platform backend routing in Panniantong/Agent-Reach.
reddit.com URL the user shares. Page fetches, browser tools, and the
.json endpoints all fail from server IPs (403 or a "Prove your humanity" wall);
this skill is the working path.None. No Reddit account, login, cookie, or API key is needed. The default backend is
Reddit's public Atom feeds (.rss endpoints), the only unauthenticated route Reddit still
serves to non-residential IPs. It is throttled to about one request per minute per IP and
returns thinner data (no scores, top-level comments only), which is fine for a few calls.
Optional upgrade (app credentials, still no user login): for sustained use or full data, register a free "script" type app at https://www.reddit.com/prefs/apps and put its two values in the environment the assistant's shell inherits:
REDDIT_CLIENT_ID=...
REDDIT_CLIENT_SECRET=...
This is an application registration, not a login: the script uses the app-only
client_credentials grant, never a username, password, or browser cookie, and never
acts as the user. With both values set it switches to the OAuth API automatically
(~100 requests per minute, scores, nested comments, num_comments); if they are
missing or rejected it falls back to the anonymous feeds and says so on stderr.
| Anonymous feeds (default) | OAuth app credentials | |
|---|---|---|
| Setup | nothing | 1-minute app registration, two environment variables |
| Rate limit | ~1 request / minute / IP | ~100 requests / minute |
| Thread data | post + top-level comments, no scores | nested comments, scores, comment counts |
| Acts as a user | no | no |
Run every command from the shell with the skill-relative script path:
python3 scripts/reddit.py doctor # which backend, current rate-limit window
python3 scripts/reddit.py sub LocalLLaMA --sort hot --limit 15
python3 scripts/reddit.py search "hermes agent" --sub LocalLLaMA --sort new
python3 scripts/reddit.py thread https://www.reddit.com/r/x/comments/abc123/slug/ --limit 40
python3 scripts/reddit.py user spez --limit 10
python3 scripts/reddit.py --json search "topic" # machine-readable
Every command works on both backends; the script chooses the backend, you never pass a flag.
| Need | Command | Anonymous | OAuth |
|---|---|---|---|
| Subreddit front page | sub NAME --sort hot|new|top|rising [--time week] | ✔ | ✔ |
| Search all of Reddit | search "q" --sort relevance|new|top|comments | ✔ | ✔ |
| Search one subreddit | search "q" --sub NAME | ✔ | ✔ |
| Thread + comments | thread URL --limit N | ✔ top-level only, no scores | ✔ nested, scores |
| User posts/comments | user NAME | ✔ | ✔ |
| Backend + rate limit | doctor | ✔ | ✔ |
① doctor once per task if you have not called it this session — it tells you which
backend is live and how many seconds remain in the anonymous window.
② Plan your calls before making them. Anonymous Reddit allows roughly one request per
minute per IP; the script sleeps until the window resets on a 429 and retries once, so
a five-call plan costs about five minutes. Prefer one search --sub over several sub
listings, and read one thread rather than the whole listing.
③ For "what is the community saying" questions, read the thread bodies (thread) rather
than stopping at titles; the listing only carries the first ~300 characters of each post.
④ Cite the permalink (url field), not the listing page, when the result feeds a report.
When that report uses the research:grounded-citations skill, register these URLs in
its ledger like any other source.
⑤ If the user needs sustained Reddit access (monitoring, more than ~10 calls), stop and ask them to register the app credentials (Prerequisites) rather than grinding through the throttle. Tell them plainly: it is a free app registration, not logging the assistant into their account. Never ask for a Reddit password or browser cookies.
www.reddit.com/…/.json, api.reddit.com and old.reddit.com return 403 or an
empty "Welcome to Reddit" shell for datacentre IPs. Do not fall back to them; do not
spoof a browser User-Agent (also 403).r.jina.ai and browser tools hit the same block ("blocked by network
security" / humanity check). For an old thread that was archived, the Wayback route
of the web:blocked-page-recovery skill can still recover it; it cannot fetch fresh ones.limit on feeds is advisory — expect 5–25 entries regardless of what you ask.REDDIT_CLIENT_SECRET into a chat or log; the script reads it from the
environment only.python3 scripts/reddit.py doctor prints anonymous_feed: ok and an
x-ratelimit-reset value; sub announcements --limit 1 returns one entry with a
reddit.com/r/announcements/comments/ URL. With credentials set, doctor prints
active_backend: oauth and thread … output shows numeric scores.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
6 skills in this plugin
/blocked-page-recoveryUse when a fetch fails: 403/429, paywall, WAF, bot wall./blogwatcherUse when tracking many blogs or RSS/Atom feeds over time with read/unread state, OPML import, or HTML scraping through the blogwatcher-cli tool/rss-feedsUse when reading an RSS, Atom, or JSON feed, checking what is new on a blog, site, or GitHub repo, or discovering the feed behind a page URL/xurlUse when posting, replying, searching posts, reading timelines or mentions, sending DMs, uploading media, or calling any X (Twitter) API v2 endpoint through the official xurl CLI/youtube-contentUse when the user shares a YouTube URL or asks to summarize a video, get its transcript, or turn it into chapters, a thread, or a blog postGenerated from the plugin's indexed repository (alex-kopylov/zweihander) — no native marketplace selected
npx claudepluginhub p/alex-kopylov-web-dist-claude-code-web