Skip to content

Set up zdev

Use setup to initialize a repository’s .zdev record or install and check a harness skill. The zdev binary must already be installed (see Your first zdev task).

Use zdev to set up this repository for a future greeting area. Keep the work
record personal to this clone and check the Codex user integration.
Use zdev to check the Claude Code user integration and refresh it
if it is out of date.

Setup separates two decisions: the record policy (how .zdev is stored) and the integration scope (where the harness skill is installed).

Record policy Use it when
personal The record stays local to this clone, excluded via .git/info/exclude.
project Briefs and tasks should be committed and shared with the repository.
pull-request Reviewers should see the records on the feature branch, then remove them before squash merge.
shadow .zdev should be versioned in its own Git repository at .zdev/.git (optionally with a remote) while staying out of main history.

If .zdev already exists, setup reuses its policy; otherwise it asks for any undecided choice. A user-scoped integration works across repositories, whereas a project-scoped integration is checked into one repository and needs a repository-guidance source.

Setup stops after reporting the record policy and integration status, without creating an area or starting implementation. Follow up with explore or include exploration in the same request.

You can also install or check an integration directly from the terminal:

Terminal window
zdev skill install codex
zdev skill check codex --scope user

See the user guide for supported harnesses and configure for project and worker settings.