# Your first task

Install kebbie, run one task in a practice repo in its own worktree, and push it to the default branch.

![A task started from the board, watched in its Space, ready on the board](/docs/_media/0a454ded45/getting-started.webp)

It takes about twenty minutes, most of it installing tools. You need macOS or Linux and a Claude Code login.

## 1. Install the tools

kebbie runs inside [herdr](https://herdr.dev) and needs these tools on your `PATH`. Skip any you already have.

1. On macOS, install the tools:

   ```bash
   brew install herdr jq neovim curl tig
   ```

2. Install Claude Code:

   ```bash
   curl -fsSL https://claude.ai/install.sh | bash
   ```

If you are on Linux, see [Requirements](/docs/reference/requirements.md) for each tool's install command and the versions kebbie needs.

## 2. Install kebbie

1. Run the install script:

   ```bash
   curl -fsSL https://kebbie.dev/install.sh | sh
   ```

2. Confirm in herdr, which shows what the plugin will run.

The script installs the latest release as a herdr plugin with its prebuilt binary, and herdr picks the plugin up without a restart. The script then links `~/.local/share/kebbie/current` to where herdr installed it and runs setup.

Run over a kebbie that is already installed, the script also moves the keeper, the board and the Claude sessions onto the new version, as `kebbie update` does: idle sessions restart at once, busy ones once they are idle.

If a tool from step 1 is missing, the script names it and stops.

If `gh` is installed and logged in, the build checks the binary's build attestation and the script says `its attestation verified with gh`. Without it the binary installs with one warning; see [A release binary proves where it was built](/docs/explanation/updates-and-restarts.md#a-release-binary-proves-where-it-was-built).

If you installed from herdr's plugin list with `herdr plugin install gronare/kebbie`, setup has not run yet: the board opens the setup guide the first time it starts, and `esc` skips it until the next start.

## 3. Setup

The script opens the setup guide. Its steps are on the left; `↑` `↓` choose, `space` ticks a box, `⏎` goes on, `←` goes back, `s` skips the mindin, Backlog or Error signals step and `esc` quits without writing anything.

1. **This machine.** Keep the name it offers, or type one, such as `mac`. Your phone and your other machines show it.
2. **Agents.** Each agent kebbie found has a row: its version, whether it is signed in and whether kebbie's plugin is in it. Claude Code stays ticked. Untick Codex for now, or keep it, as in [Run a task with Codex](/docs/how-to/run-a-task-with-codex.md#set-up-codex). If Claude Code reads `not signed in`, run `claude auth login`.
3. **mindin**, your notes vault. Keep **No vault**. [Connect the vault](/docs/how-to/connect-the-vault.md) later if you keep notes in one.
4. **Backlog.** Keep **Local file**: new items go to a `backlog/` folder beside kebbie's config, one file each.
5. **Error signals.** Read what a signal holds, below. **No, keep them off** is preselected; choose **Yes, turn them on** to send them.
6. **Review and apply.** Read the list of what it writes, grouped by tool: kebbie's own config, kebbie's plugin in each agent you ticked, herdr's three keys, and the `kebbie doctor` warnings setup fixes itself, such as starting the keeper. Then press `⏎`.

Each line then turns `done` or `already`, and setup ends with `Setup done` and `kebbie doctor`'s count and, under `Next steps`, what is still yours to do, such as `codex login`. Below them, **Your board on your phone** offers the hub: `h` connects now and then opens your board, any other key takes you to the lead Space with the board and the lead, and `H` on the board connects later (see [See your board on your phone](/docs/how-to/see-your-board-on-your-phone.md)). Run outside herdr, setup opens no board: `herdr` comes first under `Next steps`, and `⏎` ends setup. It linked `~/.local/bin/kebbie` to the binary, installed the Claude Code plugin from the same folder, added the keys and reloaded herdr's config so they work. When `~/.local/bin` is not on your `PATH`, its line tells you what to add to your shell profile.

| Key | What it does |
| --- | --- |
| `prefix+space` | Goes to the lead. |
| `prefix+f` | Moves between the board and the lead's chat. |
| `prefix+t` | Opens the board. |

Updating kebbie is `U` on the board.

You can run `kebbie setup` again at any time: it starts from what this machine has and changes only what you change. `kebbie setup codex` opens it at the Agents step, `kebbie setup mindin` (or `kebbie setup vault`) at the mindin step.

### Error signals

Error signals are off until you say yes. With them on, when kebbie itself crashes or hits some internal errors, it sends its maintainers an error signal, at most once a day. A signal holds only kebbie's version and commit, your OS and CPU architecture, the part of kebbie that failed, the kind of failure and a count. Each send is shown under messages on the board. Once a day it also sends an install signal, a random id made for this install with kebbie's version, your OS and the update channel, so the maintainers can count active installs. A bug report with text is shown to you and sent only on your `y`.

Step 6 writes your answer in `~/.config/kebbie/config.toml`; a yes is:

```toml
[report]
signals = true   # error signals and the install signal; text = "ask" (the default) still asks before any bug report
```

A No writes `signals = false`. `kebbie setup --yes` leaves the key unset, and nothing is sent.

[Error signals](/docs/how-to/report-a-problem-with-kebbie.md#error-signals) says exactly what one holds.

## 4. Check the machine

1. Run the doctor:

   ```bash
   kebbie doctor
   ```

2. Read what needs you first, then one line per group:

   ```text
   kebbie doctor                                    40 ok · 1 to look at

    Needs you
     ! status line  no statusLine command in Claude Code's settings, so the board shows no plan usage
                    → add to ~/.claude/settings.json: "statusLine": …

    kebbie        ✓ main @ 1a2b3c4 · built from source · keeper running · on PATH
    Claude Code   ! claude · signed in · plugin current
    Tools         ✓ git · jq · curl · nvim · tig · cargo
   ...
   ```

3. Run the `→` line under each check in **Needs you**, then run `kebbie doctor` again. You are done when nothing is marked `✗`.

## 5. Make a practice repo

kebbie pushes to a repo's remote, so the practice repo gets a remote of its own on your disk.

1. Create the repo and its remote:

   ```bash
   mkdir -p ~/code/remotes && git init --bare ~/code/remotes/hello.git
   git init ~/code/hello && cd ~/code/hello
   echo "# hello" > README.md
   git add README.md && git commit -m "Start hello"
   git branch -M main
   git remote add origin ~/code/remotes/hello.git
   git push -u origin main
   ```

## 6. Open the lead

1. In herdr, press `prefix+space`, unless setup has taken you there already.

   kebbie creates the lead Space when there is none and moves it to the top of herdr's Spaces. On the left is the board, with the Work column, the card of the selected task beside it and the status line; `2` shows the backlog. On the right is the lead, a Claude that keeps track of your tasks. The Work column is empty.

2. Press `tab` on the board. Focus moves to the lead's chat, and `prefix+f` from the chat brings it back to the board.

3. Press `h` on the board. The chat hides, the board takes the whole width, and the lead keeps running. `h` again, or `tab`, brings the chat back.

## 7. Start a task

1. Open a shell in herdr and start a task from the practice repo:

   ```bash
   cd ~/code/hello
   kebbie start greet "Add a script hello.sh that prints Hello from kebbie, make it executable, and commit it."
   ```

   kebbie prints where the task went. Claude Code has not seen this folder before, so it first asks whether you trust it:

   ```text
   ! Started
     next: Once you answer, kebbie types the task's prompt in while the keeper or an open board runs.
     you: Answer greet's question in its Space: whether you trust the repo's folder.
     task: greet
     folder: /Users/you/code/wt1.hello
   ```

2. Go to the `greet` Space in herdr's sidebar and answer that you trust the folder. kebbie then types the task's prompt into Claude.

3. Look at what happened:

   - A new folder `~/code/wt1.hello` sits next to `~/code/hello`. It is a git worktree on a new branch `greet`.
   - herdr opened a Space labelled `greet`, and Claude is running in it.
   - `~/code/hello` is untouched: `git -C ~/code/hello status` is clean.

If the folder is one you already trust, the first line is `✓ Started` and Claude gets the prompt at once.

## 8. Watch it work

1. Press `prefix+space` to go back to the lead Space.

   The board lists `greet` under **Working**. Claude first makes its worktree runnable with the setup skill, then writes the script and commits it.

2. When Claude ends its turn, select the row with `↑` `↓`. The row opens with the task's report.

   At the end of a turn the task reports where it stands. The row moves to another group, and a `you:` line under it says what you should do next.

3. Wait for `greet` to move under **Ready to push**.

   When the task reports ready, kebbie checks that each commit has a subject, a blank line and a body. A read-only reviewer then checks the commits against the rules skill in the background, and the task's panel says `checking project rules` until it passes them. You can push before the check is done too.

## 9. Push it

1. With `greet` selected, press `p`.

   The push window opens. At the top is the task's sign-off card: what you can do now, where to look, and what was decided on the way. Below it are the commits that will land. `↑` `↓` show each commit's full message.

2. Press `y`.

   kebbie fetches, rebases the task onto `origin/main`, pushes the commits to `main`, closes the `greet` Space and gives `wt1.hello` back to the pool. The board's Work column is empty again.

3. Check the remote:

   ```bash
   git -C ~/code/remotes/hello.git log --oneline main
   ```

   You see Claude's commit on top of `Start hello`. There was no pull request and no extra branch on the remote: the task's commit landed on `main` as it was.

## What you did

You installed kebbie's three parts, opened the board and the lead, ran one task in its own worktree and Space, and pushed it to the default branch after reading its card and commits.

Next:

- Start your next task by telling the lead what you want done, in its chat.
- [Set up a repo's worktree setup](/docs/how-to/set-up-worktrees.md) for a real project.
- Read [How kebbie fits together](/docs/explanation/architecture.md).
- Look up every key on the board in [the board reference](/docs/reference/board.md).
