← 返回 Skills 市场
jmagar

Gotify

作者 jmagar · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
2721
总下载
1
收藏
7
当前安装
2
版本数
在 OpenClaw 中安装
/install gotify
功能描述
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.
使用说明 (SKILL.md)

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

{
  "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 scripts/send.sh "Task completed successfully"

With Title

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

With Priority (0-10)

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

Markdown Support

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

# 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:

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

Parameters

  • -m, --message \x3Ctext>: Notification message (required)
  • -t, --title \x3Ctext>: Notification title (optional)
  • -p, --priority \x3C0-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

# 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

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

Rich markdown notification

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

安全使用建议
This skill appears to do exactly what it says: a small bash script posts messages to your Gotify server. Before installing, verify the following: (1) create the credentials file at ~/.clawdbot/credentials/gotify/config.json (or set GOTIFY_CONFIG_FILE to point to it) since the script does not actually read GOTIFY_URL/GOTIFY_TOKEN despite README text claiming that option; (2) keep the config file readable only by the intended user (tokens are sensitive); (3) the script sends the token in the URL query string (message?token=...), which may be logged by intermediaries—prefer HTTPS and confirm your Gotify endpoint is trusted; (4) review and test the script locally to confirm behavior and response handling (it prints the raw response); and (5) because the skill will contact whatever GOTIFY_URL you configure, ensure that host is correct and trusted. These are operational/privacy cautions rather than indications of malicious intent.
功能分析
Type: OpenClaw Skill Name: gotify Version: 1.0.1 The skill is designed to send Gotify push notifications, which inherently requires network access and handling an API token. The `scripts/send.sh` script uses `curl` to send data to the user-configured Gotify server and `jq` for safe JSON payload construction. Credentials (`url`, `token`) are read from a dedicated local file (`~/.clawdbot/credentials/gotify/config.json`), which is a standard and expected practice for OpenClaw skills. The `SKILL.md` instructions for the agent are clear, aligned with the stated purpose, and do not contain any prompt injection attempts to subvert the agent's behavior or exfiltrate data. No evidence of malicious execution, persistence, or obfuscation was found.
能力评估
Purpose & Capability
Name/description, required binaries (curl, jq), and included script align with a Gotify notification skill. Minor inconsistency: registry metadata lists no required config paths/env vars, but SKILL.md and scripts expect a credentials file at ~/.clawdbot/credentials/gotify/config.json (and the script supports overriding that path via GOTIFY_CONFIG_FILE).
Instruction Scope
SKILL.md instructs the agent to call the included send.sh script and to create a local credentials JSON. The instructions stay within the stated purpose (sending notifications) and do not request unrelated files or secrets beyond the Gotify token/config file. Examples reference integrating the script into command workflows.
Install Mechanism
No install spec (instruction-only plus a small shell script). Nothing is downloaded or installed automatically, so runtime risk is low and actions are visible on disk.
Credentials
The skill does not require broad credentials; it only needs a Gotify URL and application token. Minor documentation mismatch: README mentions alternative environment variables GOTIFY_URL/GOTIFY_TOKEN, but the actual script reads a config JSON (or an override path via GOTIFY_CONFIG_FILE). No unexpected credentials are requested.
Persistence & Privilege
Skill does not request always: true and does not attempt to modify other skills or system settings. It runs on explicit invocation (or when the agent decides to invoke it) and only sends notifications to the configured Gotify endpoint.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gotify
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gotify 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added a new README.md file for improved project documentation. - Updated version to 1.0.1.
v1.0.0
Initial release
元数据
Slug gotify
版本 1.0.1
许可证
累计安装 7
当前安装数 7
历史版本数 2
常见问题

Gotify 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2721 次。

如何安装 Gotify?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gotify」即可一键安装,无需额外配置。

Gotify 是免费的吗?

是的,Gotify 完全免费(开源免费),可自由下载、安装和使用。

Gotify 支持哪些平台?

Gotify 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gotify?

由 jmagar(@jmagar)开发并维护,当前版本 v1.0.1。

💬 留言讨论