Workspaces and project context
Choose a directory, attach context, isolate parallel edits and resume project sessions.
Open a project
Open a directory in desktop Code mode, or change directory before starting wrok in a terminal. Confirm the working path and Git branch. The project directory determines the file tree, session grouping, project settings and discovered skills.
cd /path/to/project
wrokcd /path/to/project
wrokUse Work for general workflows and Design for creative projects. Switching modes does not move task files.
Supply context
Provide the goal, relevant files, reproduction steps and output requirements. Attach files or give explicit paths. For a large repository, identify the relevant module first. A visible file is not necessarily fully loaded into model context.
Keep project instructions in CRABCODE.md or .crabcode/rules/, shared settings in .crabcode/settings.json, and personal overrides in .crabcode/settings.local.json. Never commit credentials in these files. See custom instructions.
Add directories
Use /add-dir or a startup option for related work:
wrok --add-dir /path/to/related-projectwrok --add-dir /path/to/related-projectAdd directories needed for the task. Working directories, tool approval and sandbox filesystem rules each affect access. Resolve the specific denial shown by the application.
Parallel work and recovery
Use separate Git worktrees for tasks that modify the same repository independently. See wrok --help for --worktree. Shared databases, ports and external accounts remain shared.
Use /resume in the terminal or open a previous project conversation in the desktop app. Confirm the current directory and files after resuming. Moving a directory may affect session grouping; transcripts are not file backups. See sessions and Git workflows.