koi
Documentation / koi

Command cheatsheet

Every koi, Junji and Yokai command on one page, with the file each one reads or writes.

Install (Koi 1.0 alpha)

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/getkoi/koi/releases/download/v1.0.0-alpha.6/koi-installer.sh | sh
koi setup                 # pick agents; installs junji, the yokai helper skill, yokai
koi setup --yes           # same with defaults, no questions (CI)
koi doctor                # versions, skills per agent, PATH, yokai doctor
koi update                # newest koi + yokai, then re-sync the skills
koi board status          # the board's next action and selected phase (JSON)
koi board move            # one workflow step; --outcome "…" from sealing
yokai doctor --probe      # also check the agent login

npx skills add getkoi/koi --skill junji (or --skill yokai) installs a skill without koi setup. In Claude Code, the skills are also plugins:

/plugin marketplace add getkoi/koi
/plugin install junji@getkoi

Junji, in your agent

/junji begin                 create .koi/run/, survey the repository
/junji research <question>   cited notes in .koi/run/researches/
/junji design <task>         visual contract in .koi/run/DESIGN.md
/junji plan <change>         PLAN.md (or --html for PLAN.html) and the verification bar
/junji grill                 another round of questions on the plan
/junji refine                phases as cards in BOARD.json
/junji next                  run one phase; --subagent runs it in an isolated child
/junji brief                 chat summary of what is done; writes nothing
/junji goal --until P4       run phases one by one up to P4; --review, --allow-gated
/junji review                review the branch; --base main; findings become phases
/junji iterate <request>     add phases after all are done
/junji consolidate           write the final document, remove .koi/run/

research, design, grill, brief and goal never move nextAction.

Yokai, in your terminal

yokai setup --once        # wizard, then run at most one phase
yokai                     # run phases with saved settings
yokai --once              # run one phase
yokai --headless          # plain text output; exit 2 on a halt
yokai --allow-gated       # authorize gated phases for this launch
yokai --host              # ignore the sandbox for this launch
yokai --max-cost 5        # stop before a turn once $5 is spent
yokai doctor [--probe]    # read-only checks
yokai migrate             # convert legacy config.yml and sandbox.yml
yokai guidance sensors    # print the helper policy (also assess, sandbox)

In the cockpit: w cycles views, x stops, r resumes, p opens setup, t changes theme, q quits.

Files

File Holds
.koi/run/BOARD.json nextAction and the phase cards
.koi/run/CONTEXT.md Verification bar, locked decisions, standing overrides
.koi/run/NOTES.md Carry-forward decisions
.koi/yokai.yml Yokai settings and gate review
.koi/run/yokai.yml Yokai settings for this effort only
.koi/sensors/*.sh Reviewed checks

Full details: Yokai commands, Junji verbs, What lives in .koi/.