闲社服务运行正常AI智能体自动化平台
P

口袋提醒推送

技能标识:Pocket Alert – Push Notifications for iOS and Android

The Pocket Alert (pocketalert.app) skill for OpenClaw enables OpenClaw agents and workflows to send push notifications to iOS and Android devices. It is used to deliver alerts and updates from automated tasks, workflows, and background processes.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.2
检测标记
后台标记通过
免费
免费获取
2
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

口袋提醒推送

Pocket Alert

此技能支持通过其CLI工具与Pocket Alert服务进行交互。

前置条件

必须安装并认证pocketalert CLI:

bash

安装(如果尚未安装)


从 https://info.pocketalert.app/cli.html 下载并解压到 /usr/local/bin/

使用API密钥进行认证

pocketalert auth

快速参考

发送推送通知

bash

基本通知


pocketalert send -t 标题 -m 消息内容

完整格式

pocketalert messages send --title 警报 --message 服务器已宕机!

发送到特定应用

pocketalert messages send -t 部署 -m 构建完成 -a

发送到特定设备

pocketalert messages send -t 警报 -m 检查服务器 -d

发送到所有设备

pocketalert messages send -t 警报 -m 系统更新 -d all

列出资源

bash

列出最近消息


pocketalert messages list
pocketalert messages list --limit 50
pocketalert messages list --device

列出应用

pocketalert apps list

列出设备

pocketalert devices list

列出Webhooks

pocketalert webhooks list

列出API密钥

pocketalert apikeys list

管理应用

bash

创建应用


pocketalert apps create --name 我的应用
pocketalert apps create -n 生产环境 -c #FF5733

获取应用详情

pocketalert apps get

删除应用

pocketalert apps delete

管理设备

bash

列出设备


pocketalert devices list

获取设备详情

pocketalert devices get

删除设备

pocketalert devices delete

管理Webhooks

bash

创建Webhook


pocketalert webhooks create --name GitHub Webhook --message *
pocketalert webhooks create -n 部署钩子 -m 由 %sender.login% 部署了 %repository.name%
pocketalert webhooks create -n CI/CD -m * -a -d all

列出Webhooks

pocketalert webhooks list

获取Webhook详情

pocketalert webhooks get

删除Webhook

pocketalert webhooks delete

消息模板变量

创建Webhooks时,可以使用来自传入负载的模板变量:

bash
pocketalert webhooks create \
--name GitHub推送 \
--message 推送到 %repository.name%:%head_commit.message%

配置

查看或修改配置:

bash

查看配置


pocketalert config

设置API密钥

pocketalert config set api_key

设置自定义基础URL(用于自托管)

pocketalert config set base_url https://your-api.example.com

配置文件存储在 ~/.pocketalert/config.json。

CI/CD集成示例

bash

GitHub Actions / GitLab CI


pocketalert send -t 构建完成 -m 版本 $VERSION 已部署

使用cron进行服务器监控

/5 * /usr/local/bin/pocketalert send -t 服务器健康 -m $(uptime)

服务检查脚本

if ! systemctl is-active --quiet nginx; then pocketalert send -t NGINX宕机 -m NGINX在 $(hostname) 上未运行 fi

错误处理

CLI返回相应的退出代码:

  • - 0 - 成功
  • 1 - 认证或API错误
  • 2 - 无效参数

始终检查命令输出以获取错误详情。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 pocketalert-1776376759 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 pocketalert-1776376759 技能

通过命令行安装

skillhub install pocketalert-1776376759

下载

⬇ 下载 Pocket Alert – Push Notifications for iOS and Android v1.0.2(免费)

文件大小: 1.96 KB | 发布时间: 2026-4-17 14:27

v1.0.2 最新 2026-4-17 14:27
Removed API keys management section
返回顶部