bootstraplisted
Install: claude install-skill boshu2/agentops
# $bootstrap (Codex Native)
> **Quick Ref:** Product/operations layer around the `ao quick-start` core seed. Progressive -- bare repos get the golden path first, existing repos fill gaps only.
**YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.**
## Quick Start
```
$bootstrap
```
That is it. One command. Every step below is idempotent -- existing artifacts are never overwritten.
## External Tools
- **ao** (optional) -- AgentOps CLI. Required only for optional hook activation (Step 6). Bootstrap skips hooks gracefully when missing.
- **bd** (optional, recommended) -- beads CLI. Bootstrap probes for `bd` in Step 0.5 and, when missing, points the user at `scripts/install-bd.sh` with a copy-paste command. Bootstrap never installs `bd` on the user's behalf.
## Flags
| Flag | Effect |
|------|--------|
| `--dry-run` | Report what would be created without doing anything |
| `--force` | Recreate artifacts even if they already exist |
## Execution Steps
### Step 0: Detect Repo State
```bash
git rev-parse --is-inside-work-tree >/dev/null 2>&1 || { echo "NOT_A_GIT_REPO"; exit 1; }
HAS_GOALS=$([[ -f GOALS.md ]] && echo true || echo false)
HAS_PRODUCT=$([[ -f PRODUCT.md ]] && echo true || echo false)
HAS_README=$([[ -f README.md ]] && echo true || echo false)
HAS_PROGRAM=$([[ -f PROGRAM.md || -f AUTODEV.md ]] && echo true || echo false)
HAS_AGENTS=$([[ -d .agents ]] && echo true || echo false)
HAS_HOOKS=$(grep -rq "agentops" .git/hooks/ 2>/dev/null && echo true || echo