在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用create-notification-plugin
星标0
分支0
更新时间2026年6月18日 02:56
互動式建立 Codex 多平台提示音插件。
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
互動式建立 Codex 多平台提示音插件。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | create-notification-plugin |
| description | 互動式建立 Codex 多平台提示音插件。 |
本 skill 維護專案根目錄的 notifications.json 註冊表,並透過 node build.js 全量重生 Codex plugin 產物。
notifications.json 作為唯一真相來源。plugins/*/、.agents/plugins/marketplace.json,以及根 README.md 的插件列表表格;這些內容會由 build.js 覆蓋。templates/audios/{id}/notification.wav 與 templates/audios/{id}/stop.wav。需要從使用者取得:
basic、my-sound["Windows", "macOS", "Linux", "WSL"]notifications.json 的 owner收集方式由你自行判斷,重點是資訊完整且不重複打擾使用者。
驗證以下兩個音檔是否已就位:
templates/audios/{id}/notification.wavtemplates/audios/{id}/stop.wav任一不存在時,明確告知使用者要放到 templates/audios/{id}/,請使用者先放好音檔再繼續,不可進入後續步驟。
讀取 notifications.json,在 plugins 陣列末端加入新 entry:
{
"id": "{id}",
"name": "{name}",
"platforms": ["Windows", "macOS", "Linux", "WSL"]
}
若使用者指定獨立 author,加上 author 欄:
{
"id": "{id}",
"name": "{name}",
"platforms": ["Windows", "macOS", "Linux", "WSL"],
"author": {
"name": "{authorName}",
"email": "{authorEmail}"
}
}
若同 id 已存在於 plugins 陣列,回報該 id 已存在,build.js 會冪等覆蓋;不要新增重複 entry,直接進入建置。
node build.js
build.js 會:
plugins/{id}-{win,mac,linux,wsl}/.agents/plugins/marketplace.jsonREADME.md 的插件列表表格notifications.json 已移除但仍存在的 plugins/{id}-{platform}/ 舊資料夾若 build 失敗,向使用者顯示錯誤訊息並停止。
解析 build.js stdout,整理回報:
codex plugin add notification-{id}-win@ycs77-notificationscodex plugin add notification-{id}-mac@ycs77-notificationscodex plugin add notification-{id}-linux@ycs77-notificationscodex plugin add notification-{id}-wsl@ycs77-notifications