autodevlisted
Install: claude install-skill boshu2/agentops
# $autodev
`$autodev` manages the repo-local operational contract for autonomous
development. It does not replace `$evolve` or `$rpi`.
- `PROGRAM.md` or `AUTODEV.md` defines the contract: mutable scope, immutable
scope, experiment unit, validation commands, decision policy, escalation rules,
and stop conditions.
- `ao autodev` creates, inspects, and validates that contract.
- `$evolve` runs the Codex v2 autonomous improvement loop.
- `$rpi` runs one Codex research -> plan -> implement -> validate lifecycle.
In Codex, `$autodev` hands work to `$evolve` or `$rpi` as skill invocations.
Treat retired terminal CLIs as wrapper commands, not as the Codex
default handoff path.
## Codex Lifecycle Guard
When this skill runs in Codex hookless mode (`CODEX_THREAD_ID` is set or
`CODEX_INTERNAL_ORIGINATOR_OVERRIDE` is `Codex Desktop`), ensure startup context
before editing or validating the contract:
```bash
ao codex ensure-start 2>/dev/null || true
```
## Routing
Use this split when the user asks whether the old evolve flow should become a
new command or skill:
| Intent | Action |
|--------|--------|
| define or repair the repo-local autonomous policy | use `$autodev` and `ao autodev` |
| run the autonomous improvement loop | use `$evolve` |
| run one bounded lifecycle | use `$rpi` |
`PROGRAM.md` takes precedence over `AUTODEV.md`. Treat `AUTODEV.md` as the
compatibility alias.
## Execution Steps
### Step 1: Detect the contract
```bash
if [ -f PROGRAM.md ]; then
PROGRAM