CLI Tools Reference
CodeForge includes 25 core CLI tools and utilities in the default inventory.
This page also includes closely related runtimes, package managers, and language servers so you can see the full command-line surface in one place.
Session & Claude Tools
Section titled “Session & Claude Tools”These tools manage your Claude Code sessions, track usage, and provide monitoring capabilities.
cc / claude
Section titled “cc / claude”Launch Claude Code with the full CodeForge configuration — custom system prompt, all plugins, agents, and skills active.
# Start a CodeForge-configured Claude sessioncc
# Equivalent — 'claude' is an alias for the same configurationclaudeBoth cc and claude set up the CodeForge system prompt, enable plan permission mode, and load all configured plugins. This is the primary way to start Claude Code in a CodeForge environment.
Launch Claude Code without any CodeForge configuration — no custom system prompt, no plugins, no agents. Useful for debugging or when you need vanilla Claude Code behavior.
# Start vanilla Claude CodeccrawLaunch Claude Code with a writing-focused system prompt, optimized for documentation and content creation tasks.
# Start Claude in writing modeccwccms — Session History Search
Section titled “ccms — Session History Search”Search through your Claude Code session history (JSONL files) with boolean queries, role filtering, and time scoping. Built in Rust for fast searching across large session archives.
# Basic search across all sessionsccms "authentication flow"
# Search within the current project onlyccms --project "$(pwd)" "query"
# Filter by role — find Claude's past decisionsccms -r assistant "what was decided about the database schema"
# Filter by role — find what you previously askedccms -r user "auth approach"
# Boolean queriesccms "(auth OR authentication) AND NOT test"
# Time-scoped searchccms --since "1 day ago" "recent work"ccms --since "1 week ago" "architecture decisions"
# JSON output for structured parsingccms -f json "query" -n 10
# Statistics about your session historyccms --stats ""
# Interactive TUI mode (not available from within Claude)ccmsccusage — Usage Statistics
Section titled “ccusage — Usage Statistics”View your Claude API usage statistics, including token counts, costs, and session summaries. Installed via npm from the ccusage project.
# View usage statisticsccusageccusage-codex — Codex Usage Statistics
Section titled “ccusage-codex — Codex Usage Statistics”View your OpenAI Codex CLI token usage statistics, including daily and monthly breakdowns. Companion to ccusage from the same ccusage project, reading session data from ~/.codex/.
# Daily Codex usageccusage-codex daily
# Monthly Codex usageccusage-codex monthlyccburn — Token Burn Analysis
Section titled “ccburn — Token Burn Analysis”Analyze token consumption patterns across sessions to understand usage efficiency and identify sessions with unusually high token burn.
# Analyze token burn rateccburnclaude-monitor
Section titled “claude-monitor”Real-time terminal-based Claude session monitor. Shows active sessions and their current status.
# Start the session monitorclaude-monitoragent-browser
Section titled “agent-browser”A headless Chromium browser (Playwright-based) available for agents that need to inspect web content or take screenshots.
# Launch the agent browseragent-browsercodex — Codex CLI
Section titled “codex — Codex CLI”OpenAI’s open-source terminal coding agent, analogous to Claude Code. A self-contained Rust binary installed via npm that provides a full-screen TUI for reading, editing, and executing code. Requires an OpenAI account (ChatGPT Plus/Pro/Business/Edu/Enterprise for browser login, or an API key).
# Launch Codex CLIcodex
# Codex requires authentication on first run:# Option 1: Browser login — select "Sign in with ChatGPT"# Option 2: API key — set OPENAI_API_KEY in .devcontainer/.secretscheck-setup
Section titled “check-setup”Verify your CodeForge installation health — checks that all expected tools are installed, plugins are loaded, and configuration is valid.
# Run the setup health checkcheck-setupcc-tools
Section titled “cc-tools”List all available CodeForge CLI tools with their installation status and versions.
# Show all tools and their statuscc-toolsThis displays a formatted table showing every tool, whether it is installed, and its version number.
codeforge — CodeForge CLI (Experimental)
Section titled “codeforge — CodeForge CLI (Experimental)”Multi-command CLI for development workflows — session search, plugin management, configuration, codebase indexing, and devcontainer management.
# Search session historycodeforge session search "authentication approach"
# List plugins and their statuscodeforge plugin list
# Build a codebase symbol indexcodeforge index build
# Manage devcontainerscodeforge container lsWhen run outside the container, commands auto-proxy into the running devcontainer. Use --local to run against the host filesystem.
codeforge proxy — API Traffic Inspection
Section titled “codeforge proxy — API Traffic Inspection”Launch Claude Code through mitmproxy to inspect API traffic between Claude and the Anthropic API. Useful for debugging prompt construction, token usage, and request/response payloads.
# Launch Claude Code with traffic inspection on port 8081codeforge proxyThe proxy runs on port 8081. Open the mitmproxy web interface to view, filter, and inspect all API calls in real time.
dbr — Devcontainer Bridge
Section titled “dbr — Devcontainer Bridge”Dynamic port forwarding bridge for the devcontainer. Forwards ports between the host and the running devcontainer, enabling access to services running inside the container from the host machine.
# Start the devcontainer bridgedbrccstatusline — Terminal Status Bar
Section titled “ccstatusline — Terminal Status Bar”A status bar widget for your terminal prompt that displays contextual information about your current Claude Code session — active agent, model, token usage, and session status. Integrates with your shell prompt to provide at-a-glance session awareness.
# Configure the statuslineccstatuslineCode Quality Tools
Section titled “Code Quality Tools”These tools are used both manually and automatically by the Auto Code Quality Plugin to maintain code standards.
| Command | Languages | Purpose | Example |
|---|---|---|---|
ruff | Python | Linting and formatting | ruff check src/ && ruff format src/ |
biome | JS/TS/JSON | Linting and formatting | biome check src/ |
shellcheck | Shell | Script linting | shellcheck scripts/*.sh |
shfmt | Shell | Script formatting | shfmt -w scripts/*.sh |
dprint | MD/TOML/JSON | Formatting | dprint fmt |
hadolint | Dockerfile | Linting | hadolint Dockerfile |
Code Intelligence Tools
Section titled “Code Intelligence Tools”| Command | Purpose | Details |
|---|---|---|
sg / ast-grep | Structural code search using AST patterns | Full documentation |
tree-sitter | Syntax tree parsing and symbol extraction | Full documentation |
These tools are covered in depth on the Code Intelligence page.
Language Runtimes & Package Managers
Section titled “Language Runtimes & Package Managers”CodeForge includes modern language runtimes and fast package managers so you can work with multiple languages out of the box.
| Tool | Version | Purpose | Example |
|---|---|---|---|
| Node.js | via nvm | JavaScript runtime | node --version |
| Python | 3.14 via uv | Python runtime | python --version |
| Rust | via rustup | Rust toolchain (opt-in — commented out by default) | cargo --version |
| Bun | latest | Fast JS runtime and package manager | bun install |
| uv | latest | Fast Python package manager | uv pip install requests |
| Go | via feature | Go toolchain | go version |
GitHub CLI (gh) | latest | GitHub operations from the terminal | gh pr create |
Development Utilities
Section titled “Development Utilities”| Tool | Purpose | Example |
|---|---|---|
| tmux | Terminal multiplexer for session management | tmux new -s work |
| jq | JSON processor for command-line data manipulation | cat data.json | jq '.results[]' |
| git | Version control (pre-configured) | git log --oneline -10 |
| docker | Container management (host Docker socket mounted) | docker ps |
| LSP servers | Language servers for code intelligence | See Code Intelligence |
Expanded Command Inventory
Section titled “Expanded Command Inventory”The table below is broader than the canonical 25-tool inventory because it also includes language servers that are useful to discover alongside the CLI tools.
| # | Command | Category | Description |
|---|---|---|---|
| 1 | cc / claude | Session | Claude Code with CodeForge config |
| 2 | cc-orc | Session | Claude Code in orchestrator mode (delegation-first) |
| 3 | ccraw | Session | Vanilla Claude Code |
| 4 | ccw | Session | Claude Code in writing mode |
| 5 | ccms | Session | Session history search (currently disabled) |
| 6 | ccusage | Session | API usage statistics |
| 7 | ccburn | Session | Token burn analysis |
| 8 | ccstatusline | Session | Terminal status bar widget |
| 9 | claude-monitor | Session | Real-time session monitor |
| 10 | agent-browser | Session | Headless browser for agents |
| 11 | check-setup | Session | Installation health check |
| 12 | cc-tools | Session | List all available tools |
| 13 | codeforge | Session | CodeForge CLI — session search, plugins, indexing (experimental) |
| 14 | codeforge proxy | Session | Launch Claude Code through mitmproxy for API traffic inspection |
| 15 | codex | Session | OpenAI Codex CLI terminal coding agent |
| 16 | ccusage-codex | Session | Codex token usage statistics |
| 17 | dbr | Infrastructure | Devcontainer bridge for dynamic port forwarding |
| 18 | ruff | Quality | Python linting and formatting |
| 19 | biome | Quality | JS/TS/JSON linting and formatting |
| 20 | shellcheck | Quality | Shell script linting |
| 21 | shfmt | Quality | Shell script formatting |
| 22 | dprint | Quality | Markdown/TOML/JSON formatting |
| 23 | hadolint | Quality | Dockerfile linting |
| 24 | sg / ast-grep | Intelligence | Structural code search |
| 25 | tree-sitter | Intelligence | Syntax tree parsing |
| 26 | pyright | Intelligence | Python LSP server |
| 27 | typescript-language-server | Intelligence | TypeScript/JS LSP server |
Related
Section titled “Related”- Code Intelligence — ast-grep, tree-sitter, and LSP details
- Commands Reference — complete command table
- Auto Code Quality — how quality tools are automated
- What’s Included — canonical counts and status labels