Agent Reach — 代理覆盖范围
v.Give your AI 代理 eyes to see the entire internet. 安装 and 配置 up流 工具s for Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, Douyin, LinkedIn, Boss直聘, WeChat (微信公众号), RSS, and any 网页 page — then call them directly. Use when: (1) 设置ting up 平台 访问 工具s for the first time, (2) 检查ing which 平台s are avAIlable, (3) user asks to 配置/enable a 平台 channel. Triggers: "帮我配", "帮我添加", "帮我安装", "代理 reach", "安装 channels", "配置 twitter", "enable reddit".
运行时依赖
安装命令
点击复制技能文档
代理安装和配置 为 13+ 个平台安装和配置上游工具。安装完成后,可以直接调用它们——无需包装层。 ⚠️ 工作区规则 永远不要在代理工作区创建文件、克隆仓库或写入输出。请使用以下目录: 目的 目录 临时输出(字幕、下载) /tmp/ 上游工具仓库 ~/.agent-reach/tools/ 配置和令牌 ~/.agent-reach/ 违反此规则将污染用户的工作区,并随着时间的推移降低他们的代理体验。 安装 pip install https://github.com/Panniantong/agent-reach/archive/main.zip agent-reach install --env=auto agent-reach doctor 安装自动检测环境并安装核心依赖项(Node.js、mcporter、xreach CLI、gh CLI、yt-dlp、feedparser)。运行 doctor 以查看活动状态。 管理 agent-reach doctor # 通道状态概述 agent-reach watch # 快速健康检查和更新 agent-reach check-update # 检查新版本 配置通道 agent-reach configure twitter-cookies "auth_token=xxx; ct0=yyy" agent-reach configure proxy http://user:pass@ip:port agent-reach configure --from-browser chrome # 自动从本地浏览器提取 cookie 配置通道(“帮我配 XXX”) 当用户要求配置/启用任何通道时: 运行 agent-reach doctor 找到通道 —— 它显示状态(/ / )和下一步要做什么 执行可以自动执行的步骤(安装包、启动服务) 对于需要人工干预的步骤(粘贴 cookie),告诉用户下一步要做什么 再次运行 agent-reach doctor 以验证 不要记住每个通道的步骤。始终依赖 doctor 输出。 Cookie 导入(所有需要登录的平台通用) ⚠️ 重要提醒:使用 Cookie 登录的平台存在封号风险,请提醒用户务必使用专用小号。 所有需要 Cookie 的平台(Twitter、小红书等),优先使用 Cookie-Editor 导入: 用户在自己的浏览器登录对应平台 安装 Cookie-Editor Chrome 插件 点击插件 → Export → Header String 把导出的字符串发给代理 本地电脑用户也可以用 agent-reach configure --from-browser chrome 一键自动提取。 扫码登录是备选方案(仅限本地有浏览器的情况),Cookie-Editor 更简单可靠。 其他人工操作 代理:Reddit/Bilibili/XiaoHongShu 可能会阻止服务器 IP —— 建议在服务器上使用住宅代理 直接使用上游工具 安装 agent-reach 后,可以直接调用上游工具。 注意:agent-reach 是一个安装器和配置工具 —— 它没有读取、搜索或内容获取命令。请使用以下上游工具: Twitter/X (xreach CLI) # 搜索推文 xreach search "query" --json -n 10 # 读取特定推文 xreach tweet https://x.com/user/status/123 --json # 读取用户时间线 xreach tweets @username --json -n 20 YouTube (yt-dlp) yt-dlp 需要 JS 运行时才能下载 YouTube。agent-reach install 会自动配置 Node.js 作为运行时。 如果遇到 "Sign in to confirm you're not a bot",是 IP 被 YouTube 反爬,换代理或加 cookies。 # 获取视频元数据 yt-dlp --dump-json "https://www.youtube.com/watch?v=xxx" # 下载字幕 yt-dlp --write-sub --write-auto-sub --sub-lang "zh-Hans,zh,en" --skip-download -o "/tmp/%(id)s" "URL" # 然后读取 .vtt 文件 # 搜索(yt-dlp ytsearch) yt-dlp --dump-json "ytsearch5:query" # 如果 "no JS runtime" 警告:确保 Node.js 已安装,然后运行: # mkdir -p ~/.config/yt-dlp && echo "--js-runtimes node" >> ~/.config/yt-dlp/config Bilibili (yt-dlp) 服务器 IP 可能被 Bilibili 拦截(412 错误)。建议通过代理访问,或加 --cookies-from-browser chrome。 # 获取视频元数据 yt-dlp --dump-json "https://www.bilibili.com/video/BVxxx" # 下载字幕 yt-dlp --write-sub --write-auto-sub --sub-lang "zh-Hans,zh,en" --convert-subs vtt --skip-download -o "/tmp/%(id)s" "URL" # 如果被阻止(412 / 登录所需): yt-dlp --cookies-from-browser chrome --dump-json "URL" Reddit (JSON API) # 读取 subreddit curl -s "https://www.reddit.com/r/python/hot.json?limit=10" -H "User-Agent: agent-reach/1.0" # 读取带评论的帖子 curl -s "https://www.reddit.com/r/python/comments/POST_ID.json" -H "User-Agent: agent-reach/1.0" # 搜索 curl -s "https://www.reddit.com/search.json?q=query&limit=10" -H "User-Agent: agent-reach/1.0" 注意:在服务器上,Reddit 可能会阻止您的 IP。使用代理或通过 Exa 搜索。 小红书 / XiaoHongShu (mcporter + xiaohongshu-mcp) 需要登录。使用 Cookie-Editor 导入 cookie 或扫码登录。 # 搜索笔记 mcporter call 'xiaohongshu.search_feeds(keyword: "query")' # 获取笔记详情(含评论) mcporter call 'xiaohongshu.get_feed_detail(feed_id: "xxx", xsec_token: "yyy")' # 获取全部评论 mcporter call 'xiaohongshu.get_feed_detail(feed_id: "xxx", xsec_token: "yyy", load_all_comments: true)' # 发布图文笔记 mcporter call 'xiaohongshu.publish_content(title: "标题", content: "正文", images: ["/path/to/img.jpg"], tags: ["美食"])' # 发布视频笔记 mcporter call 'xiaohongshu.publish_with_video(title: "标题", content: "正文", video: "/path/to/video.mp4", tags: ["vlog"])' 其他功能(点赞、收藏、评论、用户主页等):npx mcporter list xiaohongshu 抖音 / Douyin (mcporter + douyin-mcp-server) # 解析抖音视频信息(分享链接 → 标题、作者、无水印视频 URL 等) mcporter call 'douyin.parse_douyin_video_info(share_link: "https://v.douyin.com/xxx/")' # 获取无水印视频下载链接 mcporter call 'douyin.get_douyin_download_link(share_link: "https://v.douyin.com/xxx/")' # AI 提取视频语音文案(需要配置硅基流动 API Key) mcporter call 'douyin.extract_douyin_t