fix: rename init to setup to avoid built-in /init conflict

This commit is contained in:
2026-03-27 10:01:50 -04:00
parent 2a78915dcf
commit 9508ad20b6
3 changed files with 3 additions and 3 deletions

35
skills/setup/SKILL.md Normal file
View File

@@ -0,0 +1,35 @@
---
name: setup
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:stories
> ```
**That's it. Do not do anything else. Do not read specs. Do not plan. Do not write code.**