openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Pocketalert

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.

AI 与大模型

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.2

统计:⭐ 2 · 1.9k · 0 current installs · 0 all-time installs

2

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :可疑

Package:akellacom/pocketalert

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :可疑

OpenClaw 评估

The skill's instructions and commands align with a push-notification CLI, but the package metadata lacks a homepage/source and the runtime guidance includes system commands and references to a local config file (which can contain API keys), so there are plausible risks that deserve user scrutiny before installing or giving it credentials.

目的

Name, description, and SKILL.md consistently describe a CLI-based integration with Pocket Alert and all shown commands (send, apps, devices, webhooks, apikeys, config) match that stated purpose. However the registry metadata lacks a homepage/source even though the SKILL.md points to an external download URL (info.pocketalert.app); that missing metadata reduces transparency.

说明范围

SKILL.md is instruction-only and limits actions to running the pocketalert CLI. Examples also show using system commands (uptime, systemctl) and cron, and it documents the config location (~/.pocketalert/config.json). Those are reasonable for a monitoring/alerting tool, but they also mean an agent following these instructions could run host-level commands and read/write the CLI config (which may contain API keys). The instructions do not expli…

安装机制

There is no automated install spec (instruction-only), so nothing is written to disk by the skill itself. The SKILL.md tells users to download the CLI from an external URL; because installation is manual, this reduces automatic risk but requires the user to verify the download source and integrity.

证书

The skill declares no required environment variables or credentials, which is proportionate. The CLI stores credentials in ~/.pocketalert/config.json and exposes commands like 'apikeys list' and 'config' that reveal/manage API keys; an agent executing those commands could expose secrets. The skill does not request unrelated credentials, but users should be aware that interacting with the CLI involves local credential files.

持久

The skill is not marked always:true and uses default autonomous invocation settings. That is normal. Nevertheless, because it instructs use of a CLI that can run system commands and access local config, enabling autonomous invocation increases the blast radius if the agent is allowed to run shell commands on sensitive hosts.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Pocketalert」。简介:The Pocket Alert (pocketalert.app) skill for OpenClaw enables OpenClaw agents a…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/akellacom/pocketalert/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: Pocket Alert – Push Notifications for iOS and Android
description: 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.
---

# Pocket Alert

This skill enables interaction with the [Pocket Alert](https://pocketalert.app) service through its CLI tool.

## Prerequisites

The `pocketalert` CLI must be installed and authenticated:

```bash
# Install (if not already installed)
# Download from https://info.pocketalert.app/cli.html and extract to /usr/local/bin/

# Authenticate with your API key
pocketalert auth <your-api-key>
```

## Quick Reference

### Send Push Notifications

```bash
# Basic notification
pocketalert send -t "Title" -m "Message"

# Full form
pocketalert messages send --title "Alert" --message "Server is down!"

# To specific application
pocketalert messages send -t "Deploy" -m "Build completed" -a <app-tid>

# To specific device
pocketalert messages send -t "Alert" -m "Check server" -d <device-tid>

# To all devices
pocketalert messages send -t "Alert" -m "System update" -d all
```

### List Resources

```bash
# List last messages
pocketalert messages list
pocketalert messages list --limit 50
pocketalert messages list --device <device-tid>

# List applications
pocketalert apps list

# List devices
pocketalert devices list

# List webhooks
pocketalert webhooks list

# List API keys
pocketalert apikeys list
```

### Manage Applications

```bash
# Create application
pocketalert apps create --name "My App"
pocketalert apps create -n "Production" -c "#FF5733"

# Get application details
pocketalert apps get <tid>

# Delete application
pocketalert apps delete <tid>
```

### Manage Devices

```bash
# List devices
pocketalert devices list

# Get device details
pocketalert devices get <tid>

# Delete device
pocketalert devices delete <tid>
```

### Manage Webhooks

```bash
# Create webhook
pocketalert webhooks create --name "GitHub Webhook" --message "*"
pocketalert webhooks create -n "Deploy Hook" -m "Deployed %repository.name% by %sender.login%"
pocketalert webhooks create -n "CI/CD" -m "*" -a <app-tid> -d all

# List webhooks
pocketalert webhooks list

# Get webhook details
pocketalert webhooks get <tid>

# Delete webhook
pocketalert webhooks delete <tid>
```

## Message Template Variables

When creating webhooks, you can use template variables from the incoming payload:

```bash
pocketalert webhooks create 
  --name "GitHub Push" 
  --message "Push to %repository.name%: %head_commit.message%"
```

## Configuration

View or modify configuration:

```bash
# View config
pocketalert config

# Set API key
pocketalert config set api_key <new-api-key>

# Set custom base URL (for self-hosted)
pocketalert config set base_url https://your-api.example.com
```

Configuration is stored at `~/.pocketalert/config.json`.

## CI/CD Integration Examples

```bash
# GitHub Actions / GitLab CI
pocketalert send -t "Build Complete" -m "Version $VERSION deployed"

# Server monitoring with cron
*/5 * * * * /usr/local/bin/pocketalert send -t "Server Health" -m "$(uptime)"

# Service check script
if ! systemctl is-active --quiet nginx; then
  pocketalert send -t "NGINX Down" -m "NGINX is not running on $(hostname)"
fi
```

## Error Handling

The CLI returns appropriate exit codes:
- `0` - Success
- `1` - Authentication or API error
- `2` - Invalid arguments

Always check command output for error details.