SupSub CLI 认证管理 —— 登录 / 登出 / 查看登录状态。匹配「supsub 登录」「supsub 登出」「查看我在 supsub 的登录状态」「我现在 supsub 用的是哪个账号」「supsub auth login / logout / status」「我的 supsub 凭证 / API Key 是什么」。在调用其他 supsub 子命令前,如不确定凭证状态可先用本 skill 跑 `supsub auth status`。
SupSub 微信公众号发现 —— 仅当用户想查找 / 发现一个微信公众号「本身」(通常为了拿到 mpId 后订阅它)时使用。匹配「搜公众号 X」「找 X 这个公众号」「查 X 公众号」「想订阅 X 公众号但不知道 ID」「discover / find a WeChat MP account」。⚠️ 不要用于搜索文章正文 / 内容 / 关键词相关的文章 —— 那种意图(如「搜一下 X 相关的内容」「找 X 相关的文章」)必须走 supsub-search。也包含取消正在跑的公众号搜索任务。
SupSub 全文搜索 —— 在订阅源(公众号 / 网站)和文章正文里跨源搜索内容。用户说「搜一下 X 相关的内容 / 文章」「在 supsub 里搜 X」「查 X 相关文章」「全文搜索 X」「找 X 的内容」「search articles/content in SupSub」时使用本 skill。注意:本 skill 用于搜「内容 / 文章 / 订阅源标题」;如果用户想发现一个新的微信公众号本身(拿 mpId 准备订阅),改用 supsub-mp。
SupSub 订阅管理 —— 列出 / 添加 / 删除订阅源(微信公众号 MP 或网站 WEBSITE),以及浏览某个已订阅源里的文章列表。匹配「列出我的订阅」「我订阅了哪些」「取消订阅 X」「订阅 X 这个公众号 / 网站」「看 X 订阅里有哪些文章」「X 公众号最近的未读文章」「添加 / 删除订阅源」。⚠️ 不用于跨订阅搜索文章关键词(走 supsub-search),也不用于「发现一个新的公众号」(走 supsub-mp)。
SupSub 的命令行工具,让你在终端里直接管理订阅源、搜索内容、追踪公众号、网站。
npm i -g @supsub/cli
支持 macOS / Linux / Windows(x64 / arm64)。
第一步:安装(如上)
第二步:登录
supsub auth login
会自动打开浏览器走 OAuth Device Flow 完成授权。也可以直接用 API Key:
supsub auth login --api-key sk_live_xxx
第三步:开始用
# 看看自己的订阅源
supsub sub list
# 搜一个公众号订上
supsub mp search "阮一峰"
# 搜全站内容
supsub search "RAG"
场景 1:订阅一个公众号
# 先搜公众号,拿到 mpId(base64 字符串,例如 MzkyNTYzODk0NQ==)
supsub mp search "阮一峰的网络日志"
# 用 --mp-id 添加订阅(不需要 --type,默认 MP)
supsub sub add --mp-id "MzkyNTYzODk0NQ=="
# 之后想看这个公众号的未读文章,从 sub list 拿到内部 sourceId 即可
supsub sub list --type MP
supsub sub contents --source-id 12345 --type MP
场景 2:搜索内容
# 全量搜索(源 + 文章)
supsub search "AI"
# 仅搜公众号
supsub search "Agent" --type MP
# 仅搜文章正文
supsub search "Claude" --type CONTENT
场景 3:管理订阅
# 列出所有订阅源
supsub sub list
# 仅看已订阅的网站
supsub sub list --type WEBSITE
# 取消订阅
supsub sub remove --source-id 12345 --type MP
supsub auth login OAuth 登录(浏览器授权)
supsub auth login --api-key <key> 直接用 API Key 登录
supsub auth status 查看当前登录状态
supsub auth logout 退出登录(清除本地凭证)
supsub sub list 列出全部订阅源
--type <MP|WEBSITE> 按类型过滤
supsub sub add 添加订阅(--source-id 与 --mp-id 二选一)
--source-id <id> 内部信息源 ID(正整数,来自 search / sub list)
--mp-id <mpId> 公众号 mpId(base64,来自 mp search)
--type <MP|WEBSITE> --source-id 模式必填;--mp-id 模式可省,默认 MP
--group <gid> 分组 ID(可重复指定)
supsub sub remove 取消订阅
--source-id <id> 必填
--type <MP|WEBSITE> 必填
supsub sub contents 查看订阅源内的文章
--source-id <id> 必填
--type <MP|WEBSITE> 必填
--unread 仅未读(默认)
--all 全部文章(与 --unread 互斥)
supsub search <keyword> 全量搜索(订阅源 + 文章)
--type <ALL|MP|WEBSITE|CONTENT> 搜索范围,默认 ALL
supsub mp search <name> 搜索公众号(异步,自动轮询 30s)
supsub mp search-cancel <searchId> 取消正在执行的搜索任务
| 参数 | 说明 |
|---|---|
--api-key <key> | 指定 API Key |
-o, --output table|json | 输出格式,默认 table |
| 变量 | 说明 |
|---|---|
SUPSUB_API_KEY | API Key(同 --api-key,命令行 flag 优先级更高) |
skills/ 遵循 Agent Skills 规范,可在 Claude Code、Cursor、Gemini CLI、Codex、Copilot 等兼容 agent 中使用。
| Skill | 覆盖命令 |
|---|---|
| supsub-auth | auth login / auth status / auth logout |
| supsub-sub | sub list / sub add / sub remove / sub contents |
| supsub-search | search <keyword> |
| supsub-mp | mp search / mp search-cancel |
Claude Code(推荐):
/plugin marketplace add hidumou/supsub-cli
/plugin install supsub-cli@supsub
其他 agent,用 skills CLI:
npx skills add hidumou/supsub-cli
装完后直接用自然语言即可,agent 会自动调用对应的 skill:
帮我订阅「阮一峰的网络日志」这个公众号
搜一下最近关于 RAG 的文章,挑 3 条给我
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub hidumou/supsub-cli --plugin supsub-cliHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Binary reverse engineering, malware analysis, firmware security, and software protection research for authorized security research, CTF competitions, and defensive security
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Next.js development expertise with skills for App Router, Server Components, Route Handlers, Server Actions, and authentication patterns
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications