gotify
Skill1 starsChanged 4 months agoMITView on GitHub
Send and manage Gotify push notifications, applications, clients, and messages via the Gotify REST API. Use this skill whenever the user mentions "gotify", "push notification", "自托管通知", "消息推送", sending alerts, managing Gotify apps/clients, checking message history, toggling Gotify plugins, or verifying Gotify server health. Also trigger for "发通知到gotify", "gotify推送", "gotify消息", "通知服务", or any command mentioning a Gotify server instance.
- Reads credentials
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- cerpelai/agent-skillstheir own version, first seen Nov 29, 2026
- akhy/agent-skillstheir own version, first seen Nov 29, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- akhy/agent-skills★ 1same name
- cerpelai/agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- calendar-apiSkill
- chinese-poetry-apiSkill
- deepseek-balanceSkill
- domain-querySkill
- enterprise-infoSkill
- epub-book-pipelineSkill
- freshrssSkill
- fun-asrSkill
- gaozhong-english-answer-parserSkill
- grillSkill
- img-recogSkill
- linkgoSkill
- mimo-ttsSkill
- personal-siyuan-standardsSkill
- scanned-pdf-to-epubSkill
- send-emailSkill
- wake-on-lanSkill
- zurlSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Run the user's requested command directly without pre-checking dependencies, environment variables, or configuration.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gotify CLI Client
Send and manage push notifications on a self-hosted Gotify server via its REST API v2.0.2.
Execution Rule
Run the user's requested command directly without pre-checking dependencies, environment variables, or configuration. If something is wrong, the script will fail with a clear error — check and fix only then.
Environment Variables
| Variable | Required | Purpose |
GOTIFY_URL | ✅ | Server base URL, e.g. https://gotify.example.com |
GOTIFY_CLIENT_TOKEN | ✅ | Client token — manage apps, clients, read messages |
GOTIFY_APP_TOKEN | ✅ | Application token — send messages |
The script loads these from ~/.wmyskills/.env (shared across skills) automatically; a scripts/.env in the script directory takes priority if present. Use scripts/.env.example as the template — add the variables to ~/.wmyskills/.env, never overwriting an existing file. Missing tokens produce a clear error; tokens can also be passed per-call via --token.
Requirements
# Core — stdlib only (no install needed)
# WebSocket (optional, for ws-subscribe only):
pip install websocket-clientUsage
Script: scripts/gotify_client.py
python scripts/gotify_client.py <command> [options]🔔 Send a Notification
python scripts/gotify_client.py send \
--message "Deployment succeeded" \
--title "CI/CD Alert" \
--priority 5| Flag | Required | Description |
--message / -m | ✅ | Message body (markdown supported) |
--title / -t | Notification title | |
--priority / -p | 0–10 (0=silent, 10=urgent; omitted → not sent, API uses 0) | |
--extras | JSON string for plugin-specific data | |
--token | Override app token |
Extras example (Firebase push config):
python scripts/gotify_client.py send -m "Hello" --extras '{"firebase":{"priority":"high"}}'📱 Applications (Message Sources)
# List all applications
python scripts/gotify_client.py list-apps
# Create a new application
python scripts/gotify_client.py create-app \
--name "Backup Bot" \
--description "Backup notifications" \
--default-priority 3
# Delete an application
python scripts/gotify_client.py delete-app --id 5create-app Flag | Required | Description |
--name | ✅ | Application name |
--description / -d | Description | |
--default-priority | Default message priority (0–10) | |
--image | Application image URL | |
--internal | Mark as internal (flag, no value needed) |
The returned
tokenfromcreate-appis the app token for sending messages. Store it securely.
📲 Clients (Receiving Devices)
# List all clients
python scripts/gotify_client.py list-clients
# Create a new client
python scripts/gotify_client.py create-client --name "iPhone"
# Delete a client
python scripts/gotify_client.py delete-client --id 3📬 Messages
# List recent messages (default: 30)
python scripts/gotify_client.py list-messages --limit 50
# Pagination — get messages after ID 100
python scripts/gotify_client.py list-messages --since 100
# Use a specific token to list messages (app or client token)
python scripts/gotify_client.py list-messages --token <token>
# Delete a single message
python scripts/gotify_client.py delete-message --id 42
# Bulk delete: all messages with ID < 500
python scripts/gotify_client.py delete-messages --before 500
# Bulk delete from a specific app
python scripts/gotify_client.py delete-messages --app-id 3 --before 500list-messages Flag | Description |
--limit | Max messages to return (1–200; default 30) |
--since | Message ID offset — returns messages with ID > this value |
--token | Override token (defaults to client token from env) |
🔌 Plugins
# List installed plugins
python scripts/gotify_client.py list-plugins
# Enable a plugin
python scripts/gotify_client.py toggle-plugin --id 1
# Disable a plugin
python scripts/gotify_client.py toggle-plugin --id 1 --disable❤️ Server Health & Version
# Health check
python scripts/gotify_client.py health
# Version info
python scripts/gotify_client.py version📡 Real-Time WebSocket Stream
Subscribe to live messages (requires websocket-client):
pip install websocket-client
python scripts/gotify_client.py ws-subscribe
# Override token:
python scripts/gotify_client.py ws-subscribe --token <client-or-app-token>Output is one JSON object per received message.
API Key Concepts
- App token (
GOTIFY_APP_TOKEN): for sending messages via/message - Client token (
GOTIFY_CLIENT_TOKEN): for managing apps/clients/messages everywhere else - Token is passed via
X-Gotify-Keyheader (script handles this automatically)
Troubleshooting
| Error | Cause | Fix |
GOTIFY_URL not set | Missing env var | Set GOTIFY_URL=https://your-server |
401 Unauthorized | Wrong/missing token | Check which token type is needed; verify env var |
403 Forbidden | Client token used on send | Use app token for /message |
Connection refused | Server down | Run health to verify |
No app token | Token not configured | Set GOTIFY_APP_TOKEN or use --token |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

