install command fetches a Claude plugin from GitHub (or uses a local path) and converts it to your target AI coding tool format.
Usage
Arguments
Plugin name (fetched from GitHub) or local path (must start with
., /, or ~).Examples:compound-engineering- Fetches from GitHub./my-plugin- Uses local directory~/plugins/my-plugin- Uses home directory path
Options
Target format to convert to.Available targets:
opencode(default)codexdroidpicopilotgeminikirowindsurfopenclawqwenall- Auto-detects and installs to all detected tools
Output directory (project root).Default behavior:
- For OpenCode:
~/.config/opencode - For other targets: varies by tool
Scope level for the installation.Options:
global | workspaceDefault varies by target. Use global to install system-wide, or workspace for project-specific installation.Comma-separated list of additional targets to generate.Example:
--also codex,pi installs to the primary target plus Codex and Pi.Permission mapping written to
opencode.json.Options:none(default) - No permissions written to configbroad- Write broad permission mappingsfrom-commands- Infer permissions from command definitions
Default is
none to avoid polluting user config with global permissions. See ADR-003 for details.Default agent mode for the plugin.Options:
primary | subagentInfer agent temperature from plugin name and description.
Target-Specific Options
Write Codex output to this
.codex root.Example: ~/.codexWrite Pi output to this Pi root.Example:
~/.pi/agent or ./.piWrite OpenClaw output to this extensions root.Example:
~/.openclaw/extensionsWrite Qwen output to this Qwen extensions root.Example:
~/.qwen/extensionsExamples
Install from GitHub to OpenCode
compound-engineering plugin from GitHub to ~/.config/opencode.
Install to Multiple Targets
--also flag installs to specific additional targets, while --to all auto-detects all installed AI coding tools.
Install Local Plugin
., /, or ~ are treated as local paths.
Install to Custom Output Directory
Install with Broad Permissions
Install to Workspace Scope
Behavior
Plugin Resolution
-
GitHub fetch: If the plugin argument doesn’t start with
.,/, or~, it’s fetched from GitHub:- Repository:
https://github.com/EveryInc/compound-engineering-plugin - Plugin path:
plugins/<plugin-name> - Uses shallow clone (
--depth 1) for performance - Cleans up temporary files after installation
- Repository:
-
Local path: If the path starts with
.,/, or~, it’s resolved as a local directory path.
Target Detection (—to all)
When using--to all, the CLI detects installed tools by checking:
- Config file existence
- Installation paths
- Tool-specific markers
Difference from convert
Theinstall command:
- Fetches plugins from GitHub by default
- Defaults output to
~/.config/opencode(global config) - Sets
--permissionsdefault tonone
convert command:
- Requires a local path
- Defaults output to current working directory
- Sets
--permissionsdefault tobroad
install for production usage, and convert for local development and testing.