Loading...
Loading...
Use the catbus CLI to read from or operate RedNote, Douyin, TikTok, Bilibili, Kuaishou, Weibo, Xianyu, Taobao, JD, and X (Twitter): search, details, comments, users, recommendation feeds, downloads, publishing, likes and follows, direct messages, and live-stream chat. It outputs a unified JSON format. Use it when users need to query, collect, export, monitor, or operate content and accounts on these platforms.
npx skill4agent add cv-cat/catbus catbuscatbus versioncatbus doctorcatbuscatbus-clinpm link| Task | Read |
|---|---|
| Involving a specific platform | |
| Searching, collecting, exporting, pagination, downloading, and cross-platform comparison | workflows/collect.md |
| Write operations such as publishing, commenting, liking, favoriting, following, and deleting | workflows/write.md |
| Live-stream chat monitoring and direct messages | workflows/live-msg.md |
| Command errors: not logged in, risk control, unsupported, or network issues | workflows/errors.md |
| Checking a command's parameters, options, and output fields | reference/commands.md |
| Platform | id | Aliases | What | Login | File |
|---|---|---|---|---|---|
| RedNote | | | Note | cookie (QR-code sign-in is often blocked) | platforms/xhs.md |
| Douyin | | | Work | QR-code sign-in | platforms/douyin.md |
| TikTok | | | Video | cookie / session JSON | platforms/tiktok.md |
| Bilibili | | | Submission | QR-code sign-in | platforms/bilibili.md |
| Kuaishou | | | Work | QR-code sign-in | platforms/kuaishou.md |
| | Post | cookie | platforms/weibo.md | |
| Xianyu | | | Listing | QR-code sign-in | platforms/xianyu.md |
| Taobao | | | Product | cookie | platforms/taobao.md |
| JD | | | Product SKU | QR-code sign-in | platforms/jd.md |
| X | | | Post | cookie | platforms/x.md |
USAGEcatbus <platform> <resource> <action> [参数...] [选项...]itemsearchfoldermsgnotevideotweetUNSUPPORTEDhintmeidurlurl----e app|pcNOT_IMPLEMENTEDcatbus platforms xhs # JSON: each command's status (implemented / planned), auth, and note
catbus xhs item search --help # Parameters, options, filter values, login requirements, and output typesplannedNOT_IMPLEMENTEDnote--sort--type--time--helpcatbus platforms-o jsonldata{ "ok": true, "platform": "bilibili", "resource": "item", "action": "get", "account": "default",
"data": {}, "page": null, "error": null }okerror{code, message, hint, detail}error.hint| Exit code | code | One-line meaning |
|---|---|---|
| 0 | — | Success |
| 2 | | Invalid arguments / platform unavailable / dangerous operation not confirmed |
| 3 | | Ask the user to log in |
| 4 | | Planned; do not retry |
| 5 | | Risk control triggered; stop and do not retry |
| 6 | | Network / proxy issue |
| 7 | | Platform business error; the original code is in |
| 1 | | Other error |
hint~/.catbus/-y--visibility privateRISK_CONTROL