Wraps Claude Code CLI invocations with digest-driven flag validation and token-optimized output, saving ~85% tokens vs raw help.
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 Claude Code CLI access. Digest-driven, token-optimized.
/claude-cli invoke <args> — run claude command with validated flags
/claude-cli explain <cmd> — show what a claude subcommand does
/claude-cli audit — token savings report
/claude-cli wrap — rebuild digest from live claude --help
Claude Code CLI has extensive help output (~5KB+). Digest = ~400 bytes. 92% savings.
| Phase | Raw | Wrapped |
|---|---|---|
| Discovery | 5.2KB | 0.4KB |
| Invocation | variable | filtered + deduped |
| Flag validation | trial/error | first-try via digest |
/claude-cli invoke --version
/claude-cli invoke config list
/claude-cli invoke mcp list
/claude-cli invoke plugin list
.claude/cli-wrappers/claude.json — auto-refreshed on /claude-cli wrap
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
claude-cli, token-optimization, cli-wrapper, flag-validation
/cli-wrapper:claude-clifrom cli-wrapper
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin cli-wrapper6 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.
/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-cliOther plugins' skills for the same job