by cv-cat
一个命令操作小红书、抖音、TikTok、B 站、快手、微博、闲鱼、淘宝、京东、X:统一的命令与 JSON 输出,给人和 AI Agent 用
# Add to your Claude Code skills
git clone https://github.com/cv-cat/catbusSee how catbus compares with popular alternatives.
catbus is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cv-cat. 一个命令操作小红书、抖音、TikTok、B 站、快手、微博、闲鱼、淘宝、京东、X:统一的命令与 JSON 输出,给人和 AI Agent 用. It has 93 GitHub stars.
catbus's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/cv-cat/catbus" and add it to your Claude Code skills directory (see the Installation section above).
catbus is primarily written in TypeScript. It is open-source under cv-cat on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh catbus against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
一个命令,开往 10 个平台。 小红书 · 抖音 · TikTok · B 站 · 快手 · 微博 · 闲鱼 · 淘宝 · 京东 · X 即将上车:Instagram · YouTube · Facebook · 知乎 · 微信公众号 · 今日头条 · 得物 · 拼多多 · 美团 · 大众点评
简体中文 · English · 繁體中文 · 日本語 · 한국어
快速上手 · 能力矩阵 · 各平台 · 示例 · 给 Agent 用
每个平台都有自己的一套接口、签名、登录方式和数据格式。catbus 把它们装进同一辆车:同一套命令、同一种 JSON、同一个登录态目录。换平台,只需要换一个词。
catbus(猫巴士)是一个命令行工具,用统一的语法调用 10 个中外主流平台的 web 端能力:搜索、详情、评论、用户、推荐流、下载、发布、私信、直播弹幕……
catbus xhs item search 露营 --sort latest
catbus douyin item search 露营 --sort latest
catbus bilibili item search 露营 --sort latest
catbus x item search camping --sort latest
四个平台,四条几乎一样的命令,输出同一种结构的 JSON。笔记、作品、稿件、推文一律叫 item,搜索一律叫 search,点赞一律叫 like。学一次,十个平台都会用。
含义相同的能力,在所有平台上用同一个命令、同一组参数、同一种输出。用了平台原生叫法(note、aweme、tweet……)也没关系,catbus 会告诉你该用哪个词。
不需要 Python、编译器或任何系统依赖。原生依赖全部带预编译包,覆盖 Windows、macOS、Linux 的 x64 / arm64(含 musl),8 个目标系统在 CI 上逐一冒烟。
stdout 只有 JSON,退出码稳定,错误里带着下一步该执行的命令;catbus platforms 输出完整的能力清单。自带 Agent 技能 与 llms.txt。
扫码、短信、cookie 导入都支持,凭证按 平台 × 端 × 账号 隔离在 ~/.catbus/(0700 / 0600),多账号随时切换。不收集、不上传任何数据,没有遥测。
每个请求的 URL、header 顺序、cookie、body 和签名,都在固定的随机数与时钟下和上游实现逐字节对拍。560+ 份对拍数据、940+ 个离线测试守住每一次改动。
与真 Chrome 一致的 TLS / HTTP2 指纹,上游签名 JS 原样在沙箱里运行,滑块、点选验证码用本地的 ONNX 与 OpenCV 自动识别。
| 🚌 平台 | ⌨️ 已实现命令 | 🧪 对拍数据 | ✅ 离线测试 | 💻 目标系统 |
|---|---|---|---|---|
| 10 | 300+ | 560+ | 940+ | 8 |
--help、catbus platforms、能力矩阵 都由同一份注册表生成,永远不会互相矛盾。client 管会话与签名,api 一一对应上游方法,normalize 把原始数据变成统一的类型,resolve 让 ID、链接、分享短链、me 都能当参数。catbus 从第一天起就按「被程序调用」来设计:
catbus platforms douyin | jq '.data.commands[] | select(.status=="implemented") | .resource + " " + .action'
{ ok, data, page, error };error.hint 直接给出下一步命令。id 和 url,上一条命令的结果可以直接喂给下一条。-y,发布可以设为仅自己可见,遇到风控明确报 RISK_CONTROL,不会悄悄重试。一条命令把 catbus 技能装进 Claude Code、Cursor、Codex 等 Agent:
npx skills add cv-cat/catbus
技能按需加载:总纲只有一页,涉及哪个平台、做哪类事(采集、发布、直播私信、排错)才读对应的子文件,并且内置了安全红线——登录交给你、写操作先确认、发布默认仅自己可见、遇到风控就停。
npm i -g catbus-cli
catbus doctor # 检查环境
catbus bilibili auth login # 扫码登录
catbus bilibili item search 猫 --limit 20
也可以用 Docker 或从源码安装,完整步骤见 快速上手。
| 🚀 快速上手 | 从安装到导出第一批数据 |
| 🔑 登录 · ⚙️ 配置 · 🐳 Docker | 扫码 / cookie、多账号、代理、容器 |
| 📤 输出与错误处理 | 信封、归一化类型、分页、退出码 |
| 🧭 各平台说明 · 🗂️ 能力矩阵 | 每个平台支持什么、怎么传参 |
| 🧪 示例脚本 | 跨平台搜索、导出评论、备份作品、录直播弹幕 |
| 📐 AGENTS.md | catbus 的规范本身 |
| ❓ 常见问题 | 为什么要登录、遇到风控怎么办…… |
欢迎 issue 和 PR:新平台、新命令、平台接口变了、文档改进都可以。开始之前读一下 CONTRIBUTING.md 和 AGENTS.md(规范先行,请求必须有对拍)。安全问题请按 SECURITY.md 私下报告。
如果你对爬虫和 AI Agent 感兴趣,可以加入群聊一起讨论~
ps:群满或二维码过期时,请提 issue,或者通过微信 / QQ 提醒
| group-1 | group-2 | group-3 | group-4 (2000 人 QQ 群) |
|---|---|---|---|