Co-Pilot
Updated a month ago

reddit-fetch

Yykdojo
1.2k
ykdojo/claude-code-tips/skills/reddit-fetch
66
Agent Score

๐Ÿ’ก Summary

Fetches Reddit content via Gemini CLI when direct access is blocked.

๐ŸŽฏ Target Audience

Developers needing Reddit dataResearchers using Reddit for studiesUsers facing access issues with RedditTech enthusiasts exploring CLI tools

๐Ÿค– AI Roast: โ€œPowerful, but the setup might scare off the impatient.โ€

Security AnalysisMedium Risk

Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); filesystem read/write scope and path traversal. Run with least privilege and audit before enabling in production.


name: reddit-fetch description: Fetch content from Reddit using Gemini CLI when WebFetch is blocked. Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403/blocked errors. (user)

Reddit Fetch via Gemini CLI

When WebFetch fails to access Reddit (blocked, 403, etc.), use Gemini CLI via tmux.

Pick a unique session name (e.g., gemini_abc123) and use it consistently throughout.

Setup

tmux new-session -d -s <session_name> -x 200 -y 50 tmux send-keys -t <session_name> 'gemini' Enter sleep 3 # wait for Gemini CLI to load

Send query and capture output

tmux send-keys -t <session_name> 'Your Reddit query here' Enter sleep 30 # wait for response (adjust as needed, up to 90s for complex searches) tmux capture-pane -t <session_name> -p -S -500 # capture output

How to tell if Enter was sent

Look for YOUR QUERY TEXT specifically. Is it inside or outside the bordered box?

Enter NOT sent - your query is INSIDE the box:

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ > Your actual query text here       โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Enter WAS sent - your query is OUTSIDE the box, followed by activity:

> Your actual query text here

โ ‹ Our hamsters are working... (processing)

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ >   Type your message or @path/to/file     โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Note: The empty prompt Type your message or @path/to/file always appears in the box - that's normal. What matters is whether YOUR query text is inside or outside the box.

If your query is inside the box, run tmux send-keys -t <session_name> Enter to submit.

Cleanup when done

tmux kill-session -t <session_name>
5-Dim Analysis
Clarity7/10
Novelty5/10
Utility8/10
Completeness7/10
Maintainability6/10
Pros & Cons

Pros

  • Bypasses access restrictions
  • Utilizes existing CLI tools
  • Useful for automated queries

Cons

  • Requires familiarity with tmux
  • Setup can be complex for beginners
  • Dependent on Gemini CLI availability

Related Skills

pytorch

S
toolCode Lib
92/ 100

โ€œIt's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.โ€

agno

S
toolCode Lib
90/ 100

โ€œIt promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.โ€

nuxt-skills

S
toolCo-Pilot
90/ 100

โ€œIt's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.โ€

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author ykdojo.