CLI
The egon command, the skills in Claude Code, and which of them are yours to run.
This page describes egon 0.1.2.
Where the command lives
The command is bin/egon in the plugin. Claude Code puts a plugin's bin/ on the path of its Bash tool; in your own terminal you call it by its full path, which contains the plugin's version. /egon:run prints it for you, ready to copy. After the pin changes, get it again from /egon:run.
Skills in Claude Code
| Skill | Started by | What it does |
|---|---|---|
/egon:build | the core | Builds one feature request of egon, tests first. |
/egon:pick | the core | Picks the next feature request when egon core has more than one to take. |
/egon:review | the core | Reviews one built feature request of egon against the FR, without changing anything. |
/egon:run | a person | Shows how to start egon for this repository. |
/egon:setup | a person | Sets up egon for this repository and this machine, step by step with the person, after the findings of egon doctor. |
/egon:status | a person | Shows where egon stands in this repository and how to go on. |
/egon:setup, /egon:run and /egon:status are yours. pick, build and review are the sessions the core starts during a run.
Commands
The list below is the output of egon help.
| Command | What it does |
|---|---|
egon run | Work the queue: build, review, publish and merge FR by FR. |
egon status [--json] | Show lock, halt, verify on the base and every FR in progress. |
egon resume [<id>] | Lift the halt (stop condition 9), or with an ID lift Failed of that FR; people only. |
egon doctor [--json] [--live] | Check machine and repository for a run, and say how to fix what is missing. |
egon notify-test | Send a test notification and show which way notifications take. |
egon telegram link | Show who sent /start to this repository's bot, to confirm the user ID. |
egon app-key import <file> [--app-id <id>] [--delete] | Store the GitHub App's private key in the Keychain and prove it. |
egon validate [<id>|<path>] [--json] | Check FR files (and a local profile) against ADR-003. |
egon next [--json] | Show which FRs can be taken, which wait and which are refused. |
egon reserve <id> | Start an FR: reserve fr/<id> on origin, worktree, run state, setup. |
egon block <id> --condition <n> --evidence <file> [--needed <text>] | Block an FR: close its PR, release the reservation, open the blocking PR. |
egon finish <id> | After the merge: remove worktree and branches, report the owner checklist. |
egon brief <id> | brief pick | Print the brief of the FR's current session, or of pick. |
egon exec <setup|verify|pr> | Run a command of the profile in this FR worktree, with its time limit. |
egon scope <id> [--json] | List changed paths outside touches, and changes to the agent configuration. |
egon weakening <id> [--json] | Show changes to the tests commit and lines matching weakening_patterns. |
egon verify <id> [--json] | Run the core's checks on an FR branch and record the verified commit. |
egon finalize <id> | Move the verified FR to done/ with implementation notes, in one commit. |
egon merge-gate <id> [--json] | Check the FR's open PR against every condition of the merge gate. |
egon merge <id> | Merge the open PR of an FR after the gate: squash, --match-head-commit. |
Which commands are yours
- To run and watch:
egon run,egon status,egon resume. - To set up and check:
egon doctor,egon notify-test,egon telegram link,egon app-key import. - To check FRs:
egon validate,egon next.
The others are steps of a run: the core calls them itself, and the sessions call brief, exec, scope, validate and weakening. They are there to see what a step does.
Writing commands refuse inside a session
Commands that write to GitHub, the run state or the repository do not run when EGON_SESSION is set, and the deny rules of the sessions block them as well.
Exit codes
| Code | Meaning |
|---|---|
0 |
done |
1 |
refused: a check did not pass or a gate refused; nothing technical went wrong |
2 |
usage: a wrong call, or a wrong profile or FR file |
3 |
failed: a tool is missing, a call failed or a time limit hit |
Scripts and skills branch on these codes; they do not change meaning.
egon --version prints the version of the plugin.