reddit-fetch
26
总安装量
12
周安装量
#14049
全站排名
安装命令
npx skills add https://github.com/ykdojo/claude-code-tips --skill reddit-fetch
Agent 安装分布
claude-code
11
antigravity
9
codex
8
gemini-cli
7
opencode
7
cursor
6
Skill 文档
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 -m gemini-3-pro-preview' 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>