Your First Agent
Run a minimal, reviewable agent flow using the legacy CrabCode facts from agents, sessions, and hooks.
Goal
Let CrabCode complete one traceable task inside a project directory, then name, export, or resume the session for review.
Steps
- Open the target repository and start
crabcode. - Give one bounded task, for example: “Read the README and tell me how this project runs tests.”
- For a project-level role, add
<repo>/.crabcode/agents/<name>.md, then manage it with/agents. - Use
/renamefor a readable session name and/exportfor a review transcript.
Boundary
Use Agents for complex task fan-out. Add Hooks only when you need scripted pre/post behavior.