微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔔

Windows 原生桌面通知一键触发

Windows Notifier · v1.1.1
效率 安全 B 级 作者 dougzl 公开目录收录
1.3k 下载 0 安装 5.7k 收藏 37 浏览

简介

Windows 本地桌面通知触发工具,支持系统级弹窗提醒与后台事件提醒,适合学习计时、日程闹钟等场景。

原始描述

Send native Windows desktop notifications for local reminders, alerts, and background-attention events. Use when the user wants a Windows popup, a local toas...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/windows-notifier/
其它 Agent解压到它自己的 skills 目录,目录名用 windows-notifier

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: windows-notifier description: Send native Windows desktop notifications for local reminders, alerts, and background-attention events. Use when the user wants a Windows popup, a local toast notification, or when reminder/alert messages should prefer local desktop notification instead of only chat delivery.

Windows Notifier

Send a local Windows desktop notification on this machine.

This skill is a Windows-focused alias/wrapper around the shared desktop notification flow so agents can trigger a popup consistently when the user asks for a Windows reminder or when a reminder/alert should not rely only on chat visibility.

Use this skill for

  • Local reminder popups
  • Timer / study / schedule alerts
  • Attention-needed notifications when chat may be in the background
  • Windows-specific notification tests

Command

Run this from PowerShell with exec:

node "$env:USERPROFILE\.openclaw\workspace\skills\windows-notifier\scripts\send-notification.js" --title "<TITLE>" --message "<MESSAGE>" --timeout 10

Modern card / persistent dialog mode also goes through the same JS entry:

node "$env:USERPROFILE\.openclaw\workspace\skills\windows-notifier\scripts\send-notification.js" --title "<TITLE>" --message "<MESSAGE>" --mode modern --appName "OpenClaw"

Behavior summary:

  • Windows + WPF available → prefer the built-in WPF modern card path in send-notification.js
  • Windows fallback → if WPF is unavailable or launch fails, automatically fall back to node-notifier
  • Linux / macOS → use the existing node-notifier path
  • Current modern card behavior: auto-close after about 60 seconds; click the card itself to dismiss

Optional flags:

  • --wait true|false
  • --timeout <seconds|false|permanent>
  • --sound true|false (default: true)
  • --mode modern|card|dialog
  • --appName <name>

Notes

  • Keep the title short and the message concise.
  • On Windows, --mode modern|card|dialog prefers the built-in WPF modern card path when available, and otherwise falls back to node-notifier automatically.
  • --timeout false|permanent|sticky|0 is treated as a persistent request intent, but final behavior depends on the active backend (built-in WPF on capable Windows, otherwise node-notifier).
  • Prefer this over chat-only reminders when the request is for a local popup.
  • If a reminder or alert may be missed because OpenClaw is running in the background, prefer triggering this notifier in addition to or instead of chat delivery, depending on user intent.
  • node-notifier remains the default non-Windows path and the cross-platform fallback mechanism.
  • On first run after install, the script auto-installs dependencies in this skill directory if needed, so users do not need to run npm manually.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

windowsnotificationdesktopreminderpowershelllocal-automation

同类 Skill