ワンクリックで
system-notify
统一多通道通知工具。发送分级通知(hint/info/warning/critical),检测环境前置依赖(python3/node/go 等),查询最近通知列表。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
统一多通道通知工具。发送分级通知(hint/info/warning/critical),检测环境前置依赖(python3/node/go 等),查询最近通知列表。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
定时任务与提醒管理:创建定时提醒、周期执行任务、管理闹钟与计划。支持 cron 表达式、固定间隔和一次性定时。当用户需要定时提醒、周期执行、计划任务或查看任务历史时触发此技能。
人设文件编辑:修改工作区的SOUL.md、USER.md、BOOTSTRAP.md文件。当用户要求更新人设、个人信息、引导配置时触发。
三省六部军团管理:实例生命周期监控、三层预算治理、熔断器控制、卡死检测。当需要查看运行中的智能体实例状态或管理军团资源时使用此技能。
多智能体编排协调(三省六部治理框架):消息总线通信、Supervisor/Pipeline/Swarm 三种编排模式、智能体间任务交接。当需要协调多个子智能体协作完成复杂任务时使用此技能。
智能体自动触发调度(三省六部治理框架):cron 定时触发、事件驱动触发、消息匹配触发。当需要配置子智能体的自动执行计划时使用此技能。
AIBBS AI 议会运营与自动参与:提案巡检、去重筛选、council-style 回帖。当用户提到 AIBBS、AI 议会、提案巡检、自动回帖、论坛型智能体讨论、议会式回复或通过讨论赚 TK 时触发此技能。
| name | system-notify |
| description | 统一多通道通知工具。发送分级通知(hint/info/warning/critical),检测环境前置依赖(python3/node/go 等),查询最近通知列表。 |
| tools | system_notify |
| metadata | {"category":"tools","emoji":"🔔","tree_id":"internal/system_notify","tree_group":"internal","min_tier":"task_light","approval_type":"none","enabled_when":"NotificationDispatcher != nil","security_level":"allowlist","intent_keywords":{"zh":["通知","提醒","检测","环境检查","前置检查","python检测","缺少python"],"en":["notify","notification","prereq","check","environment","python missing"]},"related_tools":["report_progress"],"scene_hint":"可恢复的阻塞发warning通知→正常进度汇报用report_progress","summary":"Send multi-channel notifications and check environment prerequisites","title":"System Notify","verb":"Notify","usage_guide":"通知推送、环境检测、前置检查、系统通知","file_access":"none","scope_check":"none","policy_groups":["group:system"],"profiles":["full"],"sort_order":29,"tool_description":"统一多通道通知工具。Actions: send(发送分级通知: hint/info/warning/critical), check_prereqs(检测python3/node/go等前置依赖), list_recent(查询最近通知)。仅在替代方案均失败后发送warning通知(如工具失败3+次、缺少前置依赖、服务不可达)。每次用户请求最多一条通知,不重复通知同一阻塞。","tool_input_schema":{"type":"object","properties":{"action":{"type":"string","enum":["send","check_prereqs","list_recent"],"description":"Action to perform"},"level":{"type":"string","enum":["hint","info","warning","critical"],"description":"Notification level (required for send)"},"title":{"type":"string","description":"Notification title (required for send)"},"message":{"type":"string","description":"Notification message (required for send)"},"category":{"type":"string","enum":["prereq","health","security","update","business"],"description":"Business category (required for send)"},"limit":{"type":"integer","description":"Max items to return for list_recent (default 20)"}},"required":["action"]}} |
发送分级通知到多通道(WebSocket/前端通知中心/远程平台),检测环境前置依赖,查询通知历史。
| 级别 | 投递通道 | 说明 |
|---|---|---|
hint | 仅返回文本给智能体 | 内嵌到回复中,不打扰用户 |
info | + WebSocket → 前端通知中心 | 信息性通知 |
warning | + 前端弹窗 (popup=true) | 需要注意的警告 |
critical | + 异步远程频道 (飞书/钉钉) | 严重问题,需要立即关注 |
| 分类 | 说明 |
|---|---|
prereq | 环境前置依赖 |
health | 系统健康度 |
security | 安全相关 |
update | 更新通知 |
business | 业务通知 |
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| action | string | 是 | send=发送通知, check_prereqs=检查环境依赖, list_recent=查询最近通知 |
| level | string | send 时必填 | hint / info / warning / critical |
| title | string | send 时必填 | 通知标题 |
| message | string | send 时必填 | 通知内容 |
| category | string | send 时必填 | prereq / health / security / update / business |
| limit | integer | 否 | list_recent 最大返回条数(默认 20) |
用户问"我能用 Python 吗?" / "检查一下环境"时:
system_notify(action="check_prereqs")
→ 返回 python3/uv/node/go/brew 检测结果
需要通知用户时(如任务完成、错误告警):
system_notify(action="send", level="info", title="任务完成", message="数据导出已完成", category="business")
system_notify(action="list_recent", limit=10)
→ 返回最近 10 条通知
| 错误场景 | 处理方式 |
|---|---|
| 通知分发器不可用 | 返回 "not available" 错误信息 |
| 参数缺失 | 返回具体缺失字段提示 |
| level/category 非法值 | 返回合法枚举提示 |
system_notify 是 agent 内部工具,不是系统可执行文件。Rust cron daemon 不会 exec system_notify,把它填进 cron.create 的 command 字段会导致任务无效。
正确做法:在 cron.create 用 prompt 模式触发本工具:
{
"action": "create",
"name": "提醒",
"schedule": "at:2026-04-20T23:57:00+08:00",
"prompt": "请调用 system_notify 发送通知:title='会议提醒' message='您有一个会议即将开始' level=info category=business",
"continuation_kind": "notify"
}
到点后 Rust daemon 会把 prompt 作为新一轮消息回写原会话,agent 再调用 system_notify。详见 cron 技能文档。