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
累计下载
3,944
星标
1
全站排名
#2,619
全站前 52% · 「AI 智能体」前 53%
平台累计安装累计下载星标评论
ClawHub ↗1263,9051-
SkillHub ↗1553,9441—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

可用于长任务完成、状态更新或错误提醒;消息通过本地配置的 Gotify URL 和应用 token 发送。应使用可信 HTTPS 服务器、限制配置文件权限,不要在通知中放置秘密;发现泄露应轮换 token。 需要 Bash、curl、jq 及配置服务器网络,应用 token 须有创建消息权限。确认响应含消息 ID,不将命令结束当送达;该响应也不验证设备收到。Markdown 渲染依接收客户端版本;源完成 hook 为未来概念示例,自动任务跟踪需另行审查集成。

资料发布于 2026-10-27

可以用来做什么

  • 发送任务完成或重要事件通知
  • 规划错误或状态更新推送

什么时候用

  • 服务器地址和 token 的存储安全、通知内容及接收方已确认时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

拟定一条不含密钥或个人信息的任务完成通知,不发送消息。
列出 Gotify 配置文件和应用 token 的安全检查。

月度数据趋势

累计下载3,944
2,5133,2824,0502026-03 · 累计下载 2,6192026-05 · 累计下载 3,1942026-06 · 累计下载 3,3562026-07 · 累计下载 3,6382026-08 · 累计下载 3,7752026-09 · 累计下载 3,94426-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,944—1
2026-083,775+3.8%1
2026-073,638+8.4%1
2026-063,356+5.1%1
2026-053,194—1
2026-032,619—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),按月更新。口径说明见数据方法。