← 返回 Skills 市场
Task Watcher Skill
作者
_silhouette
· GitHub ↗
· v1.2.1
308
总下载
0
收藏
3
当前安装
5
版本数
在 OpenClaw 中安装
/install task-watcher
功能描述
Monitor async tasks by polling their state and send Discord/Telegram notifications on changes or completion for workflows like CI/CD, deployments, or reviews.
安全使用建议
This skill appears coherent and self-contained, but before installing: 1) Confirm who can create/modify tasks.jsonl in ~/.openclaw/shared-context — a task entry can point the adapter at arbitrary packet paths and cause the watcher to read those files. Limit write access to that directory to trusted agents/users. 2) Ensure OpenClaw agent (and its delivery credentials) is configured securely; this skill delegates delivery to the agent and does not itself hold provider secrets. 3) If you rely on Discord delivery, test with dry_run=true first to verify messages and file paths. 4) If you run the watcher via cron, inspect the cron job, log rotation, and file permissions so sensitive data in audit/notification files isn't exposed. 5) Note Telegram notifier is a placeholder; production Telegram delivery is not implemented in this package.
功能分析
Type: OpenClaw Skill
Name: task-watcher
Version: 1.2.1
The task-watcher skill bundle is a well-structured asynchronous monitoring system designed to track task states (like content reviews or CI/CD jobs) and send notifications. The code follows a clean, modular architecture using the Python standard library, with clear separation between data persistence (JsonlTaskStore), state checking (Adapters), and notification delivery (Notifiers). While it utilizes subprocess.run in notifiers.py to trigger Discord alerts via the OpenClaw CLI, it does so using safe argument lists and for the explicitly stated purpose of the skill. No evidence of malicious intent, data exfiltration, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (watch async tasks and notify) matches the code and SKILL.md: adapters check state from local registries/packet files, policies decide when to notify, and notifiers deliver via OpenClaw or session/file. No unrelated binaries or unrelated cloud credentials are requested.
Instruction Scope
Runtime instructions and code operate on files under ~/.openclaw/shared-context (tasks.jsonl, audit.log, notifications). The watcher runs as a cron job and calls adapters that read registry/packet/mock files. This is expected for the stated purpose, but the adapter logic will read files referenced in tasks (packet_path, registry entries) — review who/what can create tasks to avoid unintended file reads.
Install Mechanism
No install spec in the registry (instruction-only install via clawhub or git clone). The repository contains pure-Python stdlib code; there are no downloads from arbitrary URLs or package installs in the manifest.
Credentials
The skill requests no environment variables or credentials. Notification delivery is delegated to the OpenClaw agent CLI (so any provider credentials are expected to be managed by OpenClaw, not by this skill). Code does reference local binary paths (node, openclaw) but does not require global secrets.
Persistence & Privilege
The skill stores state under ~/.openclaw/shared-context and writes audit/notification files there. It does not set always: true and does not modify other skills. It runs as a cron-invoked script (periodic execution) which is appropriate for the purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install task-watcher - 安装完成后,直接呼叫该 Skill 的名称或使用
/task-watcher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
v1.2.1: Isolate all tests from host filesystem (no ~/.openclaw writes), add .gitignore and MIT LICENSE. Fully portable: clone + pytest works anywhere.
v1.2.0
v1.2.0: Fix test imports for standalone use, add README, add conftest.py. 130 tests pass out of the box after git clone.
v1.0.2
Fix: support both package and standalone import modes. Verified end-to-end with real Discord notifications from installed skill.
v1.0.1
Fix import paths for standalone use, default timeout 48h→6h, update SKILL.md documentation
v1.0.0
Initial release: async task monitoring with Discord notifications, XHS/GitHub/Cron adapters, 130 unit tests
元数据
常见问题
Task Watcher Skill 是什么?
Monitor async tasks by polling their state and send Discord/Telegram notifications on changes or completion for workflows like CI/CD, deployments, or reviews. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 308 次。
如何安装 Task Watcher Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install task-watcher」即可一键安装,无需额外配置。
Task Watcher Skill 是免费的吗?
是的,Task Watcher Skill 完全免费(开源免费),可自由下载、安装和使用。
Task Watcher Skill 支持哪些平台?
Task Watcher Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Task Watcher Skill?
由 _silhouette(@lanyasheng)开发并维护,当前版本 v1.2.1。
推荐 Skills