Open a project
In a terminal, change to the folder you want the agent to work in, then start cbp:
cd path/to/your/project
cbpChoose a supported model with /model. Start with a task whose result you can check.
Example: fix one greeting bug
Imagine a TypeScript project with a greet(name) function in src/greeting.ts. It currently keeps spaces around the name: greet(" Ada ") returns "Hello, Ada ". You want "Hello, Ada". In the CLI, send:
In src/greeting.ts, make greet(" Ada ") return "Hello, Ada" by trimming the name. Add a focused test in the existing greeting test file. Run only that test, then report the files changed and the test result. Do not change unrelated behavior.Illustrative result: src/greeting.ts trims the input; the greeting test covers spaces around a name and passes. Check the actual diff and test output before accepting the work. Your project will have different files and tests, so replace the example names with a real function in your repository. For more task patterns, see Repository prompts.
Review the work
The CLI's coding tools can read, edit, and run commands with your operating system permissions. Read the proposed changes and command output. Keep a backup or a Git commit before asking it to edit important files. When the task finishes, inspect the diff and run the relevant project checks yourself.
Track usage
A task can include several model calls. Watch the quota and gem information in the CLI footer, and read Plans, quotas, and gems if you need to understand the charge.