harmonyos-development

harmonyos-development is a skill for Claude Code, Codex from DengShiyingA/harmonyos-ai-skill. It costs 187 tokens per session (42,268 once invoked), scanned A, original, MIT.

A development guide for building native HarmonyOS NEXT apps, Huawei’s mobile operating system, using ArkTS and ArkUI.

In plain words
What is it for?
It helps create, review, debug, or migrate HarmonyOS apps in formats such as .ets, HAP, HSP, and HAR.
Why use it?
It brings platform-specific guidance for app structure, tools, APIs, packages, and device capabilities into development and review work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Obfuscation: add `-keep ./oh_modules/@ohos/lottie` to obfuscation-rules.txt.

Good fit It helps create, review, debug, or migrate HarmonyOS apps in formats such as .ets, HAP, HSP, and HAR.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/DengShiyingA/harmonyos-ai-skill
agentmods
npx agentmods add skills/dengshiyinga/harmonyos-ai-skill/harmonyos-development

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for harmonyos-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/dengshiyinga/harmonyos-ai-skill/harmonyos-development/github.svg)](https://agentmods.dev/skills/dengshiyinga/harmonyos-ai-skill/harmonyos-development)
Your own site
<a href="https://agentmods.dev/skills/dengshiyinga/harmonyos-ai-skill/harmonyos-development"><img src="https://agentmods.dev/badge/skills/dengshiyinga/harmonyos-ai-skill/harmonyos-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for harmonyos-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/dengshiyinga/harmonyos-ai-skill/harmonyos-development"><img src="https://agentmods.dev/badge/skills/dengshiyinga/harmonyos-ai-skill/harmonyos-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 42,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 3283
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 2083
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Memory Poisoning · line 2952
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Tool Misuse · line 3222
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
  • medium Rogue Agent · line 3836
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00187 $0.42268
Opus 5 $0.00093 $0.21134
Sonnet 5 $0.00037 $0.08454
Haiku 4.5 $0.00019 $0.04227

Measured 9d ago against content hash 33369b529427, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

harmonyos-development scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

axios.get<UserInfo, AxiosResponse<UserInfo>, null>('/user', { params: { ID: 12345 } })
harmonyos-development/SKILL.md · 4,462 lines

How it starts

The opening of the file, as written. The whole thing — 4,462 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HarmonyOS (鸿蒙) Development

Covers HarmonyOS 6.1 (API 23, stable) / 6.1.1 (API 24, Release) / HarmonyOS 7 developer preview (API 26 Beta1) / NEXT native app development — the Huawei mobile OS family that runs independently of Android (AOSP-free since HarmonyOS NEXT, released 2024). Primary language is ArkTS (a strict, statically-checked superset of TypeScript) and the primary UI framework is ArkUI (declarative, state-driven). Use API 24 Release as the default production baseline; use API 26 Beta1 only for preview, adaptation, and early compatibility work.

Platform snapshot

Item Value
OS HarmonyOS 6.1 (stable, released 2026/04/20, API 23). HarmonyOS 6.1.1 (Release, released 2026/05/26, API 24). HarmonyOS 7 / 26.0.0 Beta1 (developer preview, released 2026/06/12, API 26). Pure HarmonyOS, AOSP-free
Language ArkTS (primary), Cangjie (beta), C/C++ via NAPI
UI framework ArkUI declarative (ArkUI-X for cross-platform)
Compiler ArkCompiler — AOT to native machine code; LiteActor concurrency
Package manager ohpmoh-package.json5; registry at DevEco Service (OHPM Central)
IDE DevEco Studio 6.1.1 Release (6.1.1.280; API 24 production). DevEco Studio 26.0.0 Beta1 (26.0.0.461; API 26 preview)
App model Stage model (FA model is legacy — don't use in new apps)
Packaging HAP (entry/feature), HSP (shared package), HAR (static archive), atomic .app
Recommended API Use API 24 Release for production. Use API 26 Beta1 only for HarmonyOS 7 preview/adaptation.
Sample catalog https://developer.huawei.com/consumer/cn/samples/

Release timeline (recent):

  • HarmonyOS 6.0.1(21) — 2025/11/25 (initial stable with Mate 80 series)
  • HarmonyOS 6.0.2(22) — 2026/01/23 (incremental update)
  • HarmonyOS 6.0.0.328 Pollen Beta(23) — 2026/02/28 (closed beta, 25 models)
  • HarmonyOS 6.1(23) — 2026/04/20 (stable general release)
  • HarmonyOS 6.1.1(24) Beta 1 — 2026/04/30 (developer beta)
  • HarmonyOS 6.1.1(24) Release — 2026/05/26 (API 24 Release; DevEco Studio 6.1.1.280)
  • HarmonyOS 7 / 26.0.0 Beta1 — 2026/06/12 (API 26 developer preview; DevEco Studio 26.0.0.461)

Read the full file on GitHub · 4,462 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 4,462 lines · 187 tokens per session scan A 33369b529427

Subscribe to this mod's changes

harmonyos-development is a skill published in the GitHub repository DengShiyingA/harmonyos-ai-skill (259 stars, last pushed 1mo ago), licensed MIT. It adds 187 tokens to every session and 42,268 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

harmonyos-app-dev

A development skill for building HarmonyOS NEXT applications with ArkTS and ArkUI. HarmonyOS NEXT is Huawei’s application platform; ArkTS is its programming language and ArkUI is its interface framework.

zhuang-HE/harmonyos-app-dev · 93 tokens

harmony-next

Use for HarmonyOS NEXT development help and local DevEco automation. Covers ArkTS/ArkUI/NDK API lookup, offline guide navigation, DevEco Studio and HarmonyOS Emulator tasks, hdc/uitest/aa/bm/hilog/hidumper diagnostics, ArkWeb/WebView DevTools and CDP evidence, and private DevEco interfaces such as CodeGenie, MCP…

linhay/harmony-next.skills · 114 tokens

arkts-syntax-assistant

ArkTS syntax, migration, and optimization guide for HarmonyOS/OpenHarmony development. Triggers on: .ets files, ArkTS keywords, HarmonyOS/OpenHarmony context, @ohos packages. Help with syntax reference, TypeScript migration, performance optimization, compile errors, state management, component development, and…

SummerKaze/skill-arkts-syntax-assistant · 71 tokens

app-ui-design

Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating design systems, ensuring accessibility, or following platform guidelines. Covers Material Design 3, Human Interface Guidelines, color theory, typography, and 2025 trends.

majiayu000/spellbook · 54 tokens

lov-mobile-adapt

A mobile adaptation workflow for existing web projects. It adjusts desktop websites for phones by handling responsive layouts, overflow, safe areas around notches, browser viewport height, touch targets, and mobile navigation.

lovstudio/skills · 105 tokens

mobile-developer

Expert knowledge in mobile app development for iOS, Android, and cross-platform solutions.

tao12345666333/ankaloop · 20 tokens