用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Leoyishou/personal-ai-company --skill notify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | notify |
| description | 统一通知服务 - 支持 Mac 通知、Telegram、未来可扩展更多渠道 |
| allowed-tools | Bash(python:*), Read, Write |
跨渠道发送通知,支持 Mac 桌面通知、Telegram 等多种方式。
from notify import send_notification
# 发送到所有渠道
send_notification("标题", "消息内容")
# 指定渠道
send_notification("标题", "消息内容", channels=["mac", "telegram"])
# 只发 Mac
send_notification("标题", "消息内容", channels=["mac"])
# 只发 Telegram
send_notification("标题", "消息内容", channels=["telegram"])
# 发送到所有渠道
python3 ~/.claude/skills/notify/scripts/notify.py --title "标题" --message "内容"
# 指定渠道
python3 ~/.claude/skills/notify/scripts/notify.py --title "标题" --message "内容" --channels mac telegram
| 渠道 | 说明 | 状态 |
|---|---|---|
mac | Mac 桌面通知 (terminal-notifier) | ✅ |
telegram | Telegram Saved Messages | ✅ |
slack | Slack Webhook | 🔜 |
discord | Discord Webhook | 🔜 |
email | 邮件通知 | 🔜 |
通知配置存储在 ~/.claude/skills/notify/config.json:
{
"default_channels": ["mac", "telegram"],
"telegram": {
"api_id": "xxx",
"api_hash": "xxx",
"session_path": "~/.claude/skills/KOL-info-collect/session/bobo"
},
"mac": {
"sound": "Glass"
}
}
无需额外配置,复用现有凭证。