Skip to content
Docs

CLI Tools

CodeForge installs 22 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
claude-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.

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
2ccrawSessionVanilla Claude Code
3ccwSessionClaude Code in writing mode
4ccmsSessionSession history search (currently disabled)
5ccusageSessionAPI usage statistics
6ccburnSessionToken burn analysis
7ccstatuslineSessionTerminal statusline
8claude-dashboardSessionWeb-based session dashboard
9claude-monitorSessionReal-time session monitor
10agent-browserSessionHeadless browser for agents
11check-setupSessionInstallation health check
12cc-toolsSessionList all available tools
13ruffQualityPython linting and formatting
14biomeQualityJS/TS/JSON linting and formatting
15shellcheckQualityShell script linting
16shfmtQualityShell script formatting
17dprintQualityMarkdown/TOML/JSON formatting
18hadolintQualityDockerfile linting
19sg / ast-grepIntelligenceStructural code search
20tree-sitterIntelligenceSyntax tree parsing
21pyrightIntelligencePython LSP server
22typescript-language-serverIntelligenceTypeScript/JS LSP server