reddit-fetch

Retrieve Reddit content via Gemini CLI in a tmux session when WebFetch is blocked.

9.6k|760|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/ykdojo/claude-code-tips --skill reddit-fetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reddit-fetch
Source: https://github.com/ykdojo/claude-code-tips/tree/main/skills/reddit-fetch
Command: npx skills add https://github.com/ykdojo/claude-code-tips --skill reddit-fetch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reddit access can be blocked or restricted, making it hard to research topics. This Skill provides a reliable way to fetch Reddit content using Gemini CLI in a tmux session when WebFetch fails.

Core Features & Use Cases

  • Deterministic Reddit querying: runs in a dedicated tmux session to retrieve post content and comments when access is blocked.
  • Session-based workflow: keep context across queries by reusing the same session name.
  • Output capture for research: extract and store command output for notes, summaries, or data analysis.

Quick Start

  1. Start a detached tmux session with a unique name (e.g., gemini_reddit_01) and launch Gemini CLI.
  2. Enter your Reddit query and wait for the response.
  3. Capture the output from the session and then terminate it when done.

Frequently Asked Questions about reddit-fetch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch Reddit content when WebFetch is blocked or returns a 403 error?

Fetching Reddit content when WebFetch is blocked involves using Gemini CLI in a dedicated tmux session to retrieve posts. This bypasses standard access restrictions like 403 errors, capturing the required data for research workflows.

What is the best way to extract Reddit data for research when access is restricted?

Extracting restricted Reddit data is best achieved by running Gemini CLI inside a detached tmux session. This workflow guarantees reliable content retrieval and captures command output for downstream research and data analysis.

Can I maintain context across multiple Reddit queries when using a tmux session?

Yes, maintaining context across multiple Reddit queries is possible by reusing the same dedicated tmux session name. This session-based workflow preserves context across consecutive scripted queries during topic exploration.

Do I need to manually clean up the tmux session after retrieving Reddit posts?

Yes, you must manually terminate the tmux session after capturing output from your Reddit queries. Cleanup ensures the detached session stops consuming system resources once data extraction is complete.

Why does WebFetch fail to retrieve Reddit content while Gemini CLI succeeds?

WebFetch fails because Reddit's anti-scraping mechanisms block direct automated requests, returning 403 errors. Using Gemini CLI in a tmux session provides an alternative execution environment that bypasses these blocks to retrieve data.