Skip to content
Docs

Commands

All CLI commands and slash commands available in the CodeForge DevContainer. Commands are shell aliases and functions defined in setup-aliases.sh and deployed to .bashrc and .zshrc on container start.

Commands for launching and managing Claude Code sessions.

CommandDescriptionExample
ccLaunch Claude Code with the main system prompt, plugins, and plan modecc
claudeIdentical to ccclaude
ccwLaunch Claude Code with the writing system prompt (for docs and prose)ccw
ccrawLaunch vanilla Claude Code with no custom config, prompts, or pluginsccraw
cc-orcLaunch Claude Code in orchestrator mode (delegation-first workflow)cc-orc

All session commands auto-detect the Claude binary location: ~/.local/bin/claude (native install) is preferred, then /usr/local/bin/claude, then PATH lookup. If ChromaTerm (ct) is installed, output is wrapped through it for color highlighting.

Commands for session analysis, usage tracking, and system monitoring.

CommandDescriptionExample
ccmsSearch Claude Code session history. Supports boolean queries, role filtering, time scoping, and project isolation. (currently disabled — replacement pending)ccms --project "$(pwd)" "auth approach"
ccusageView Claude API usage statisticsccusage
ccburnAnalyze token burn rate and consumption patterns with pace indicatorsccburn
ccstatuslineTerminal status line displaying session metrics, git state, token usage, and burn rate(runs automatically)
claude-dashboardWeb-based session monitoring dashboard on port 7847 with cost estimates and activity heatmapsclaude-dashboard
claude-monitorReal-time Claude session activity monitorclaude-monitor
agent-browserHeadless Chromium browser for agent automation with accessibility tree snapshotsagent-browser
check-setupVerify CodeForge installation health — checks tools, config, and aliasescheck-setup
cc-toolsList all installed CodeForge CLI tools with version infocc-tools
dbrDynamic port forwarding via devcontainer-bridge (container↔host)dbr

Pre-installed tools for linting, formatting, and code analysis.

CommandLanguagesPurposeExample
ruffPythonFast linting and formatting (replaces Black + Flake8)ruff check . --fix
biomeJS/TS/JSON/CSSUnified linting and formattingbiome check .
shellcheckShellScript linting with structured diagnosticsshellcheck script.sh
shfmtShellScript formattingshfmt -w script.sh
dprintMD/TOML/YAMLPluggable multi-language formatterdprint fmt
hadolintDockerfileDockerfile best practice lintinghadolint Dockerfile

Commands for structural code search and syntax analysis. These tools understand code structure (AST) rather than treating source files as plain text.

CommandPurposeExample
ag / sgast-grep — structural code search using AST patterns. Find code by structure, not text.sg -p 'console.log($$$)' -l js
tree-sitterTree-sitter CLI — parsing, syntax tree operations, and grammar developmenttree-sitter parse file.py
Terminal window
# Find all console.log statements in JavaScript
sg -p 'console.log($$$)' -l js
# Find functions with more than 3 parameters in Python
sg -p 'def $FUNC($A, $B, $C, $D, $$$)' -l python
# Find unused imports in TypeScript
sg -p 'import { $NAME } from $_' -l ts
Terminal window
# Parse a file and show the syntax tree
tree-sitter parse file.py
# Highlight a file with syntax colors
tree-sitter highlight file.py

Slash commands for specification-driven development. These are used within Claude Code sessions (type them in the chat, not the shell).

CommandPurposeExample
/spec-initBootstrap the .specs/ directory with templates/spec-init
/spec-new <feature>Create a new feature specification from the standard template/spec-new user-signup
/spec-refine <feature>Validate assumptions, get user approval before implementation/spec-refine user-signup
/spec-build <feature>Orchestrate full implementation: plan, build, review, and close/spec-build user-signup
/spec-review <feature>Verify implementation against spec requirements/spec-review user-signup
/spec-updateAs-built spec closure after implementation/spec-update
/spec-checkAudit spec health — find stale, incomplete, or unapproved specs/spec-check

Slash commands for issue and ticket management within Claude Code sessions.

CommandPurpose
/ticket:newCreate a new GitHub issue in EARS format
/ticket:workStart working on a ticket with a technical implementation plan
/ticket:create-prGenerate a PR from ticket context with security review
/ticket:review-commitReview commits against ticket requirements

Standalone slash commands for git operations within Claude Code sessions. These work independently of the ticket workflow but optionally link to tickets when context exists.

CommandPurposeExample
/shipReview changes, commit, push, and optionally create a PR/ship
/pr:reviewReview an existing PR and post findings (never merges)/pr:review 42
  1. Gathers git context (status, diff, branch, project rules)
  2. Conducts full review (security, rules, quality, architecture, tests)
  3. Presents findings by severity — user decides what to fix, defer to issues, or ignore
  4. Drafts commit message — user must approve before committing
  5. Commits and pushes
  6. Asks whether to create a PR — only creates if user confirms
  1. Identifies target PR (by number, URL, or auto-detects from current branch)
  2. Fetches PR details, diff, and reads changed files in full
  3. Conducts aggressive analysis (attack surface, threat modeling, dependencies, rules, architecture, quality, tests, breaking changes)
  4. Presents findings — user selects what to include in review, create as issues, or ignore
  5. Posts review comment to PR (never approves or merges)

The GitHub CLI (gh) is pre-installed for repository operations.

CommandPurposeExample
gh issue listList repository issuesgh issue list --state open
gh issue viewView issue detailsgh issue view 42
gh pr createCreate a pull requestgh pr create --title "Add feature"
gh pr viewView pull request detailsgh pr view 15
gh apiMake authenticated GitHub API requestsgh api repos/owner/repo/pulls

These additional commands are available in the container environment:

CommandPurpose
gitVersion control (pre-configured with worktree support)
dockerContainer management via Docker-outside-of-Docker
jqJSON processing and filtering
tmuxTerminal multiplexer for Agent Teams split-pane sessions
bunFast JavaScript runtime and package manager
cargoRust package manager (opt-in — Rust toolchain is commented out by default)
uvFast Python package installer

Commands come from different sources in the CodeForge setup:

SourceCommandsHow Defined
Shell aliasescc, claude, ccw, ccraw, cc-orc, check-setupsetup-aliases.sh writes to .bashrc/.zshrc
Shell functionscc-toolssetup-aliases.sh writes to .bashrc/.zshrc
DevContainer featuresccusage, ccburn, ruff, biome, sg, dbr, etc.install.sh in each feature directory
Slash commands/spec-new, /ticket:new, /ship, /pr:review, /ps, etc.Skill SKILL.md files in plugin directories
External featuresgh, docker, node, bunInstalled via devcontainer.json features