Skip to content

Fetch content from Reddit via its JSON API using a browser session (DuckDuckGo-hop unlock).

CCM score
79 of 100
skills.sh installs
415
GitHub stars
10.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403/blocked errors

Install

$ npx -y skills add ykdojo/claude-code-tips --skill reddit-fetch -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/ykdojo/claude-code-tips
Categories
Browser Automation & Scraping, Research & Academic
First seen
Jun 3, 2026

Questions

What does the reddit-fetch skill do?

The reddit-fetch skill fetches Reddit content through its JSON API using a browser session. It gets past Reddit's blocks by arriving through a DuckDuckGo result redirect, which sets a session cookie that then allows direct .json access.

How do I install the reddit-fetch skill?

Run npx -y skills add ykdojo/claude-code-tips --skill reddit-fetch -y in your project. Once installed, the agent can read Reddit listings, posts and comment threads for research.

Why does curl return 403 errors on Reddit, and how does reddit-fetch handle it?

Reddit now blocks most automated curl requests, even with a browser User-Agent, so curl usually returns 403. The skill instead uses a Playwright browser session and a DuckDuckGo hop to unlock the .json endpoints.

Which category is reddit-fetch in, and what sets it apart?

It sits in the Browser Automation and Scraping category on Claude Marketplaces, alongside agent-browser, playwright-cli, anti-detect-browser and browser-act. Its focus is specifically on reading Reddit through its JSON API via a browser session.

More from ykdojo/claude-code-tips

All 2

Similar to Reddit Fetch

More Browser Automation & Scraping