/restart
Restart a specific agent by stopping and starting it.
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
Context preview
What this command does when you run it.
Restart a specific agent by stopping and starting it.
Command definition
restart.mdRestart Agent
Restart a specific agent by stopping and starting it.
Usage
/ops/restart <agent-name>
Instructions
1. **Validate the agent name** - Check it exists using `mcp__trinity__get_agent`
2. **Check current status** - Is it running, stopped, or in error state?
3. **If running**:
- Stop the agent using `mcp__trinity__stop_agent`
- Wait 2-3 seconds for clean shutdown
- Verify it stopped
4. **Start the agent** using `mcp__trinity__start_agent`
5. **Verify the restart**:
- Check agent is running
- Confirm agent server is responding
6. **Report the result**:
## Agent Restart: {agent-name}
**Previous Status**: {running/stopped}
**Stop Result**: {success/failed}
**Start Result**: {success/failed}
**Final Status**: {running/stopped}
{Any notes or warnings}Safety Checks
- Do NOT restart trinity-system (yourself)
- If agent was stopped, just start it (no need to stop first)
- If restart fails, report the error clearly
- If agent has high context, note that restart will NOT reset context
Arguments
The agent name should be provided after the command. For example:
- `/ops/restart research-agent`
- `/ops/restart content-production-writer`
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

