Task Notifier
/install task-notifier
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:
-
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. -
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 |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install task-notifier - 安装完成后,直接呼叫该 Skill 的名称或使用
/task-notifier触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。