Interactive Mode
The hara REPL — slash commands, attaching files, steering a running task, and managing context.
Run hara with no arguments to open the REPL: a bottom-pinned input box, streaming output, and
colored diffs. (HARA_TUI=0 falls back to a classic readline prompt.)
Steering & attaching
- Type while it works. A message sent mid-turn course-corrects the running task — it's folded into the same turn, not queued for later.
@pathattaches a file's contents inline (Tab completes;@dir/lists a directory).
Slash commands
Type / to see them. The essentials:
| Command | Does |
|---|---|
| /model [id] | show or switch the model |
| /approval [mode] | cycle or set approval (suggest · auto-edit · full-auto) |
| /tools · /usage · /context | list tools · token usage · what's filling the window |
| /org <task> · /plan <task> | dispatch to a role · plan & execute as atoms |
| /roles · /skills · /skill <id> | list roles · list skills · load a skill into your next message |
| /diff [staged] · /review · /commit | working-tree diff · review for bugs/security · AI commit |
| /undo | revert the last file change(s) this session |
| /rewind [n] | fork the conversation back to an earlier turn (files unchanged) |
| /checkpoint [restore n] | list / restore a file-state snapshot |
| /compact | summarize the conversation to free up context |
| /recall <query> | pull snippets from your code-asset library into context |
| /sessions · /name <name> | list saved sessions · rename this one |
| /vision <model> | set a describer model so a text-only model can read images |
| /init · /doctor | regenerate AGENTS.md · check setup |
| /reset · /exit | clear context · leave |
See Memory & Sessions for how /rewind, /checkpoint, and
/compact relate to hara's persistence model.