/install cross-platform-notifier
Cross-Platform Notifier
This skill provides a unified way to send visual alerts to the user's desktop regardless of their operating system. It is designed to bridge the gap between different OS notification systems and specifically handles the complexity of WSL (Windows Subsystem for Linux).
Implementation
The skill uses a wrapper script notify.sh that detects the host operating system and chooses the appropriate native tool.
Note: As of v1.0.0, this skill has been verified on Windows (including WSL) and follows standard AppleScript/Linux conventions for other platforms.
The Unified Command
To send a notification, execute the following shell command:
./skills/cross-platform-notifier/scripts/notify.sh "Your message here" "Your title here"
(Note: Ensure the script has execution permissions: chmod +x scripts/notify.sh)
How it Works (Under the Hood)
- Windows: Uses PowerShell's
System.Windows.Forms.MessageBoxfor a reliable pop-up. - macOS: Uses
osascript(AppleScript) to trigger a native alert box. - Linux (Native): Uses
notify-sendfor standard desktop banners. - WSL: Detects the Microsoft kernel and calls
powershell.exeto bridge the notification back to the Windows host desktop.
Usage Guidelines
When to use
- Task Completion: After a long background process finishes.
- Urgent Blockers: When a decision is needed to proceed.
- Confirmation: To alert the user that a high-impact action has been completed.
When NOT to use
- Casual Conversation: Do not use for standard chat.
- High-Frequency Events: Avoid "spamming" notifications.
- Silent Work: If a task is meant to be subtle, stay silent.
Examples
Scenario: Finished a heavy data process
./skills/cross-platform-notifier/scripts/notify.sh "I've finished analyzing those files! 🦞" "Analysis Complete"
Scenario: Error in background build
./skills/cross-platform-notifier/scripts/notify.sh "The build failed. Please check the logs. ⚠️" "Error Alert"
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cross-platform-notifier - 安装完成后,直接呼叫该 Skill 的名称或使用
/cross-platform-notifier触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Cross Platform Notifier 是什么?
Triggers native system notifications across Windows, macOS, and Linux (including WSL) to alert the user when tasks are complete. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 59 次。
如何安装 Cross Platform Notifier?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cross-platform-notifier」即可一键安装,无需额外配置。
Cross Platform Notifier 是免费的吗?
是的,Cross Platform Notifier 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cross Platform Notifier 支持哪些平台?
Cross Platform Notifier 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cross Platform Notifier?
由 1TSnakers(@1tsnakers)开发并维护,当前版本 v1.0.0。