AI Agent Hub
Back to skills
OpenCode Skill Installer icon

OpenCode Skill Installer

AI Agent Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please install @user_c9b69df4/opencode-skill-installer according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem Addressed

OpenCode skill packages often combine SKILL.md, _meta.json, agents/, commands/, plugins/, and scripts/. Manual installation can easily fail because of Flat, Single, or Multi layouts, invalid directory names, duplicate or renamed slugs, unclear version ordering, and stale opencode.json entries.

How It Works

The installer breaks the workflow into confirmable steps: detect whether the source is a zip or directory, identify the skill structure and name, then perform same-name checks, version comparison, and source integrity validation before copying. This helps catch mismatches between _meta.json and SKILL.md, leftover old slugs, and missing metadata. After confirmation, it installs into the project or global .opencode/skills/ path, deploys companion agents/, commands/, and plugins/ files, and optionally installs script dependencies when scripts/package.json is present.

Boundaries and Caveats

It is useful for managing local OpenCode skill installation, inspection, and removal, but it does not replace skill design or packaging. External packages still require user trust and confirmation. The installer cannot uninstall itself, and destructive or downgrade actions remain gated by explicit user confirmation.

Use Cases

  • Install a received zip skill into an OpenCode project after checking structure, version, and duplicate name.
  • Upgrade an existing skill by comparing old and new versions and avoiding overwrite of agents, commands, or plugins.
  • Install a global skill with scripts/package.json and decide whether to install its Node dependencies.
  • Uninstall a local skill and clean matching agent, command, plugin files and stale config entries.

Best For

  • Engineers maintaining OpenCode project config who need to install external skill packages safely and check versions.
  • Team skill owners who need to install global skills, deploy commands and plugins, and clean stale config entries.
  • Developers debugging skill scripts who need to verify whether dependencies from scripts/package.json are installed.
  • Ops engineers cleaning skill environments who need to uninstall local skills and remove matching agents, commands, and plugins.