首页/ AI 技能 / @skilllib/skill-2117939930272411884
Skill站外收录 @skilllib/skill-2117939930272411884

reddit-fetch

通过命令行交互方式绕过网络限制获取 Reddit 内容,适用于直接访问失败或被屏蔽的场景,利用独立会话执行查询并提取响应结果,支持对指定话题或链接的内容检索与抓取。

0.0 (0) 19 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# 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 ```bash 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 ```bash 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 ```bash tmux kill-session -t <session_name> ```

评论 0

还没有评论,来抢沙发。