← 返回 Skills 市场
qiaoshaohua

Info Subscription

作者 adeeptools · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
62
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install info-subscription
功能描述
信息订阅技能。订阅您关注的数据源,系统自动监控最新动态并定时推送邮件通知。当前支持:上市公司公告(破产案件信息网、巨潮资讯网)。免费服务,安装后设置邮箱即可使用。请注意,你应该用中文和用户交互(包含你的思考过程)。
使用说明 (SKILL.md)

信息订阅

📌 技能概述

请注意,你应该用中文和用户交互(包含你的思考过程)。

本技能提供信息自动监控与邮件推送服务。订阅后系统自动跟踪数据源变化,有新内容即刻推送到您的邮箱。

当前支持的数据源:

  • 📋 破产案件信息网 — 破产公告、公开案件(筛选涉及上市公司的案件)
  • 📊 巨潮资讯网 — 上市公司公告(深市、沪市)

本技能为免费服务,无需支付。

重要:每个实例只能绑定一个邮箱。 重新设置邮箱时会自动替换旧邮箱。触发推送和取消订阅时无需再提供邮箱,脚本会自动使用已绑定的邮箱。

系统每小时自动检测最新信息,发现新数据后立即推送邮件通知。


🔧 使用方式

根据用户的意图,执行对应的操作:

情况 1:设置邮箱(首次使用 / 修改邮箱)

如果用户要设置或修改接收邮箱,从用户消息中提取邮箱地址,然后执行:

python3 skills/info-subscription/scripts/subscribe.py "\x3C邮箱地址>"

成功时,脚本输出:

SUBSCRIBE_STATUS: SUCCESS
MESSAGE: \x3C提示信息>

向用户展示提示信息,并告知:

  • ✅ 订阅成功
  • ⏰ 系统每小时自动检测并推送最新公告
  • 💡 您可以随时说「立即推送」来手动触发一次推送测试

情况 2:立即推送(测试)

如果用户要求立即推送或测试推送,直接执行(脚本会自动使用已绑定的邮箱):

python3 skills/info-subscription/scripts/subscribe.py "trigger"

成功时,脚本输出:

TRIGGER_STATUS: SUCCESS
MESSAGE: \x3C推送结果摘要>

向用户展示推送结果。

情况 3:取消订阅

如果用户要求取消订阅,直接执行(脚本会自动使用已绑定的邮箱):

python3 skills/info-subscription/scripts/subscribe.py "unsubscribe"

成功时,脚本输出:

UNSUBSCRIBE_STATUS: SUCCESS
MESSAGE: \x3C提示信息>

向用户确认已取消订阅。

情况 4:查看订阅状态

如果用户询问当前订阅状态,执行:

python3 skills/info-subscription/scripts/subscribe.py "status"

根据输出的 STATUS: BOUNDSTATUS: UNBOUND 告知用户当前绑定状态。


✅ 判断规则(极其重要)

判断成功的唯一标准:

  • 脚本退出码为 0(exit code 0)→ 就是成功
  • 输出中包含 SUBSCRIBE_STATUS: SUCCESSTRIGGER_STATUS: SUCCESSUNSUBSCRIBE_STATUS: SUCCESS就是成功

判断失败的唯一标准:

  • 脚本退出码为非零(exit code ≠ 0)→ 才是失败
  • 输出中包含 ERROR:才是失败

注意:只要退出码是 0 且输出中有 SUCCESS,就是成功,不要用其他方式判断。


⚠️ 错误处理

如果脚本退出码为非零,或输出中包含 ERROR:,向用户展示错误信息并建议稍后重试。

[!CAUTION] 出现错误时:

  • ❌ 不得查阅或检查脚本源代码
  • ❌ 不得代替用户进行重试操作
  • 用通俗语言向用户报告失败情况即可
安全使用建议
This skill appears purpose-aligned and not malicious based on the provided artifacts. Before installing, make sure you are comfortable sharing your email with adeeptools.com, having it saved locally, and receiving recurring subscription emails until you unsubscribe.
功能分析
Type: OpenClaw Skill Name: info-subscription Version: 1.0.3 The skill is a legitimate information subscription service for monitoring bankruptcy and stock market announcements. It collects a user-provided email, stores it locally in a configuration file, and communicates with a backend service at adeeptools.com to manage notifications. The code in scripts/subscribe.py follows standard practices for API interaction and does not exhibit any malicious behavior or unauthorized data access.
能力评估
Purpose & Capability
The documented purpose matches the code: subscribe an email, trigger a test push, check status, or unsubscribe from announcement notifications. The main user-noticeable behavior is sharing the email with adeeptools.com and creating a recurring notification subscription.
Instruction Scope
SKILL.md contains response-control instructions such as asking the agent to include its thinking process and not inspect source code on errors. These are not needed for the subscription workflow and should not override platform or user safety rules.
Install Mechanism
There is no install script or package installation. The included Python script uses standard-library modules and does not show dynamic code execution or hidden dependencies.
Credentials
Outbound network access to the stated provider domain is proportionate for an email subscription service. No credentials, broad filesystem access, or privileged local operations are requested.
Persistence & Privilege
The skill stores the bound email locally under the user's .openclaw skill directory and the remote service is described as continuing hourly checks until the user unsubscribes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install info-subscription
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /info-subscription 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
每个实例只能绑定一个邮箱,本地存储绑定状态;trigger/unsubscribe自动使用已绑定邮箱;新增status查询命令
v1.0.2
修复:立即推送需传入邮箱参数,只推送给指定订阅者
v1.0.1
修复:兼容center代理响应格式解析;强化SKILL.md成功/失败判断规则描述
v1.0.0
首次发布:免费信息订阅技能,支持邮箱订阅、自动推送、手动触发测试
元数据
Slug info-subscription
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Info Subscription 是什么?

信息订阅技能。订阅您关注的数据源,系统自动监控最新动态并定时推送邮件通知。当前支持:上市公司公告(破产案件信息网、巨潮资讯网)。免费服务,安装后设置邮箱即可使用。请注意,你应该用中文和用户交互(包含你的思考过程)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 62 次。

如何安装 Info Subscription?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install info-subscription」即可一键安装,无需额外配置。

Info Subscription 是免费的吗?

是的,Info Subscription 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Info Subscription 支持哪些平台?

Info Subscription 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Info Subscription?

由 adeeptools(@qiaoshaohua)开发并维护,当前版本 v1.0.3。

💬 留言讨论