ohos-permission

ohos-permission is a skill for Claude Code from Jiusi-pys/agent-plugins. It costs 41 tokens per session (2,238 once invoked), scanned B, original, no licence file.

Technical guidance for configuring permissions in OpenHarmony, also called KaihongOS. It covers DSoftBus Session permissions, AccessToken handling, and configuration-file formats.

In plain words
What is it for?
Use it when implementing or checking permissions for OpenHarmony applications and DSoftBus communication.
Why use it?
It helps developers follow the operating system's permission rules without having to piece them together from scattered sources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ohos-porting plugin — 14 skills, 4 commands, 7 agents shipped together

Good fit Use it when implementing or checking permissions for OpenHarmony applications and DSoftBus communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiusi-pys/agent-plugins/ohos-permission
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Jiusi-pys/agent-plugins --skill ohos-permission
Clone the repo
git clone --depth 1 https://github.com/Jiusi-pys/agent-plugins

Made for: Claude Code.

Or install ohos-porting, the plugin that ships this one along with the rest of its 14 skills, 4 commands, 7 agents.

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 ohos-permission

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiusi-pys/agent-plugins/ohos-permission/github.svg)](https://agentmods.dev/skills/jiusi-pys/agent-plugins/ohos-permission)
Your own site
<a href="https://agentmods.dev/skills/jiusi-pys/agent-plugins/ohos-permission"><img src="https://agentmods.dev/badge/skills/jiusi-pys/agent-plugins/ohos-permission/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 ohos-permission

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiusi-pys/agent-plugins/ohos-permission"><img src="https://agentmods.dev/badge/skills/jiusi-pys/agent-plugins/ohos-permission.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00041 $0.02238
Opus 5 $0.00020 $0.01119
Sonnet 5 $0.00008 $0.00448
Haiku 4.5 $0.00004 $0.00224

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

Security

Grade B, and why

ohos-permission scanned grade B 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/deploy_softbus_permission.sh, scripts/verify_softbus_permission.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

hdc shell 'chmod 644 /system/etc/communication/softbus/softbus_trans_permission.json'
plugins/ohos-porting/skills/ohos-permission/SKILL.md · 296 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 296 lines · 41 tokens per session scan B b9bca8e86f63

Subscribe to this mod's changes

ohos-permission is a skill published in the GitHub repository Jiusi-pys/agent-plugins (1 stars, last pushed 2mo ago), with no licence file. It adds 41 tokens to every session and 2,238 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

test-native-extension

Validate a third-party control repo across four automated layers plus one printed manual recipe. Layer 1 asserts native-source structure (Android getName() and iOS +moduleName to manifest nativeModule; @ReactMethod / RCTEXPORTMETHOD to methods; no @ReactModule) plus load/init readiness (ReactPackage public no-arg…

microsoft/power-platform-skills · 211 tokens

add-native

Public entry point for native device capabilities and native controls — camera, image picker, barcode/QR scanner, document picker, file picker, secure storage, file system, sharing, PDF generation/viewing, pen/signature capture, background GPS/geolocation tracking, or supported local file workflows — in a Power Apps…

microsoft/power-platform-skills · 96 tokens

audit-ppmplugin

Statically audit a built .ppmplugin before wrap testing. Checks archive layout, manifest compatibility, bundle consistency, Android DEX integrity and SDK leakage, iOS framework structure, native source-to-receiver alignment, and the PCF composite-key/sendAsync transport contract. Reports CRITICAL, WARNING, and INFO…

microsoft/power-platform-skills · 112 tokens

build-android-binary

Compile a PAM control's Android Kotlin module into the runtime-loadable DEX for a .ppmplugin. Creates a staged Gradle build with the pinned wrapper and react-android compile dependency, verifies manifest/module/package alignment and runtime-loading constraints, builds the release AAR, then runs d8 --min-api 24. Writes…

microsoft/power-platform-skills · 150 tokens

generate-ppmplugin

Build and verify a third-party .ppmplugin end to end. This recommended entry point detects Android and iOS source, confirms target platforms, then invokes the manifest, platform build, assemble, and audit stages in order. Advanced users can invoke a stage directly for focused reruns or debugging. Produces a…

microsoft/power-platform-skills · 107 tokens

add-pdf-report

Internal implementation skill invoked by /add-native for app-generated PDF report workflows using expo-print and, when present, expo-sharing.

microsoft/power-platform-skills · 30 tokens