| name | session-manage |
| description | Manage agent sessions — list, cleanup stale, inspect active conversations |
| tags | ["sessions","cleanup","maintenance"] |
| version | 1.0.0 |
Session Manage
Monitor and maintain agent conversation sessions.
When to use
- Sessions growing large or stale
- Need to see what agents are actively working on
- Periodic maintenance
Commands
List sessions
oc sessions --all-agents --json
oc sessions --agent relay --json
oc sessions --active 60 --json
Cleanup stale sessions
oc sessions cleanup --all-agents --dry-run
oc sessions cleanup --all-agents
oc sessions cleanup --agent relay
Rules
- Always
--dry-run first
- Check with Robert before cleaning sessions on active project channels
Intent: Efficient [I06]. Purpose: [P-TBD].