Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

engagelab-app-pushengagelab 应用程序推送

Agent Skill

engagelab-app-push 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,793

周安装

328

GitHub Stars

公开资料未说明

下载量

2,729
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:engagelab-app-push(engagelab 应用程序推送)
来源仓库:https://github.com/devengagelab/engagelab-app-push
安装命令:
openclaw skills install engagelab-app-push
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install engagelab-app-push

简介

EngageLab App Push 调用 REST API 向 Android/iOS/HarmonyOS 发送推送消息。

  • 适用于移动应用运营、用户唤醒与活动通知场景。
  • 支持标签管理与定时发送功能。engagelab-app-push 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 需配置 APP_KEY 与签名证书确保通信安全。
  • 注意遵守各平台推送频次限制政策。

SKILL.md

name
engagelab-apppush
description
>

EngageLab App Push API Skill

This skill enables interaction with the EngageLab App Push REST API (MTPush). The service supports push notifications and in-app messages to Android, iOS, and HarmonyOS, with multi-vendor channel support (FCM, Huawei, Xiaomi, OPPO, vivo, Meizu, Honor, etc.).

It covers these areas:

  1. Create Push — Send notification or message to single/multiple devices (broadcast, tag, alias, registration_id, segment)
  2. Batch Single Push — Batch push by registration_id or alias (up to 500 per request)
  3. Group Push — Push to all apps in a group
  4. Push Plan — Create/update/list push plans and query msg_ids by plan
  5. Scheduled Tasks — Create, get, update, delete scheduled push tasks (single, periodical, intelligent)
  6. Tag & Alias — Query/set/delete device tags and aliases; query tag count
  7. Message Recall — Recall a pushed message (within one day)
  8. Delete User — Delete a user (registration_id) and all associated data
  9. Statistics — Message lifecycle stats, report APIs
  10. Callback — Webhook setup and signature verification
  11. Test Push — Validate push request without sending
  12. Image API — OPPO big/small picture upload
  13. Push-to-Speech — Create/update voice broadcast files

Resources

scripts/

  • push_client.py — Python client class (EngageLabPush) wrapping create push, batch push (regid/alias), device get/set/delete, tag count, message recall, validate push, push plan create/list, scheduled tasks CRUD, and message detail stats. Handles Basic auth and typed error handling. Use as a helper or import into the user's project.

references/

  • error-codes.md — Push API error codes and descriptions
  • http-status-code.md — HTTP status code specification
  • callback-api.md — Callback address, validation, security (X-CALLBACK-ID, HMAC-SHA256)

Source API docs: doc/apppush/REST API/ (Create Push API, Batch Single Push API, Group Push API, Push Plan API, Scheduled Tasks API, Tag Alias API, Message Recall, Delete User API, Statistics API, Callback API, Test Push API, imageAPI, Push-to-Speech API, REST API OVERVIEW, HTTP Status code).

Authentication

All EngageLab App Push API calls use HTTP Basic Authentication.

  • Base URL (choose by data center):

- Singapore: https://pushapi-sgp.engagelab.com - Virginia, USA: https://pushapi-usva.engagelab.com - Frankfurt: https://pushapi-defra.engagelab.com - Hong Kong: https://pushapi-hk.engagelab.com

  • Header: Authorization: Basic base64(appKey:masterSecret)
  • Content-Type: application/json (or multipart/form-data for Image/Push-to-Speech as specified)

Obtain AppKey and Master Secret from Console → Application Settings → Application Info.

Group Push uses a different auth: username = group- + GroupKey, password = Group Master Secret (from Group management).

Example (curl):

curl -X POST https://pushapi-sgp.engagelab.com/v4/push \
  -H "Content-Type: application/json" \
  -u "YOUR_APP_KEY:YOUR_MASTER_SECRET" \
  -d '{ "from": "push", "to": "all", "body": { "platform": "all", "notification": { "alert": "Hello!" } } }'

If the user hasn't provided credentials, ask for AppKey and Master Secret before generating API calls.

Request Rate Limits

  • Standard: 500 requests per second per AppKey.
  • Batch Single Push shares the same QPS quota as the Push API (1 target = 1 QPS).

Quick Reference — Main Endpoints

OperationMethodPath
Create pushPOST/v4/push
Batch push by registration_idPOST/v4/batch/push/regid
Batch push by aliasPOST/v4/batch/push/alias
Group pushPOST/v4/grouppush
Create/update push planPOST/v4/push_plan
List push plansGET/v4/push_plan/list
Msg IDs by planGET/v4/status/plan/msg/
Create scheduled taskPOST/v4/schedules
Get scheduled taskGET/v4/schedules/{schedule_id}
Update scheduled taskPUT/v4/schedules/{schedule_id}
Delete scheduled taskDELETE/v4/schedules/{schedule_id}
Tag countGET/v4/tags_count
Get device (tags/alias)GET/v4/devices/{registration_id}
Set device tags/aliasPOST/v4/devices/{registration_id}
Delete device (user)DELETE/v4/devices/{registration_id}
Message recallDELETE/v4/push/withdraw/{msg_id}
Message statisticsGET/v4/status/detail (message_ids)
Test push (validate)POST/v4/push/validate
OPPO image uploadPOST/v4/image/oppo
Create/update voicePOST/v4/voices
List/delete voicesGET / DELETE/v4/voices

Create Push (POST /v4/push)

Push a notification or message to a single device or list of devices. Body is JSON.

Request structure (summary)

FieldTypeRequiredDescription
fromstringNoSender, e.g. "push"
tostring or objectYesTarget: "all" (broadcast), or object with tag, tag_and, tag_not, alias, registration_id, live_activity_id, seg
bodyobjectYesSee below
request_idstringNoClient-defined request ID returned in response
custom_argsobjectNoReturned on callback, max 128 chars

body

FieldTypeRequiredDescription
platformstring or arrayYes"all" or ["android","ios","hmos"]
notificationobjectOptional*Notification content (android, ios, hmos; alert, title, extras, etc.)
messageobjectOptional*In-app/custom message (msg_content, title, content_type, extras)
live_activityobjectOptional*iOS Live Activity (ios.event, content-state, attributes, etc.)
voipobjectOptional*iOS VoIP (key-value); cannot coexist with notification/message/live_activity
optionsobjectNotime_to_live, apns_production, apns_collapse_id, big_push_duration, multi_language, third_party_channel, plan_id, cid, etc.

*One of notification, message, live_activity, or voip must exist; they cannot coexist (except notification+message in some cases — see doc). For iOS, set options.apns_production (true/false) for environment.

Push target to examples

  • Broadcast: "to": "all"
  • Tags (OR): "to": { "tag": ["Shenzhen","Guangzhou"] }
  • Tags (AND): "to": { "tag_and": ["female","members"] }
  • Alias: "to": { "alias": ["user1","user2"] }
  • Registration IDs: "to": { "registration_id": ["id1","id2"] }
  • Segment: "to": { "seg": { "id": "segid" } }
  • Live Activity: "to": { "live_activity_id": "LiveActivity-1" }

Response (success)

{ "request_id": "12345678", "msg_id": "1828256757" }

For full parameter details (android/ios/hmos notification fields, options, multi_language, third_party_channel, push limits per vendor), see doc/apppush/REST API/Create Push API.md. Error codes: references/error-codes.md.

Batch Single Push

  • By registration_id: POST /v4/batch/push/regid
  • By alias: POST /v4/batch/push/alias

Request body: { "requests": [ { "target": "reg_id_or_alias", "platform": "android"|"ios"|"all", "notification": {...}, "message": {...}, "options": {...}, "custom_args": {...} } ] }. Max 500 items per request; target must be unique in the batch. Response returns per-target result (msg_id or error). See doc/apppush/REST API/Batch Single Push API.md.

Group Push

POST /v4/grouppush — Same body structure as Create Push. Auth: Basic with group-{GroupKey} and Group Master Secret. Response includes group_msgid and per-app msg_id. override_msg_id and Schedule API are not supported for group push.

Push Plan

  • Create/update: POST /v4/push_plan — Body: { "plan_id": "xxx", "plan_description": "..." }.
  • List: GET /v4/push_plan/list?page_index=1&page_size=20&send_source=0|1&search_description=xxx.
  • Msg IDs by plan: GET /v4/status/plan/msg/?plan_ids=id1,id2&start_date=yyyy-MM-dd&end_date=yyyy-MM-dd (within 30 days, max 31 days span).

Use plan_id in Create Push body.options to associate a push with a plan.

Scheduled Tasks

  • Create: POST /v4/schedules — Body includes name, enabled, trigger (single / periodical / intelligent), push (same as Create Push body).
  • Get: GET /v4/schedules/{schedule_id}.
  • Update: PUT /v4/schedules/{schedule_id}.
  • Delete: DELETE /v4/schedules/{schedule_id}.

Trigger types: single (one-time, time, zone_type), periodical (start, end, time, time_unit, point, zone_type), intelligent (backup_time: "now" or "yyyy-MM-dd HH:mm:ss"). See doc/apppush/REST API/Scheduled Tasks API.md.

Tag & Alias

  • Tag count: GET /v4/tags_count?tags=tag1&tags=tag2&platform=android|ios|hmos (up to 1000 tags).
  • Get device: GET /v4/devices/{registration_id} — Returns tags, alias.
  • Set device: POST /v4/devices/{registration_id} — Body: { "tags": { "add": ["t1"], "remove": ["t2"] }, "alias": "alias1" }.

Limits: 100,000 tags per app; 40 bytes per tag; 100 tags per device; 100,000 devices per tag; one alias per device (40 bytes). See doc/apppush/REST API/Tag Alias API.md.

Message Recall

DELETE /v4/push/withdraw/{msg_id} — Recall within one day; no duplicate recall.

Delete User

DELETE /v4/devices/{registration_id} — Asynchronously deletes user and all related data (tags, alias, device info, timezone). Cannot be restored. Batch deletion not supported.

Statistics

  • Message detail: GET /v4/status/detail?message_ids=id1,id2 (up to 100 message_ids). Returns targets, sent, delivered, impressions, clicks, and sub-stats by channel. Data retained up to one month.

Other report endpoints (e.g. report APIs) are documented in doc/apppush/REST API/Statistics API.md.

Callback

Configure callback URL (via Engagelab support). Validation: server sends POST with echostr in body; respond with body = echostr value. Security: use X-CALLBACK-ID header; signature = HMAC-SHA256(secret, timestamp+nonce+username). Respond with 200/204 within 3 seconds for success. See references/callback-api.md and doc/apppush/REST API/Callback API.md.

Test Push

POST /v4/push/validate — Same body as Create Push. Validates request without sending to users.

Image API (OPPO)

POST /v4/image/oppo — Body: { "big_picture_url": "url", "small_picture_url": "url" }. Returns big_picture_id, small_picture_id for use in push options (e.g. third_party_channel.oppo). OPPO constraints: big 984×369, ≤1MB; small 144×144, ≤50KB; PNG/JPG/JPEG.

Push-to-Speech

  • Create/update: POST /v4/voicesContent-Type: multipart/form-data; fields: language (en, zh-Hans, zh-Hant), file (zip of mp3 files). Returns file_url.
  • List: GET /v4/voices.
  • Delete: DELETE /v4/voices?language=en.

Use options.voice_value in push body to reference voice for TTS. See doc/apppush/REST API/Push-to-Speech API.md.

Generating Code

When the user asks to send push or use other App Push APIs, generate working code. Default to curl unless the user specifies a language. Supported patterns:

  • curl — Shell with -u "AppKey:MasterSecret" and correct base URL
  • Pythonrequests with Basic auth
  • Node.jsfetch or axios
  • JavaHttpClient
  • Gonet/http

Always include the Authorization header and error handling. Use placeholders like YOUR_APP_KEY and YOUR_MASTER_SECRET if credentials are not provided.

Python Example — Create Push

import requests

APP_KEY = "YOUR_APP_KEY"
MASTER_SECRET = "YOUR_MASTER_SECRET"
BASE_URL = "https://pushapi-sgp.engagelab.com"

resp = requests.post(
    f"{BASE_URL}/v4/push",
    auth=(APP_KEY, MASTER_SECRET),
    headers={"Content-Type": "application/json"},
    json={
        "from": "push",
        "to": "all",
        "body": {
            "platform": "all",
            "notification": {
                "alert": "Hello, Push!",
                "android": {"alert": "Hi, Android!", "title": "Title"},
                "ios": {"alert": "Hi, iOS!", "sound": "default", "badge": "+1"},
            },
            "options": {"time_to_live": 86400, "apns_production": False},
        },
        "request_id": "req_001",
    },
)
result = resp.json()
if resp.status_code == 200:
    print("msg_id:", result.get("msg_id"))
else:
    print("Error:", result.get("error"))

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.51%
按下载量换算1,952

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills