# OpenCLI Agent Pack: Jujutsu

Use this when an AI agent needs to work with `jj`.

## What this CLI is for
Version control, stacked changes, and git-compatible history from the terminal. Built by Jujutsu.

Best for: version control, stacked changes, and git-compatible history from the terminal.

## Agent readiness
Usable with guardrails (50/100)
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.

## Install
```sh
brew install jj
```

## Verify before real work
```sh
jj --version
```
Expected signal: jj responds locally and is ready for the first real command.

## Safe starting commands
```sh
jj --version
```

```sh
jj git init --colocate
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.

## Suggested agent instruction
You may use Jujutsu (`jj`) for version control, stacked changes, and git-compatible history from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
