HarmonyOS MobPush Integration Skill for Openclaw

An interactive automation tool for integrating MobTech MobPush notification services into HarmonyOS NEXT projects using ArkTS.

mobsupport
v1.0.0
May 9, 2026
0
635
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install harmonyos-mobpush-integration

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install harmonyos-mobpush-integration using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is HarmonyOS MobPush Integration Skill?

The HarmonyOS MobPush Integration skill provides a specialized, interactive workflow designed to streamline the implementation of push notifications in HarmonyOS NEXT applications. Leveraging the power of Openclaw Skills, this tool guides developers through the complex process of SDK installation, privacy compliance, and hardware-level configuration with real-time validation.

It ensures that all technical requirements—ranging from ohpm dependency management to the specific metadata configurations required for Huawei push channels—are handled accurately. By automating the generation of configuration templates and providing precise code injection for initialization and privacy authorization, this skill minimizes manual errors and accelerates the development lifecycle for HarmonyOS developers.

HarmonyOS MobPush Integration Skill Use Cases

  • Implementing push notification capabilities in a new HarmonyOS NEXT application.
  • Configuring Huawei push channels and Client ID metadata for production-ready apps.
  • Ensuring privacy policy compliance by managing SDK initialization after user consent.
  • Managing user identifiers through alias, tag, and badge count APIs.
  • Handling transparent message transmission and notification click event callbacks.

How HarmonyOS MobPush Integration Skill Works

  1. The workflow initiates by verifying the HarmonyOS project path and checking for essential files like build-profile.json5 or oh-package.json5.
  2. It generates a standardized Excel configuration template (MobPush_Config.xlsx) for the developer to input appKey, appSecret, and package names.
  3. Upon verification of the configuration data, it automatically installs required ohpm dependencies including @zztsdk/zztcore and @zztsdk/mobpush.
  4. The skill modifies engineering-level build profiles and module.json5 files to include necessary internet permissions and push channel metadata.
  5. It provides and injects the specific ArkTS code snippets for SDK initialization and the privacy authorization hook required by regulatory standards.
  6. Finally, it generates a project-specific README and verifies the implementation of notification click tracking within the UIAbility lifecycle.

HarmonyOS MobPush Integration Skill Setup

To use this integration via Openclaw Skills, ensure your HarmonyOS environment is ready:

# Ensure ohpm is installed and configured in your path
ohpm -v

# The skill will automatically handle these installations during the workflow:
ohpm install @zztsdk/zztcore
ohpm install @zztsdk/mobpush

You must also have a valid account at MobTech (mob.com) to obtain your appKey and appSecret.

HarmonyOS MobPush Integration Skill Data Schema & Taxonomy

The skill manages configuration and documentation through the following file structure within your project root:

File Name Description Format
MobPush_Config.xlsx Centralized configuration for app keys, package names, and Huawei Client IDs. Excel
MOBPUSH_README.md Automatically generated integration guide and file map for the specific project. Markdown
module.json5 Updated with requestPermissions (INTERNET, GET_NETWORK_INFO) and metadata tags. JSON5
build-profile.json5 Updated with strictMode and normalized OHM URL settings. JSON5

HarmonyOS MobPush Integration Skill Advanced Features

  • Interactive 6-step verification workflow ensuring every modification is approved by the developer.
  • Automated Excel-to-JSON configuration mapping to prevent manual copy-paste errors.
  • Integrated privacy compliance logic that hooks into user-defined consent callbacks.
  • Multi-channel support specifically optimized for the HarmonyOS NEXT Stage model.
  • Real-time diagnostic checks for TCP connection status and registration ID retrieval.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*