36 lines
854 B
Markdown
36 lines
854 B
Markdown
---
|
|
name: init
|
|
description: "Run the setup script to scaffold .loop/ directory. Does not plan features or write code."
|
|
---
|
|
|
|
# /init — Scaffold the Agent Loop
|
|
|
|
Run the setup script to create `.loop/` with harness files and config. This skill does ONE thing: run a bash command.
|
|
|
|
## Instructions
|
|
|
|
1. Ask the user: **Mode?** (a) Implement (b) Explore (c) Fix — default is Implement.
|
|
|
|
2. Run the setup script:
|
|
|
|
```bash
|
|
bash ~/.claude/plugins/cache/agent-loop/agent-loop/*/setup.sh <mode>
|
|
```
|
|
|
|
If that path doesn't work, try:
|
|
|
|
```bash
|
|
bash "$(ls -d ~/.claude/plugins/cache/agent-loop/agent-loop/*/setup.sh 2>/dev/null | head -1)" <mode>
|
|
```
|
|
|
|
3. Show the script output to the user.
|
|
|
|
4. Tell the user:
|
|
|
|
> `.loop/` is ready. Next:
|
|
> ```
|
|
> /agent-loop:generate
|
|
> ```
|
|
|
|
**That's it. Do not do anything else. Do not read specs. Do not plan. Do not write code.**
|