Set up and first run

What egon needs, how /egon:setup sets up a repository and a machine, and how the first run goes.

egon runs attended: on your own Mac, in your own checkout, while you work. You start a run, egon works through the FRs in ready/, and it reaches you over a channel when it needs an answer or an approval.

What you need

Install the plugin

Each project pins egon to a release tag, so every clone runs the same version. The repository of egon is its own plugin marketplace, named egon.

1. Pin the release

Add the marketplace and the plugin to the project's .claude/settings.json. If the file exists already, add the two keys to it:

.claude/settings.json
{
  "enabledPlugins": {
    "egon@egon": true
  },
  "extraKnownMarketplaces": {
    "egon": {
      "source": {
        "source": "github",
        "repo": "bmoers/egon",
        "ref": "v0.1.2"
      }
    }
  }
}

The current release is v0.1.2.

Commit the file through a pull request. It is agent configuration, so give .claude/ to a code owner (/egon:setup proposes the CODEOWNERS lines).

2. Trust the folder

Open Claude Code in the repository and accept the trust dialog. Claude Code reads the marketplace from the project settings only in a folder you trust.

3. Install it in each clone

Enabling the plugin in the project settings does not install it, and claude plugin install alone does not know a marketplace that only the project settings declare. Everyone who works in the repository runs these two commands once, in its root:

Terminal, in the repository
claude plugin marketplace add bmoers/egon@v0.1.2 --scope project
claude plugin install egon@egon --scope project

The first command writes the same declaration into .claude/settings.json again and may re-sort its keys; do not commit a change that only re-sorts them. Then run /reload-plugins in Claude Code, or start a new session. /egon:setup is now available.

A new release

Raise ref in .claude/settings.json through a pull request. Then run these two commands in each clone, with the new tag:

Terminal, in the repository
claude plugin marketplace add bmoers/egon@<new tag> --scope project
claude plugin update egon@egon --scope project

claude plugin marketplace update egon is not enough: it fetches the tag the machine registered first, not the raised one. marketplace add with the new tag points the registration at it, and plugin update installs it. Claude Code installs only a changed version from .claude-plugin/plugin.json, so every tag of egon carries a new version. egon doctor reports an error while the running version does not match the pinned tag.

Never in the user scope

A plugin enabled in your user settings overrides every pin. egon doctor reports it as an error.

Run /egon:setup

In Claude Code, in the repository:

Claude Code
> /egon:setup

The skill runs egon doctor, goes through its findings one by one, says what each fix is for and shows the exact command or change. It acts only after you said yes to exactly that fix.

Some steps need a login or a hidden prompt, so you run them in a terminal of your own:

Terminal
gh auth login
claude setup-token
security add-generic-password -U -a "$USER" -s egon-claude-token -w

Paste the token at the prompt of the last command, then set claude_token_created in .claude/egon.local.md to today's date. egon doctor warns 14 days before the token expires.

What setup never does

It never types, shows or reads back a token or key, never logs in for you, never pushes, approves or merges, never changes branch protection, and never enables a plugin in the user scope.

Check with egon doctor

egon doctor checks the machine and the repository and says how to fix each finding. It only checks; it changes nothing. It reads terminal-notifier's permission from terminal-notifier -diagnose, which only reads, and names the commands that get it (lsregister, tccutil). Run it until it reports no error. Two more checks are worth it once:

The first run

  1. Write an FR and move it to docs/features/ready/ through a pull request. Moving a file to ready/ is the handover to egon. See Write a feature request.

  2. Calibrate first. For the first FRs of a project, set merge: manual in the profile: egon stops before the merge and you merge yourself.

  3. Start the run in a terminal of your own. In Claude Code, /egon:run shows the exact command with the path of the plugin's version:

    Terminal
    <plugin root>/bin/egon run
    

    The run opens its local page in the browser when channels.local is set, asks there and notifies on your Mac. A notifier that fails does not stop the run: with notify: auto, a failing terminal-notifier hands over to osascript for the rest of the run, and a notifier that still fails is reported once in the terminal. See Channels.

The run works FR by FR. It ends when nothing can be taken, when an approval is needed, when the queue halts or when an FR fails. While it runs, /egon:status in Claude Code shows where it stands. Stopping it with Ctrl-C is safe: the next run picks up where it was.

Do not start the run inside Claude Code

A run can take hours, starts its own sessions and waits for answers. It belongs in its own process.