← 返回 Skills 市场
wdgame

Task Notifier

cross-platform ⚠ suspicious
66
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install task-notifier
功能描述
Sends macOS desktop notifications when any OpenClaw agent finishes a task — works for all agents and subagents automatically. Suppresses alerts when you're a...
使用说明 (SKILL.md)

Task Notifier 🔔

A zero-configuration background plugin for OpenClaw that sends macOS native notifications when an agent completes work. You step away while the agent works — it taps you on the shoulder when it's done.

Why you need this

  • Walk away from your desk while OpenClaw processes a long task
  • Get notified when subagents finish — Forgemaster, Avito, Printer Operator, any of them
  • No spam — only fires when you're NOT looking at OpenClaw
  • No configuration — install and forget

How it works

The plugin hooks into OpenClaw's lifecycle events:

  1. before_prompt_build — detects a new user-initiated turn (filters out heartbeats, cron jobs, and system events), writes a state marker to \x3Cagent-workspace>/.openclaw-task/current.env.

  2. agent_end — on completion, reads the state marker, checks whether OpenClaw's web interface is the active foreground window, and if it's not — fires a native macOS notification with sound. Then cleans up.

Works for all agents automatically — main agent, subagents, custom agents. No per-agent registration needed. Zero configuration.

Smart suppression

OpenClaw web interface is open → no notification. You switched away → notification fires. Simple.

Language support

Auto-detects your macOS system language (defaults read -g AppleLocale):

Language Example
🇷🇺 Russian Задача выполнена ⚔️
🇺🇦 Ukrainian Завдання виконано ⚔️
🇩🇪 German Aufgabe erledigt ⚔️
🇬🇧 English Task completed ⚔️
🇫🇷 French (falls back to English)
🇪🇸 Spanish (falls back to English)

Override: export LANG_CODE=en to force English.

Installation

Via ClawHub (recommended)

clawhub install task-notifier

Then follow the instructions in the installed SKILL.md to set up the plugin.

Manual install

mkdir -p ~/.openclaw/workspace/plugins/task-notifier
cp src/index.ts ~/.openclaw/workspace/plugins/task-notifier/
cp src/task-notify.sh ~/.openclaw/workspace/plugins/task-notifier/
cp openclaw.plugin.json ~/.openclaw/workspace/plugins/task-notifier/

Add to ~/.openclaw/openclaw.json:

{
  "plugins": {
    "load": {
      "paths": ["/path/to/plugins/task-notifier/index.ts"]
    }
  }
}

Restart:

openclaw gateway restart

How to customise

What How
Sound Edit afplay path in src/task-notify.sh
Notification text Edit l10n() strings in the script
Language override export LANG_CODE=en
Add a language Add cases to detect_lang() + l10n() in the script

Use cases

  • 🎮 Gaming while agents work — get notified when Forgemaster finishes generating
  • 📊 Monitoring batch processing — Avito listings, printer jobs, data analysis
  • 🏃 Step away from desk — agents continue working, notification brings you back
  • 🔄 Multi-agent workflows — knows which agent finished (name in notification title)
  • 🌍 International teams — each person gets notifications in their own language

Technical details

  • OS: macOS only (uses osascript + afplay)
  • Dependencies: None — pure TypeScript plugin
  • State: \x3Cworkspace>/.openclaw-task/ — auto-created, idempotent
  • Agent name: From ctx.agentId (portable) → path fallback
  • Trigger filter: Ignores heartbeat, cron, systemEvent

Keywords (for search)

task notification, agent completion, macOS alerts, desktop notification, OpenClaw plugin, background monitoring, task done alert, work complete, AI agent notifier, productivity tool, multi-agent support, subagent notifications, sound alert, smart suppression, hands-free workflow, auto-language, russian notifications, german notifications

Files

File Purpose
src/index.ts Plugin entry — lifecycle hooks
src/task-notify.sh macOS notification dispatcher with l10n
openclaw.plugin.json Plugin manifest for OpenClaw
package.json npm package metadata
SKILL.md This file
README.md GitHub readme
LICENSE MIT-0
安全使用建议
Treat this as a Review item rather than clearly malicious: the purpose is coherent and there is no evidence of exfiltration, but the unsafe execSync shell string should be fixed before broad use. If you install it, expect a persistent macOS startup plugin that observes agent lifecycle events, uses local AppleScript notifications, and writes .openclaw-task state files.
功能分析
Type: OpenClaw Skill Name: task-notifier Version: 1.0.1 The plugin provides macOS desktop notifications for OpenClaw task completion. It uses 'osascript' in 'src/task-notify.sh' to detect the active foreground window (to suppress notifications when the user is already looking at the interface) and 'afplay' for audio alerts. While the plugin uses 'execSync' in 'src/index.ts' to execute a local shell script, the arguments are either hardcoded strings or sanitized agent IDs, and there is no evidence of data exfiltration, malicious command injection, or unauthorized persistence.
能力评估
Purpose & Capability
The lifecycle hooks, notification script, and small workspace state file are coherent with the stated purpose of notifying when agents finish, but the plugin applies automatically to all agents and subagents.
Instruction Scope
The SKILL.md discloses the before_prompt_build and agent_end hooks, the macOS notification behavior, and the .openclaw-task state directory; no prompt-hijacking or hidden network behavior is evident.
Install Mechanism
The registry/install metadata under-declares runtime constraints: the skill has no install spec or OS restriction, while the artifacts include a startup plugin that depends on macOS tools such as osascript and afplay.
Credentials
Local shell/AppleScript use is purpose-aligned for macOS notifications, but src/index.ts invokes a shell command assembled from runtime values, which is broader and less contained than necessary.
Persistence & Privilege
The plugin is configured to activate on OpenClaw startup and watch all agent lifecycle events; this is disclosed and scoped to notifications, but users should expect persistent background behavior until disabled.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install task-notifier
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /task-notifier 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Улучшен SKILL.md для AI discoverability: секция use cases, keywords, расширенные теги, поддержка поисковыми системами
v1.0.0
Первый релиз: macOS-уведомления для всех агентов OpenClaw с автоопределением языка
元数据
Slug task-notifier
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Task Notifier 是什么?

Sends macOS desktop notifications when any OpenClaw agent finishes a task — works for all agents and subagents automatically. Suppresses alerts when you're a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 66 次。

如何安装 Task Notifier?

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

Task Notifier 是免费的吗?

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

Task Notifier 支持哪些平台?

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

谁开发了 Task Notifier?

由 Дмитрий Алексеевич Баев(@wdgame)开发并维护,当前版本 v1.0.1。

💬 留言讨论