huaweicloud/huaweicloud-devkit
huaweicloud-devkit
Official Huawei Cloud plugin for AI agents — skills, MCP tools, safety guardrails, and cloud sandbox to help AI agents build, deploy, and operate on Huawei Cloud securely.
Install
npx @deepseek-ai/dsh plugin --profile web add @deepseek-ai/dsh-mcp-client`.Restart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/huaweicloud-devkit)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from huaweicloud/huaweicloud-devkit, cleaned of badges and images.
HuaweiCloud DevKit
中文 | English
Help AI coding agents use Huawei Cloud safely and accurately — a single integration that gives agents cloud knowledge, CLI tooling, and safety guardrails.
Supports OpenCode, Codex, CodeArts Agent, WorkBuddy, DeepSeek Harness (DSH), OfficeAce, Hermes, OpenClaw, and AtomCode.
Prerequisites
- Node.js >= 22
China mainland users: If you experience slow downloads or connection issues with the default npm registry, configure the Huawei Cloud npm mirror:
npm config set registry https://mirrors.huaweicloud.com/repository/npm/Restore the default registry:
npm config delete registryMirror lag: npm mirrors (npmmirror, mirrors.huaweicloud.com) may lag behind the official registry for hours after a new release. If install fails with
ETARGETor you get an older version, install via the official registry instead:npx --yes --registry=https://registry.npmjs.org huaweicloud-devkit install --target <target>
Quick Start
If
--targetis omitted, the installer auto-detects agents on your machine:
- None detected: interactive terminals ask what you want (install to one explicit target / install to all / wire up a generic MCP agent); non-interactive shells error out with the supported target list.
- One detected: installs directly to it.
- Multiple detected: interactive terminals show a multi-select chooser; non-interactive shells error and point at
--target <agent>/--target all. For a one-shot full setup, runnpx --yes huaweicloud-devkit install --target all(Codex is skipped when its CLI is missing).
The commands below are global (they act on every agent):
npx --yes huaweicloud-devkit version # print CLI version and installed plugin versions per agent
npx --yes huaweicloud-devkit uninstall --target all --clean-global # also remove KooCLI + OBS config
OpenCode
npx --yes huaweicloud-devkit install --target opencode
Restart the session after installation.
npx --yes huaweicloud-devkit doctor --target opencode
npx --yes huaweicloud-devkit status --target opencode
npx --yes huaweicloud-devkit update --target opencode
npx --yes huaweicloud-devkit uninstall --target opencode
rm -rf ~/.npm/_npx/ # Linux/macOS; Windows: rmdir /s /q %LOCALAPPDATA%\npm-cache\_npx
Codex
npx --yes huaweicloud-devkit install --target codex
Restart the Codex session after installation.
codex plugin list # verify huaweicloud-devkit@huaweicloud-devkit is installed and enabled
npx --yes huaweicloud-devkit doctor --target codex
npx --yes huaweicloud-devkit status --target codex
npx --yes huaweicloud-devkit update --target codex
npx --yes huaweicloud-devkit uninstall --target codex
Then mention @huaweicloud-devkit in Codex or describe your Huawei Cloud task directly.
Requires Codex CLI — the
codexcommand must be in PATH. If Codex is installed via WindowsApps (Microsoft Store), use--target codex-desktopinstead. Runcodex --versionto verify CLI availability.
Codex Desktop
Use this target when the Codex CLI is unavailable or when Codex is installed through WindowsApps on Windows.
npx --yes huaweicloud-devkit install --target codex-desktop
Restart the Codex Desktop session after installation.
…
