Skip to content

Utilities

List all projects indexed on this machine.

code_projects()

Switch the active graph to a different project.

code_switch_project(path="/path/to/other-project")

Read or write CLAUDE.md (global or project-local). Changes are auto-saved to memory.

code_config(action="read")
code_config(action="sections") # list available sections
code_config(action="append", section="Rules", content="Always use code_grep over Grep")

Find the test file and test cases that cover a given function.

code_test_for(name="processPayment")
→ tests/payment.test.ts
├─ test_payment_success (line 14)
├─ test_payment_idempotency (line 38)
└─ test_payment_insufficient_funds (line 61)

Structured multi-expert reasoning before implementing complex tasks.

deliberation_start(task="Refactor auth middleware to support OAuth")
→ returns session_id, list of required experts
deliberation_opinion(session_id="...", expert="security", ...)
deliberation_opinion(session_id="...", expert="architect", ...)
deliberation_result(session_id="...")
→ synthesized recommendation

Available experts: architect, security, database, api, performance, testing, devops, uiux, critic, synthesizer

Use deliberation for tasks involving multiple domains, architectural decisions, or security-sensitive changes.