鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

huaweicloud-devkit

让 AI 智能体掌握华为云全流程操作——构建、部署、运维全程受控,助您轻松安全上云。

开发运行时
访问 GitHub
文档README

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.

Cursor Directory Plugin

This repository also acts as an Open Plugins package for the Cursor Directory marketplace. The root-level plugin.json, mcp.json, skills/, and rules/ files are used only for Cursor Directory repository-scan discovery and are not shipped in the npm tarball (the package.json files whitelist excludes them). The npm package's manifests live under plugins/huaweicloud-core/.

The mcp.json MCP server launches via npx -y -p huaweicloud-devkit huaweicloud-devkit-mcp, which tracks the npm latest tag. During pre-release this may differ from the manifest version; it can be pinned after a stable release.

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:

▼
bash
复制代码
npm config set registry https://mirrors.huaweicloud.com/repository/npm/

Restore the default registry: npm config delete registry

Quick Start

If --target is omitted, the installer auto-detects agents on your machine. When multiple agents are detected, all of them will be installed. Specify --target to control which agent receives the install.

▼
bash
复制代码
npx --yes huaweicloud-devkit version # print the installed plugin version per agent npx --yes huaweicloud-devkit uninstall --target all --clean-global # also remove KooCLI + OBS config

OpenCode

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target opencode

Restart the session after installation.

▼
bash
复制代码
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 only; Windows path TBD

Codex

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target codex

Restart the Codex session after installation.

▼
bash
复制代码
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

Requires Codex CLI — the codex command must be in PATH. If Codex is installed via WindowsApps (Microsoft Store), use --target codex-desktop instead. Run codex --version to verify CLI availability.

CodeArts Agent

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target codearts

Restart the session after installation.

▼
bash
复制代码
npx --yes huaweicloud-devkit doctor --target codearts npx --yes huaweicloud-devkit status --target codearts npx --yes huaweicloud-devkit update --target codearts npx --yes huaweicloud-devkit uninstall --target codearts

Sandbox mode: CodeArts defaults to sandbox mode which blocks KooCLI. install-hcloud detects this and shows how to resolve it — install KooCLI outside the sandbox terminal, or disable sandbox mode in CodeArts settings (Settings → Chats → Agents Terminal Command Running Mode → Auto Running).

CodeArts Work

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target codearts-work

Restart the session after installation.

▼
bash
复制代码
npx --yes huaweicloud-devkit doctor --target codearts-work npx --yes huaweicloud-devkit status --target codearts-work npx --yes huaweicloud-devkit update --target codearts-work npx --yes huaweicloud-devkit uninstall --target codearts-work

CodeArts Work (CodeArts Space, appId: com.codearts.work) uses user-level config at %USERPROFILE%\.codeartswork\. No project-level .codeartswork directory is created.

WorkBuddy

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target workbuddy

Restart the session after installation.

▼
bash
复制代码
npx --yes huaweicloud-devkit doctor --target workbuddy npx --yes huaweicloud-devkit status --target workbuddy npx --yes huaweicloud-devkit update --target workbuddy npx --yes huaweicloud-devkit uninstall --target workbuddy

DeepSeek Harness (DSH)

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target dsh

Restart the DSH session after installation.

▼
bash
复制代码
npx --yes huaweicloud-devkit doctor --target dsh npx --yes huaweicloud-devkit status --target dsh npx --yes huaweicloud-devkit update --target dsh npx --yes huaweicloud-devkit uninstall --target dsh

DSH V1 reuses the existing MCP server through @deepseek-ai/dsh-mcp-client. If the installer reports that the client is not detected, run: npx @deepseek-ai/dsh plugin --profile web add @deepseek-ai/dsh-mcp-client.

OfficeAce

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target officeace

Restart OfficeAce after installation.

▼
bash
复制代码
npx --yes huaweicloud-devkit doctor --target officeace npx --yes huaweicloud-devkit status --target officeace npx --yes huaweicloud-devkit update --target officeace npx --yes huaweicloud-devkit uninstall --target officeace

Hermes

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target hermes

Restart the Hermes session after installation.

▼
bash
复制代码
npx --yes huaweicloud-devkit doctor --target hermes npx --yes huaweicloud-devkit status --target hermes npx --yes huaweicloud-devkit update --target hermes npx --yes huaweicloud-devkit uninstall --target hermes

Uninstall notes: On Linux, run rm -rf ~/.npm/_npx/* && npm cache clean --force after uninstall to ensure a clean slate. On Windows, close all Hermes sessions first to release file locks, then after uninstall check %LOCALAPPDATA%\hermes\config.yaml for YAML corruption and manually remove %LOCALAPPDATA%\hermes\huaweicloud-plugins if any files remain. Safety hooks: The installer configures Hermes shell hooks (config.yaml → hooks.pre_tool_call) to intercept unsafe terminal commands such as credential file reads, environment variable dumps, and unapproved hcloud write operations. Hermes shows a consent prompt the first time; approve it or set hooks_auto_accept: true in config.yaml to auto-accept. MCP Python SDK: The installer automatically installs the mcp Python package required by Hermes for MCP tool discovery. If you see [FAIL] Hermes MCP Python SDK in doctor, run pip3 install mcp manually. Windows: See docs/hermes-windows.md for known issues and workarounds.

OpenClaw

▼
bash
复制代码
# Recommended (ClawHub) openclaw plugins install clawhub:huaweicloud-devkit openclaw plugins uninstall huaweicloud-devkit openclaw plugins update huaweicloud-devkit

Restart OpenClaw after installation. If prompted for security risk acknowledgment, add --acknowledge-clawhub-risk.

▼
bash
复制代码
# Or via npx npx --yes huaweicloud-devkit install --target openclaw npx --yes huaweicloud-devkit status --target openclaw npx --yes huaweicloud-devkit update --target openclaw npx --yes huaweicloud-devkit uninstall --target openclaw rm -rf ~/.npm/_npx/ # Linux/macOS only; Windows path TBD

AtomCode

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target atomcode

Restart the AtomCode session after installation.

▼
bash
复制代码
npx --yes huaweicloud-devkit doctor --target atomcode npx --yes huaweicloud-devkit status --target atomcode npx --yes huaweicloud-devkit update --target atomcode npx --yes huaweicloud-devkit uninstall --target atomcode

Other Agents

Any agent that supports MCP can use the standard config:

▼
json
复制代码
{ "mcpServers": { "huaweicloud-devkit": { "command": "npx", "args": ["-y", "-p", "huaweicloud-devkit", "huaweicloud-devkit-mcp"] } } }

No installation required — npx handles everything.

Set HW_ACCESS_KEY/HW_SECRET_KEY in the MCP config env field for project-level credentials.

Install KooCLI

▼
bash
复制代码
npx --yes huaweicloud-devkit install-hcloud

Configure Credentials

▼
bash
复制代码
npx --yes huaweicloud-devkit auth init

Synchronizes AK/SK to KooCLI, OBS, and sandbox APIs in one step.

Install All Agents

▼
bash
复制代码
npx --yes huaweicloud-devkit install --target all

Update All Agents

▼
bash
复制代码
npx --yes huaweicloud-devkit update --target all

update is incremental — it refreshes installed files without touching your config.

What It Does

  • Guided cloud operations — agents get step-by-step guidance for 20+ Huawei Cloud services (ECS, OBS, VPC, RDS, GaussDB, FunctionGraph, APIG, CCE, and more)
  • Safety-first execution — all write operations require explicit user approval; credentials and secrets are automatically redacted from output
  • Pre-execution risk checks — public exposure, credential leaks, and destructive operations are caught before they run
  • Regional awareness — auto-discovers available regions and checks service availability before creating resources
  • Sandbox (DevStation) — temporary cloud runtime for web app deployment with instant public URL preview

Supported Services

ECS, OBS, VPC, IAM, RDS, GaussDB, FunctionGraph, APIG, CCE, SMN/DMS, ModelArts, Cloud Eye, CTS, DEW, Billing, CBR, WAF/AAD, DDS/DCS, Deployment, and Getting Started guides.

Documentation

  • Architecture
  • Safety Model
  • Hook Rule Model
  • DeepSeek Harness Integration
  • Changelog
  • KooCLI official docs

Contributors

License

This project is licensed under the Apache-2.0 License. See LICENSE.

开发运行时

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:huaweicloud/huaweicloud-devkit

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
dsh 插件推荐
dsh-simplify
提供 /simplify 命令,让 Agent 在选定的 Git 变更范围内简化代码,支持暂存变更、提交及未跟踪文件。
pi2dsh
Pi Host ABI 兼容引擎:装一次之后,npm 上的 Pi 扩展原包经 `dsh plugin add <pi-package>` 直接作为 DSH 原生插件挂载。已在官方 DSH 上端到端验证 pi-mcp-adapter(完整 MCP 管理面:OAuth、resources、prompts、MCP Apps、elicitation、sampling)、@tintinweb/pi-subagents、pi-code、pi-hermes-memory、pi-background-tasks;`pi2dsh inspect` 在安装前报告一个包的兼容情况。
fn-os-apps#dsh-fnos-plugin
把 DeepSeek Harness 接进飞牛 fnOS:DSH 界面跑在 fnOS 应用框架里时通过 fnOS 浏览器 SDK 工作——DSH 设为跟随系统时读取并跟随 NAS 主题,在设置里列出和取消已授权的 NAS 目录,把文件与链接交给对应的 fnOS 应用打开,并把 DSH 页面标题同步到 fnOS 应用窗口。npm 安装:`dsh plugin --profile web add @tnnevol/dsh-fnos`。
my-dsh-plugins#dsh-my-guardian
插件治理:新装/更新插件先进候选区,启动完成后热挂载——成功自动转正,失败自动禁用,连续失败冻结,一键安全模式,侧边栏诊断面板(npm: `dsh-my-guardian`)。
dsh-ballute
已装插件的崩溃防护:崩溃卡片一键停用、静态预检、黑匣子遥测,以及救援损坏 UI 的安全模式 profile。
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题