Claude Code workbench for local CLI: automatic side TUI with usage, context, history, and Git patch restore.
中文说明见 README_CN.md。
/plugin marketplace add https://github.com/Siiichenggg/cc-workbench
/plugin install cc-workbench
/install
cargo build --release
Binary: target/release/cc-workbench
This tool wraps the real Claude CLI. The wrapper starts a TUI with the Claude process on the left and the workbench on the right.
alias claude="/path/to/target/release/cc-workbench"
which claude
Rename it to claude.real (same directory).
Place cc-workbench in the same directory and name it claude.
The wrapper will call claude.real automatically if it sits next to the wrapper binary. You can also force a command:
export CCWB_CLAUDE_CMD=claude.real
./scripts/install.sh /path/to/target/release/cc-workbench
Run claude as usual. The workbench appears automatically on the right.
Ctrl+Q: quitTab: focus history panelEnter (history): jump to message outputd (history): diff previewr (history): diff preview + restore prompty/n (diff): confirm/cancel restorePageUp/PageDown: scroll outputEnd: follow outputCreate .cc-workbench/config.json in your workspace (or ~/.cc-workbench/config.json) to set limits and providers.
Example:
{
"context_limit": 200000,
"compress_threshold": 0.85,
"usage_poll_seconds": 30,
"providers": [
{"type": "local", "name": "local-estimate", "limit_tokens": 200000},
{"type": "manual", "name": "claude", "limit_tokens": 1000000, "used_tokens": 12345},
{
"type": "httpjson",
"name": "glm",
"url": "https://api.example.com/usage",
"method": "GET",
"headers": {"Authorization": "Bearer YOUR_KEY"},
"used_pointer": "/data/used",
"limit_pointer": "/data/limit"
}
]
}
Per workspace data is stored in .cc-workbench/:
ccwb.sqlite session metadatasnapshots.git Git patch historybackup/ restore backups.cc-workbench.httpjson providers accept JSON Pointer paths (RFC 6901). Example: /data/usage/used.httpjson providers use curl under the hood (macOS default).You can add Claude/GLM/Minimax usage once you have their official usage endpoints and JSON paths. Example:
{
"type": "httpjson",
"name": "claude",
"url": "https://<official-usage-endpoint>",
"method": "GET",
"headers": {"Authorization": "Bearer <KEY>"},
"used_pointer": "/usage/used",
"limit_pointer": "/usage/limit"
}
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub siiichenggg/cc-workbenchReal-time statusline HUD for Claude Code with GLM API balance tracking. Shows context usage, active tools, running agents, todo progress, and GLM token balance.
Real-time statusline HUD for Claude Code with GLM API balance tracking. Shows context usage, active tools, running agents, todo progress, and GLM token balance.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.
Unified status line for Claude Code with multi-CLI (Claude, Codex, Gemini, z.ai) usage monitoring, context, rate limits, and cost tracking
Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress