jmagar

Gotify

AI 智慧體v1.0.1
作者:jmagar更新於 2026-05-11共 2 個版本 · 最新版本釋出於 2026-01-23gotify@clawhub_jmagar/gotify
工具呼叫

據 AlphaMoat 統計,截至 2026-09,Gotify 累計下載 3,944 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 2,619 位,在「AI 智慧體」分類(969 個)中排名第 512 位。

累計安裝
155
累計下載
3944
星標
1
全站排名
#2,619
全站前 52% · 「AI 智慧體」前 53%
平台累計安裝累計下載星標評論
ClawHub ↗12639051-
SkillHub ↗15539441—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

可用於長任務完成、狀態更新或錯誤提醒;訊息透過本機設定的 Gotify URL 和應用 token 傳送。應使用可信 HTTPS 伺服器、限制設定檔案權限,不要在通知中放置秘密;發現洩露應輪換 token。 需要 Bash、curl、jq 及設定伺服器網路,應用 token 須有建立訊息權限。確認回應含訊息 ID,不將命令結束當送達;該回應也不驗證裝置收到。Markdown 算繪依接收用戶端版本;來源完成 hook 為未來概念範例,自動任務追蹤需另行審查整合。

資料釋出於 2026-10-27

可以用來做什麼

  • 傳送任務完成或重要事件通知
  • 規劃錯誤或狀態更新推送

什麼時候用

  • 伺服器地址和 token 的儲存安全、通知內容及接收方已確認時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

擬定一條不含金鑰或個人資訊的任務完成通知,不傳送訊息。
列出 Gotify 設定檔案和應用 token 的安全檢查。

月度資料趨勢

累計下載3944
2513328240502026-03 · 累計下載 26192026-05 · 累計下載 31942026-06 · 累計下載 33562026-07 · 累計下載 36382026-08 · 累計下載 37752026-09 · 累計下載 394426-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093944—1
2026-083775+3.8%1
2026-073638+8.4%1
2026-063356+5.1%1
2026-053194—1
2026-032619—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.8 KB · ClawHub v1.0.1
---
name: gotify
description: Send push notifications via Gotify when long-running tasks complete or important events occur. Use when the user asks to "send a Gotify notification", "notify me when this finishes", "push notification", "alert me via Gotify", or wants to be notified of task completion.
version: 1.0.1
metadata:
  clawdbot:
    emoji: "🔔"
    requires:
      bins: ["curl", "jq"]
---
展開全部(共 157 行)

# Gotify Notification Skill

Send push notifications to your Gotify server when long-running tasks complete or important events occur.

## Purpose

This skill enables Clawdbot to send push notifications via Gotify, useful for:
- Alerting when long-running tasks complete
- Sending status updates for background operations
- Notifying of important events or errors
- Integration with task completion hooks

## Setup

Create the credentials file: `~/.clawdbot/credentials/gotify/config.json`

```json
{
  "url": "https://gotify.example.com",
  "token": "YOUR_APP_TOKEN"
}
```

- `url`: Your Gotify server URL (no trailing slash)
- `token`: Application token from Gotify (Settings → Apps → Create Application)

## Usage

### Basic Notification

```bash
bash scripts/send.sh "Task completed successfully"
```

### With Title

```bash
bash scripts/send.sh --title "Build Complete" --message "skill-sync tests passed"
```

### With Priority (0-10)

```bash
bash scripts/send.sh -t "Critical Alert" -m "Service down" -p 10
```

### Markdown Support

```bash
bash scripts/send.sh --title "Deploy Summary" --markdown --message "
## Deployment Complete

- **Status**: ✅ Success
- **Duration**: 2m 34s
- **Commits**: 5 new
"
```

## Integration with Task Completion

### Option 1: Direct Call After Task

```bash
# Run long task
./deploy.sh && bash ~/clawd/skills/gotify/scripts/send.sh "Deploy finished"
```

### Option 2: Hook Integration (Future)

When Clawdbot supports task completion hooks, this skill can be triggered automatically:

```bash
# Example hook configuration (conceptual)
{
  "on": "task_complete",
  "run": "bash ~/clawd/skills/gotify/scripts/send.sh 'Task: {{task_name}} completed in {{duration}}'"
}
```

## Parameters

- `-m, --message <text>`: Notification message (required)
- `-t, --title <text>`: Notification title (optional)
- `-p, --priority <0-10>`: Priority level (default: 5)
  - 0-3: Low priority
  - 4-7: Normal priority
  - 8-10: High priority (may trigger sound/vibration)
- `--markdown`: Enable markdown formatting in message

## Examples

### Notify when subagent finishes

```bash
# After spawning subagent
sessions_spawn --task "Research topic" --label my-research
# ... wait for completion ...
bash scripts/send.sh -t "Research Complete" -m "Check session: my-research"
```

### Notify on error with high priority

```bash
if ! ./critical-task.sh; then
  bash scripts/send.sh -t "⚠️ Critical Failure" -m "Task failed, check logs" -p 10
fi
```

### Rich markdown notification

```bash
bash scripts/send.sh --markdown -t "Daily Summary" -m "
# System Status

## ✅ Healthy
- UniFi: 34 clients
- Sonarr: 1,175 shows
- Radarr: 2,551 movies

## 📊 Stats
- Uptime: 621h
- Network: All OK
"
```

## Workflow

When the user says:
- **"Notify me when this finishes"** → Add `&& bash scripts/send.sh "Task complete"` to their command
- **"Send a Gotify alert"** → Run `bash scripts/send.sh` with their message
- **"Push notification for task completion"** → Integrate into their workflow with appropriate title/priority

Always confirm the notification was sent successfully (check for JSON response with message ID).

## Notes

- Requires network access to your Gotify server
- App token must have "create message" permission
- Priority levels affect notification behavior on client devices
- Markdown support depends on Gotify client version (most modern clients support it)

## Reference

- Gotify API docs: https://gotify.net/docs/
- Gotify Android/iOS apps for receiving notifications

「AI 智慧體」分類下的熱門技能

jmagar 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。