/restart-all
Restart all agents in the fleet. Use with caution!
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/restart-all
Context preview
What this command does when you run it.
Restart all agents in the fleet. Use with caution!
Command definition
restart-all.mdRestart All Agents
Restart all agents in the fleet. Use with caution!
Instructions
1. **Confirm the action** - This is a significant operation
2. **Get all agents** using `mcp__trinity__list_agents`
3. **Filter to running agents** (no point restarting stopped ones)
4. **Exclude trinity-system** (yourself - never restart yourself)
5. **For each agent**:
- Stop the agent
- Wait 2 seconds
- Start the agent
- Record success/failure
6. **Report results**:
## Fleet Restart Report
Generated: {timestamp}
### Summary
- Agents Restarted: X
- Successful: X
- Failed: X
- Skipped (stopped): X
### Results
| Agent | Previous | Stop | Start | Final |
|-------|----------|------|-------|-------|
| ... | running | OK | OK | running |
| ... | running | OK | FAIL | stopped |
### Failures
{Details of any failures}
### Notes
- Trinity-system was skipped (cannot restart self)
- {Any other notes}Warning
This operation will:
- Interrupt any active chat sessions
- Briefly make agents unavailable
- NOT reset context (context persists across restarts)
Only use this for:
- Platform maintenance
- After configuration changes
- When multiple agents are stuck
Self-hosted AI Agents Platform supporting Claude Code, Codex, Gemini agents. Apache 2.0.
Repo: Abilityai/trinity
Other commands on trinity.
- /ask
Answer a strategic question using accumulated research
Open command - /briefing
Generate daily briefing from research findings
Open command - /opportunities
List and rank all identified opportunities
Open command - /request-research
Ask the researcher to investigate a specific topic
Open command - /research
Run a research cycle on trending topics
Open command - /status
Report on recent research activity and findings count
Open command

