@retry-now/cli
v0.2.5
Published
retry-now CLI — `retry-now init` (interactive setup UI) + `run` (the reincarnation loop driver). Works with opencode, codex, or claude code.
Readme
@retry-now/cli
The retry-now command — the terminal entry point to retry-now,
an autonomous self-improvement loop (윤회 / reincarnation) that keeps reincarnating your codebase
until the improvement is consummated (converged).
Works with opencode · Codex CLI · Claude Code.
Prerequisites
- Bun ≥ 1.1
- At least one agent CLI on
PATH:opencode,codex, orclaude git(the loop runs inside your repo; per-iteration commits are on by default)
Install
Run without installing:
bunx @retry-now/cli init # interactive setup
bunx @retry-now/cli run # run until convergenceOr install globally:
bun add -g @retry-now/cli # or: npm install -g @retry-now/cli
retry-now initCommands
| Command | What it does |
|---|---|
| retry-now init | Interactive setup; writes .retry-now/config.json + scaffolds the runtime directory |
| retry-now run | Run the loop to a terminal state |
| retry-now install <agent> | Install the /retry-now (or $retry-now) trigger for opencode | claude | codex |
| retry-now status | Show the current loop state (iteration, streak, mode) |
| retry-now reset | Reset the loop counters, keeping the config |
| retry-now version | Print the version (-v / --version) |
Options
| Flag | Effect |
|---|---|
| --cwd <path> | Target project root (default: current directory) |
| --personal | install to your home (global) instead of the project |
| --dry-run | Simulate the control flow without spawning an agent |
| --commit / --no-commit | Override commitPerIteration for this run only |
Quick start
retry-now init # detects your stack, asks for the three intent prompts + thresholds
retry-now run # reincarnate until consummatedinit auto-detects your stack (via @retry-now/detect)
to pre-fill sensible test / lint / benchmark commands. Everything is written to .retry-now/config.json.
See the main README for the loop model, the three intent prompts, and the full configuration reference.
