Skip to content
Docs

CLI Tools

CodeForge installs 23 tools and utilities in your DevContainer, covering session management, code quality, language runtimes, and development infrastructure. Every tool is on your PATH from the first terminal session — no manual installation required.

These tools manage your Claude Code sessions, track usage, and provide monitoring capabilities.

Launch Claude Code with the full CodeForge configuration — custom system prompt, all plugins, agents, and skills active.

Terminal window
# Start a CodeForge-configured Claude session
cc
# Equivalent — 'claude' is an alias for the same configuration
claude

Both 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.

Terminal window
# Start vanilla Claude Code
ccraw

Launch Claude Code with a writing-focused system prompt, optimized for documentation and content creation tasks.

Terminal window
# Start Claude in writing mode
ccw

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.

Terminal window
# Basic search across all sessions
ccms "authentication flow"
# Search within the current project only
ccms --project "$(pwd)" "query"
# Filter by role — find Claude's past decisions
ccms -r assistant "what was decided about the database schema"
# Filter by role — find what you previously asked
ccms -r user "auth approach"
# Boolean queries
ccms "(auth OR authentication) AND NOT test"
# Time-scoped search
ccms --since "1 day ago" "recent work"
ccms --since "1 week ago" "architecture decisions"
# JSON output for structured parsing
ccms -f json "query" -n 10
# Statistics about your session history
ccms --stats ""
# Interactive TUI mode (not available from within Claude)
ccms

View your Claude API usage statistics, including token counts, costs, and session summaries. Installed via npm from the ccusage project.

Terminal window
# View usage statistics
ccusage

Analyze token consumption patterns across sessions to understand usage efficiency and identify sessions with unusually high token burn.

Terminal window
# Analyze token burn rate
ccburn

A web-based session monitoring dashboard that provides real-time visibility into active Claude sessions, resource usage, and session history. Runs on port 7847.

Terminal window
# Launch the dashboard
codeforge-dashboard

Real-time terminal-based Claude session monitor. Shows active sessions and their current status.

Terminal window
# Start the session monitor
claude-monitor

A headless Chromium browser (Playwright-based) available for agents that need to inspect web content or take screenshots.

Terminal window
# Launch the agent browser
agent-browser

Verify your CodeForge installation health — checks that all expected tools are installed, plugins are loaded, and configuration is valid.

Terminal window
# Run the setup health check
check-setup

List all available CodeForge CLI tools with their installation status and versions.

Terminal window
# Show all tools and their status
cc-tools

This 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.

Terminal window
# Search session history
codeforge session search "authentication approach"
# List plugins and their status
codeforge plugin list
# Build a codebase symbol index
codeforge index build
# Manage devcontainers
codeforge container ls

When 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.

Terminal window
# Launch Claude Code with traffic inspection on port 8081
codeforge proxy

The proxy runs on port 8081. Open the mitmproxy web interface to view, filter, and inspect all API calls in real time.

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.

Terminal window
# Start the devcontainer bridge
dbr

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.

Terminal window
# Configure the statusline
ccstatusline

These tools are used both manually and automatically by the Auto Code Quality Plugin to maintain code standards.

CommandLanguagesPurposeExample
ruffPythonLinting and formattingruff check src/ && ruff format src/
biomeJS/TS/JSONLinting and formattingbiome check src/
shellcheckShellScript lintingshellcheck scripts/*.sh
shfmtShellScript formattingshfmt -w scripts/*.sh
dprintMD/TOML/JSONFormattingdprint fmt
hadolintDockerfileLintinghadolint Dockerfile
CommandPurposeDetails
sg / ast-grepStructural code search using AST patternsFull documentation
tree-sitterSyntax tree parsing and symbol extractionFull documentation

These tools are covered in depth on the Code Intelligence page.

CodeForge includes modern language runtimes and fast package managers so you can work with multiple languages out of the box.

ToolVersionPurposeExample
Node.jsvia nvmJavaScript runtimenode --version
Python3.14 via uvPython runtimepython --version
Rustvia rustupRust toolchain (opt-in — commented out by default)cargo --version
BunlatestFast JS runtime and package managerbun install
uvlatestFast Python package manageruv pip install requests
Govia featureGo toolchaingo version
GitHub CLI (gh)latestGitHub operations from the terminalgh pr create
ToolPurposeExample
tmuxTerminal multiplexer for session managementtmux new -s work
jqJSON processor for command-line data manipulationcat data.json | jq '.results[]'
gitVersion control (pre-configured)git log --oneline -10
dockerContainer management (host Docker socket mounted)docker ps
LSP serversLanguage servers for code intelligenceSee Code Intelligence
#CommandCategoryDescription
1cc / claudeSessionClaude Code with CodeForge config
2cc-orcSessionClaude Code in orchestrator mode (delegation-first)
3ccrawSessionVanilla Claude Code
4ccwSessionClaude Code in writing mode
5ccmsSessionSession history search (currently disabled)
6ccusageSessionAPI usage statistics
7ccburnSessionToken burn analysis
8ccstatuslineSessionTerminal status bar widget
9codeforge-dashboardSessionWeb-based session dashboard
10claude-monitorSessionReal-time session monitor
11agent-browserSessionHeadless browser for agents
12check-setupSessionInstallation health check
13cc-toolsSessionList all available tools
14codeforgeSessionCodeForge CLI — session search, plugins, indexing (experimental)
15codeforge proxySessionLaunch Claude Code through mitmproxy for API traffic inspection
16dbrInfrastructureDevcontainer bridge for dynamic port forwarding
17ruffQualityPython linting and formatting
18biomeQualityJS/TS/JSON linting and formatting
19shellcheckQualityShell script linting
20shfmtQualityShell script formatting
21dprintQualityMarkdown/TOML/JSON formatting
22hadolintQualityDockerfile linting
23sg / ast-grepIntelligenceStructural code search
24tree-sitterIntelligenceSyntax tree parsing
25pyrightIntelligencePython LSP server
26typescript-language-serverIntelligenceTypeScript/JS LSP server