CLI for CodeForge development workflows. Manages sessions, plugins, configuration, codebase indexing, and devcontainers.
Experimental — v0.1.0. Ships with CodeForge v2.1.0.
npm install -g @coredirective/cf-cliRequires Bun runtime.
codeforge <command> [options]| Flag | Description |
|---|---|
--local |
Run against the host filesystem (skip container proxy) |
--container <name> |
Target a specific container by name |
When run outside a devcontainer, commands auto-proxy into the running CodeForge container. Use --local to bypass.
codeforge session search "query" # Search session history
codeforge session list # List recent sessions
codeforge session show <id> # Show session detailscodeforge task search "query" # Search tasks across sessions
codeforge task list # List tasks
codeforge task show <id> # Show task detailscodeforge plan search "query" # Search plans across sessionscodeforge plugin list # List installed plugins
codeforge plugin show <name> # Show plugin details
codeforge plugin enable <name> # Enable a plugin
codeforge plugin disable <name> # Disable a plugin
codeforge plugin hooks [name] # Show hooks (all or per-plugin)
codeforge plugin agents [name] # Show agents (all or per-plugin)
codeforge plugin skills [name] # Show skills (all or per-plugin)codeforge config show # Show current configuration
codeforge config apply # Deploy config files to ~/.claude/codeforge index build # Build symbol index for current project
codeforge index search "query" # Search the symbol index
codeforge index show <symbol> # Show symbol details
codeforge index stats # Index statistics
codeforge index tree # Symbol tree view
codeforge index clean # Remove index dataThese commands always run on the host (never proxied).
codeforge container up # Start the devcontainer
codeforge container down # Stop the devcontainer
codeforge container rebuild # Rebuild the devcontainer
codeforge container exec <cmd> # Execute a command in the container
codeforge container ls # List running containers
codeforge container shell # Open a shell in the containerGPL-3.0 — see LICENSE.