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-code

Installs 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

More from ykdojo/claude-code-tips

All 2
1zzci avatarpma-webzzci/skillsFrontend implementation guide for PMA-managed React + Vite SPA and internal-tool frontend projects. Covers required quality gates, file-based type-safe routing 391skills.sh installs
2bobmatnyc avatarvuebobmatnyc/claude-mpm-skillsVue 3 - Progressive JavaScript framework with Composition API, reactivity system, single-file components, Vite integration, TypeScript support390skills.sh installs
3davila7 avatardocumentation-templatesdavila7/claude-code-templatesDocumentation templates and structure guidelines. README, API docs, code comments, and AI-friendly documentation.390skills.sh installs
4davila7 avatarhuggingface-acceleratedavila7/claude-code-templatesSimplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device place389skills.sh installs
5zenmux avatarzenmux-contextzenmux/skillsAnswer ZenMux questions by reading the latest official docs. Use for product features, APIs, integration, pricing, models/providers, routing, fallback, streamin387skills.sh installs
6mims-harvard avatardevtu-optimize-descriptionsmims-harvard/tooluniverseOptimize tool descriptions in ToolUniverse JSON configs for clarity and usability. Reviews descriptions for missing prerequisites, unexpanded abbreviations, unc385skills.sh installs