Command Palette

Search for a command to run...

Back to skills
skill № 95704

opencode-cli

Wrapped access to OpenCode CLI. Captures opencode --help, caches subcommands, validates flags, post-processes output. Use for ANY OpenCode CLI invocation from…

FreeNo executable scripts
Andersonlimahwby Andersonlimahw★ 19 GitHub stars

Install opencode-cli in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

OpenCode CLI Wrapper

Wrapped OpenCode CLI access. Digest-driven, token-optimized.

Commands

/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

Token Savings

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

Common Patterns

/opencode-cli invoke --version
/opencode-cli invoke config list
/opencode-cli invoke run <prompt>

Digest Location

.claude/cli-wrappers/opencode.json — auto-refreshed on /opencode-cli wrap

Cross-Harness

When Claude Code delegates to OpenCode, always use this wrapper. The wrapper agent opencode-cli handles the full delegation lifecycle.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the opencode-cli skill do?

Wrapped access to OpenCode CLI. Captures opencode --help, caches subcommands, validates flags, post-processes output. Use for ANY OpenCode CLI invocation from Claude Code or other harnesses. Saves ~85% tokens vs raw opencode output.

How do I install the opencode-cli skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the opencode-cli skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare opencode-cli with