From cli-wrapper
Wrapped 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cli-wrapper:claude-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Wrapped Claude Code CLI access. Digest-driven, token-optimized.
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
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin cli-wrapperWrapped 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.
Provides complete reference for Claude Code CLI including installation methods across macOS, Windows, Linux; basic usage; session management, output, and permission flags. Ideal for quick command lookups.
Documents the internal architecture of Claude Code CLI v2.1.84 — covers agent loop, tool execution, prompt assembly, MCP, plugin/skill systems, and rewrite logic. Useful for building compatible alternatives or understanding the runtime.