← 返回
未分类 中文

Cross Platform Notifier

Triggers native system notifications across Windows, macOS, and Linux (including WSL) to alert the user when tasks are complete.
在 Windows、macOS、Linux(包括 WSL)上触发系统原生通知,任务完成后提醒用户。
1tsnakers 1tsnakers 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 162
下载
💾 0
安装
1
版本
#latest

概述

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.MessageBox for a reliable pop-up.
  • macOS: Uses osascript (AppleScript) to trigger a native alert box.
  • Linux (Native): Uses notify-send for standard desktop banners.
  • WSL: Detects the Microsoft kernel and calls powershell.exe to 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"

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-06-01 21:24

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 679 📥 328,454
design-media

OllamaDiffuser Image generation

1tsnakers
使用 OllamaDiffuser 在本地进行 AI 图像生成。当 Claude 需要在本地生成、编辑(img2img/inpaint)或控制(ControlNet)图像时使用此技能。
★ 1 📥 312
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 182,169