Skip to content
Automation
Command

/restart-all

Restart all agents in the fleet. Use with caution!

From plugin
trinity
77527 skills27 commands

Command definition

restart-all.md

Restart 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
@abilityai
Ships withtrinity

Self-hosted AI Agents Platform for AI Native companies. Claude Code, Codex, Gemini, OpenCode agents. Apache 2.0.

Stars on GitHub

Momentum

stars in total
775
Star history of Abilityai/trinity on GitHub, a chart by star-history.com

Other commands on trinity.

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n2w209k
@n8n-io@n8n-ioInstall Command
setup

setup

Command

One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…

aris2w18k
@wanshuiyin@wanshuiyinInstall Command
agent
Auto-invoked

agent

Command

name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

@galaxy-dawn@galaxy-dawnInstall Command