harmonyos-development

harmonyos-development is a skill for Claude Code, Codex from DengShiyingA/harmonyos-ai-skill. It costs 191 tokens per session (42,440 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 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 42,440 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.00191 $0.42440
Opus 5.5 $0.00076 $0.16976
Sonnet 5.5 $0.00038 $0.08488
Haiku 4.5 $0.00019 $0.04244

Measured 2d ago against content hash e23111651467, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2d 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,476 lines

How it starts

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

HarmonyOS (鸿蒙) Development

Covers HarmonyOS 7 / API 26.0.0 Release and existing HarmonyOS 6.1 / 6.1.1 (API 23 / 24) native apps. Primary language is ArkTS and the primary UI framework is ArkUI. For new projects use the API 26 Release toolchain; for existing projects inspect SDK settings before changing them. Set compatibleSdkVersion from device coverage and protect newer calls on older devices.

Read references/platform-baseline.md for SDK selection, references/api26-release.md for migration, and references/ndk-napi.md for C/C++ bindings, threads, async work, and ownership. Other task-specific references are routed through references/README.md.

Platform snapshot

Item Value
OS HarmonyOS 7 / API 26.0.0 Release (officially listed in August 2026). Existing HarmonyOS 6.1 / 6.1.1, API 23 / 24 projects remain supported
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 ohpm — oh-package.json5; registry at DevEco Service (OHPM Central)
IDE Verified Release pairing: DevEco Studio 26.0.0.821, SDK 26.0.0 Release. Check official updates for later IDE patches
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 API 26 Release for new projects; preserve existing project settings and choose compatible SDK from device coverage
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)
  • HarmonyOS 7 / 26.0.0 Release — 2026/08 (official August bulletin; supersedes Beta1/Beta2)

Read the full file on GitHub · 4,476 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. 2d ago Changed · +14 lines · +4 tokens per session e23111651467
  2. 1mo 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 (284 stars, last pushed 2d ago), licensed MIT. It adds 191 tokens to every session and 42,440 once invoked, about $0.0008 per session on Opus 5.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

lov-app-release

A release workflow for publishing one app version to declared channels such as iOS, Android, GitHub, a website, and documentation. It checks signing, build artifacts, and remote status rather than treating a successful build as a completed release.

lovstudio/skills · 64 tokens