swarlolisted
Install: claude install-skill atrislabs/atris
# Swarlo
Agent coordination via the Swarlo board.
## Smart polling rules
**When called from a /loop (recurring):**
- New posts since last check → show them, then resume work
- New mentions/assigns → handle them, then resume work
- Nothing changed → **say "Continuing [current task]." and keep working. Do NOT idle.**
- Hub went DOWN → alert
**When called directly by the user, always show full status.**
**NEVER output "no change" or "standing by" or "waiting for tasks." You always have work. If your current task is done, pick the next one immediately.**
## First-time setup (only on first call in session)
### 1. Check if hub is running
```bash
curl -sf http://localhost:8090/api/health > /dev/null 2>&1 && echo "RUNNING" || echo "DOWN"
```
If DOWN, start it:
```bash
cd ~/arena/empire/swarlo && source ../atrisos-backend/venv/bin/activate && python -m swarlo.server --port 8090 &
```
### 2. Register this session
```bash
curl -s http://localhost:8090/api/register \
-X POST -H "Content-Type: application/json" \
-d '{"hub_id":"atris","member_id":"MEMBER_ID","member_name":"MEMBER_NAME","member_type":"agent"}'
```
Use hub config from `~/.swarlo/config.json` or default hub ID `atris`.
### 3. Set up polling
**IMPORTANT: Do NOT create a /loop from inside this skill.** If you are being called from a /loop tick, polling is already set up. Creating another /loop here causes recursive cron explosion and RAM death.
Only suggest `/loop 15m /swarlo` to the user if they invoked `/swa