Environment Variables
COMPOUND_PLUGIN_GITHUB_SOURCE
Override the default GitHub repository when installing plugins by name.https://github.com/EveryInc/compound-engineering-plugin
Use case: Test plugin installation from a fork or private repository during development.
Permission Modes
Control how tool permissions are written toopencode.json using the --permissions flag.
none (default)
No permissions are written to the global config. This prevents polluting user configuration with plugin-specific permissions.broad
All tools are enabled with allow permissions. Useful for development or when you trust the plugin completely.from-commands
Permissions are inferred from theallowed-tools frontmatter in command files. This provides fine-grained control based on what each command declares.
Agent Modes
Control the default mode for converted agents using the--agent-mode flag.
subagent (default)
Agents are designed to be called by the primary agent for specialized tasks.primary
Agents can be directly invoked by the user and handle full conversations.Scope Options
Some targets support installation at different scopes using the--scope flag.
global
Install to the user’s home directory (e.g.,~/.config/opencode or ~/.codex).
workspace
Install to the current project directory (e.g.,./.opencode or ./.cascade).
Not all targets support both scopes. Windsurf supports both
global and workspace, defaulting to global. OpenCode and most other targets only support global scope.Temperature Inference
The CLI can automatically infer appropriate temperature values for agents based on their name and description.Enable (default)
- 0.1: review, audit, security, sentinel, oracle, lint, verification, guardian
- 0.2: plan, planning, architecture, strategist, analysis, research
- 0.3: doc, readme, changelog, editor, writer (default for most agents)
- 0.6: brainstorm, creative, ideate, design, concept
Disable
Multi-Target Installation
Install to multiple target formats in a single command using the--also flag.
~/.config/opencode/(primary target)~/.codex/(additional target)~/droid/(additional target)
Auto-Detection Mode
Use--to all to automatically detect and install to all supported AI coding tools on your system.
- OpenCode:
~/.config/opencode/ - Codex:
~/.codex/ - Droid:
~/.droid/ - Pi:
~/.pi/agent/ - Copilot:
~/.copilot/ - Gemini:
~/.gemini/ - Kiro:
~/.kiro/ - Windsurf:
~/.cascade/ - OpenClaw:
~/.openclaw/extensions/ - Qwen:
~/.qwen/extensions/