ACB CLI
Connect a local project to ACB context files and task summaries for Codex and Claude Code.
The CLI stores project config locally, reads the agent key from the environment and only manages marked ACB blocks in agent instruction files.
Build
Set-Location D:\scripts\aicontextbase npm --workspace @aicontextbase/cli run build
Environment
set ACB_AGENT_KEY=acb_live_xxx set ACB_API_URL=http://127.0.0.1:3003
Production API URL
set ACB_AGENT_KEY=acb_live_xxx set ACB_API_URL=https://aicontextbase.com acb init acb status acb pull-context --task "test production"
Initialize project
node D:\scripts\aicontextbase\apps\cli\dist\index.js init node D:\scripts\aicontextbase\apps\cli\dist\index.js status
Pull context
node D:\scripts\aicontextbase\apps\cli\dist\index.js pull-context --task "test ACB loop" --target-ai codex --max-chars 12000
Record summary
node D:\scripts\aicontextbase\apps\cli\dist\index.js record-summary --task "test" --result success --summary "CLI test summary" --new-fact "ACB CLI can record task summaries"
Run agents
node D:\scripts\aicontextbase\apps\cli\dist\index.js run codex --task "implement feature" node D:\scripts\aicontextbase\apps\cli\dist\index.js run claude-code --task "implement feature"