Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.27 KB

File metadata and controls

40 lines (27 loc) · 1.27 KB

reddit-read Agent Skill

Read a Reddit post and its comment thread from inside your agent session.

Built because agents (especially Claude Code) can struggle to interact with Reddit, due to the aggressive anti-LLM-scraping policies. This reads it through Reddit's API instead.

Install

npx skills add marinsokol5/reddit-read   # Claude Code, Codex, …
npx skills update reddit-read           # later, to pull updates

Needs Python 3 and curl. Restart your agent session so it picks the skill up.

Use

# URL or an ID
/reddit-read https://www.reddit.com/r/Hyperhidrosis/comments/1v5nuc9
/reddit-read 1v5nuc9

How

Two requests per thread — one to mint a token, one GET /comments/<id> — rendered as markdown with the comment tree indented.

The token is an anonymous installed_client grant: no account, public data only, nothing a logged-out visitor can't see. It authenticates with the Reddit Android app's client id, which is a public OAuth client — the id ships inside the APK and the Basic auth password is empty. It does mean these requests identify as the Reddit app rather than as you.

On HTTP 429 it stops and tells you to wait. It never mints a second token to buy a fresh rate-limit budget.

License

MIT — see LICENSE.