Agent Reach
免费开源的多平台信息采集 CLI,安装后直接调用上游工具。
首次使用 / 诊断
agent-reach doctor # 查看各平台状态
agent-reach install --env=auto # 自动安装依赖
详细命令参考
完整的平台命令和配置指南在上游 SKILL.md:
cat /tmp/Agent-Reach/agent_reach/skill/SKILL.md
如果 /tmp 已清理,重新获取:
pip show agent-reach | grep Location
# 然后读取 <location>/agent_reach/skill/SKILL.md
或直接查看:https://github.com/Panniantong/Agent-Reach/blob/main/agent_reach/skill/SKILL.md
快速速查
| 平台 | 工具 | 示例 |
|---|---|---|
| 任意网页 | Jina | curl -s "https://r.jina.ai/URL" |
| xreach | xreach search "query" --json -n 10 |
|
| YouTube | yt-dlp | yt-dlp --dump-json "URL" |
| B站 | yt-dlp | yt-dlp --dump-json "bilibili URL" |
| curl | curl -s "https://reddit.com/r/xxx/hot.json?limit=10" |
|
| GitHub | gh | gh search repos "query" --sort stars |
| 小红书 | mcporter | mcporter call 'xiaohongshu.search_feeds(...)' |
| 抖音 | mcporter | mcporter call 'douyin.parse_douyin_video_info(...)' |
| mcporter | mcporter call 'linkedin.get_person_profile(...)' |
|
| RSS | feedparser | Python feedparser.parse(url) |
Cookie 配置(需登录的平台)
agent-reach configure --from-browser chrome # 自动提取
agent-reach configure twitter-cookies "auth_token=xxx; ct0=yyy" # 手动
提醒用户使用专用小号,Cookie 登录有封号风险。
User-Learned Best Practices & Constraints
Auto-Generated Section: Maintained by skill-evolution-manager. Do not edit manually.
Known Fixes & Workarounds
- Repeatedly failing on Twitter/X links (signals #7, #15, #30 all tool_failure); improve X.com social media parsing robustness or add fallback extraction method for social platforms