Wraps OpenCode CLI invocations with token-optimized digests, flag validation, and subcommand caching. Use for any OpenCode CLI call from Claude Code.
Ships in cli-wrapper. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Wrapped OpenCode CLI access. Digest-driven, token-optimized.
/opencode-cli invoke <args> — run opencode command with validated flags
/opencode-cli explain <cmd> — show what an opencode subcommand does
/opencode-cli audit — token savings report
/opencode-cli wrap — rebuild digest from live opencode --help
OpenCode CLI help output ~3KB+. Digest = ~300 bytes. 90% savings.
| Phase | Raw | Wrapped |
|---|---|---|
| Discovery | 3.2KB | 0.3KB |
| Invocation | variable | filtered + deduped |
| Flag validation | trial/error | first-try via digest |
/opencode-cli invoke --version
/opencode-cli invoke config list
/opencode-cli invoke run <prompt>
.claude/cli-wrappers/opencode.json — auto-refreshed on /opencode-cli wrap
When Claude Code delegates to OpenCode, always use this wrapper.
The wrapper agent opencode-cli handles the full delegation lifecycle.
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/agy-cliWrapped access to Agy CLI (Antigravity). Captures agy --help, caches subcommands, validates flags, post-processes output. Use for ANY Agy CLI invocation from Claude Code or other harnesses. Saves ~85% tokens vs raw agy output.
/claude-cliWrapped access to Claude Code CLI. Captures claude --help, caches subcommands, validates flags against pre-built digest, post-processes output for minimal token consumption. Use for ANY Claude Code CLI invocation from this or other harnesses. Saves ~85% tokens vs raw claude help/output.
/cli-wrapper-setupOne-shot setup that configures the CLI wrapper ecosystem across ALL AI harnesses (Claude Code, Gemini, Codex, Agy, OpenCode). Creates symlinks from Claude (single source of truth) to every other CLI, registers wrapper skills/agents in each harness, and injects the "prefer wrapped CLI" policy into each CLI's config file. Run once per machine or after adding a new CLI to the ecosystem.
/codex-cliWrapped access to Codex CLI (OpenAI). Captures codex --help, caches subcommands, validates flags, post-processes output. Use for ANY Codex CLI invocation from Claude Code or other harnesses. Saves ~85% tokens vs raw codex output.
/gemini-cliWrapped access to Gemini CLI. Captures gemini --help, caches subcommands, validates flags, post-processes output. Use for ANY Gemini CLI invocation from Claude Code or other harnesses. Saves ~85% tokens vs raw gemini output.
/cli-wrapper:opencode-clifrom cli-wrapper
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin cli-wrapperOther plugins' skills for the same job