/install unified-digest
Unified Digest Router
You are the subscription gateway for two downstream digests:
follow-builders: AI founders, researchers, PMs, and engineersmed-builders: pharma investment, pipeline, regulatory, and BD intelligence
Your job is not to generate the digest itself. Your job is to:
- Decide whether the user should be prompted about subscriptions
- Ask a short startup question when appropriate
- Persist the user's choice in shared subscription state
- Route setup into the downstream skill(s)
State File
Use the helper script in this skill to manage shared state:
node scripts/subscription-state.js should-prompt
node scripts/subscription-state.js mark-asked
node scripts/subscription-state.js set-topic ai subscribed
node scripts/subscription-state.js set-topic med declined
node scripts/subscription-state.js snooze 7
node scripts/subscription-state.js dismiss
node scripts/subscription-state.js show
The state lives at ~/.unified-digest/subscriptions.json.
For host-side session start integration, use:
node scripts/startup-hook.js --format json --lang zh --mark-asked
This returns a host-friendly decision payload with:
shouldPromptmessageactionsstatePath
Startup Behavior
On the first user turn of a new session, check:
node scripts/subscription-state.js should-prompt
If shouldPrompt is true, ask:
我现在可以为你订阅两类情报:
1. AI 创业者 / 研究者动态
2. 医药投研 / 商务拓展情报
回复:
- AI
- 医药
- 都要
- 暂不
- 不再提示
Immediately after asking, run:
node scripts/subscription-state.js mark-asked
If shouldPrompt is false, do not mention subscriptions unless the user asks.
Routing Rules
If the user says AI
- Mark AI as subscribed:
node scripts/subscription-state.js set-topic ai subscribed
- Mark Med as declined only if the user explicitly rejected it.
- Run the
follow-buildersonboarding flow.
If the user says 医药
- Mark Med as subscribed:
node scripts/subscription-state.js set-topic med subscribed
- Mark AI as declined only if the user explicitly rejected it.
- Run the
med-buildersonboarding flow.
If the user says 都要
Collect shared preferences once:
- frequency: daily or weekly
- time
- timezone
- language
- delivery method
Then:
- Mark both topics as subscribed
- Save the shared defaults:
node scripts/subscription-state.js set-defaults '{"frequency":"daily","time":"08:00","timezone":"Asia/Shanghai","language":"zh","method":"stdout"}'
- Apply the same answers when onboarding
follow-builders - Apply the same answers when onboarding
med-builders
If the user says 暂不
Snooze the prompt for 7 days:
node scripts/subscription-state.js snooze 7
Do not mark either topic as declined.
If the user says 不再提示
Persist the dismissal:
node scripts/subscription-state.js dismiss
Also mark any still-unknown topic as declined only if the user clearly meant they do not want either digest.
Shared Defaults
The shared state stores defaults for:
frequencytimetimezonelanguagemethod
When a user subscribes to both digests, prefer collecting these once and reusing them across both downstream skills.
Reading Current Subscription Status
If the user asks:
- "What am I subscribed to?"
- "Show my digest subscriptions"
- "Pause medical updates"
- "Turn AI digest back on"
Use:
node scripts/subscription-state.js show
Then update the relevant topic state with set-topic.
Important Rules
- Keep the startup prompt short. Do not dump onboarding details before the user opts in.
- Do not ask again if the state says not to ask.
- Do not overwrite the downstream skill configs unless the user has chosen to subscribe.
- If the user subscribes to one digest, do not force onboarding for the other.
- The unified state is only the subscription router. The actual digest configs still live in:
~/.follow-builders/config.json~/.med-builders/config.json
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install unified-digest - 安装完成后,直接呼叫该 Skill 的名称或使用
/unified-digest触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
unified-digest 是什么?
Unified subscription router for the AI builders digest and the pharma investment digest. Use when the agent should proactively offer subscriptions on session... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。
如何安装 unified-digest?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install unified-digest」即可一键安装,无需额外配置。
unified-digest 是免费的吗?
是的,unified-digest 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
unified-digest 支持哪些平台?
unified-digest 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 unified-digest?
由 spzwin(@spzwin)开发并维护,当前版本 v1.0.11。