
Reddit Fetch
Handles Reddit content fetching when you hit blocks or need structured data. Tries Gemini CLI first for browsing and summarization, then falls back to Reddit's JSON API with curl if that fails. The tmux setup is a bit involved but the instructions are thorough about detecting whether commands actually ran. The JSON fallback is solid for pulling posts and comments programmatically, though you'll need to respect rate limits and space out requests. Most useful when you're scraping subreddit data or working around 403 errors that plague headless Reddit access.
- skills.sh installs
- 392
- GitHub stars
- 10.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ykdojo/claude-code-tips --skill reddit-fetch --agent claude-codeInstalls into .claude/skills of the current project.
Files
Reddit Fetch
Reddit's public JSON API works by appending .json to any Reddit URL — but Reddit now hard-blocks automated access. curl 403s essentially every time (host AND container, regardless of User-Agent), and even a cold Playwright navigation to reddit.com hits a "You've been blocked by network security" challenge page. The reliable method is to arrive at Reddit through a DuckDuckGo result redirect: that sets a Reddit session cookie which unlocks direct .json access for the rest of the browser session.
Primary method: the DuckDuckGo-hop unlock
Step 1 - the DDG hop. Do this once per session before any .json fetch.
Sponsors
Details
- Repository
- github.com/ykdojo/claude-code-tips
- Categories
- Backend & APIs, Automation & Workflows
- First seen
- Jun 3, 2026