跳到正文
cccskills
免费在 GitHub 公开

moshi-notify

Send a push notification to Moshi app with custom title and message

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md1.4 KB
  • notify-hook.sh.example2.1 KB
  • README.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Moshi Notification Skill

Send a push notification to the Moshi app.

Usage

/moshi-notify "タイトル" "メッセージ"

Examples

/moshi-notify "Task Complete" "Build finished successfully. All 42 tests passed."
/moshi-notify "完了" "ビルドが成功しました。\n\n- コンパイル完了\n- テスト通過\n- デプロイ準備完了"
/moshi-notify "エラー" "テストが失敗しました。\n\n詳細はログを確認してください。"

Instructions

Parse the user's input:

  • Title: Short summary (first argument or first line, max ~50 chars)
  • Message: Full detailed message (second argument or full text)

If only one argument is provided, use it as both title (truncated) and message (full).

If no arguments provided, ask the user what to notify.

Execute using Bash:

curl -s -X POST https://api.getmoshi.app/api/webhook \
  -H "Content-Type: application/json" \
  -d '{"token":"YOUR_MOSHI_TOKEN","title":"SHORT_TITLE","message":"FULL_MESSAGE"}'
  • Escape JSON special characters in title and message
  • Title should be concise (under 100 chars)
  • Message can be the full detailed text with newlines

After sending, confirm: "通知を送信しました"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

报告此技能的问题