Help us improve
Share bugs, ideas, or general feedback.
From claudecode-research-harness-workflow
Manages Claude Code sessions: lists active sessions, checks inbox, and broadcasts messages. Invoked via /session for session management tasks.
npx claudepluginhub maxwell2732/claudecode-research-harness-workflow --plugin claudecode-research-harness-workflowHow this skill is triggered — by the user, by Claude, or both
Slash command
/claudecode-research-harness-workflow:session [list|inbox|broadcast "message"][list|inbox|broadcast "message"]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Consolidates all session-related functionality into one skill.
Unified session management for Claude Code: list active sessions, check inbox, and broadcast messages across sessions. Explicit /session invocation only.
Manages Claude Code sessions using /rename, /resume, and CLI commands for naming, checkpointing, and resuming workflows in debugging, feature development, PR reviews, and investigations.
Sends and receives direct messages between active Claude Code sessions on the same machine. Use for coordinating parallel sessions via dm, broadcast, active checks, and project-scoped messaging.
Share bugs, ideas, or general feedback.
Consolidates all session-related functionality into one skill.
/session # Show available options
/session list # Show active sessions
/session inbox # Check incoming messages
/session broadcast "message" # Send message to all sessions
/session list - List Active SessionsShows all active Claude Code sessions in the current project.
📋 Active Sessions
| Session ID | Status | Last Activity |
|------------|--------|---------------|
| abc123 | active | 2 min ago |
| def456 | idle | 15 min ago |
/session inbox - Check InboxChecks for incoming messages from other sessions.
📬 Session Inbox
| From | Time | Message |
|------|------|---------|
| abc123 | 5m ago | "Ready for review" |
| def456 | 10m ago | "API implementation done" |
/session broadcast "message" - Broadcast MessageSends a message to all active sessions.
/session broadcast "Review complete, ready for merge"
| Feature | Description | Reference |
|---|---|---|
| Initialization | Start new session, load context | See ../session-init/SKILL.md |
| Memory | Persist learnings across sessions | See ../session-memory/SKILL.md |
| State Control | Resume/fork session based on flags | See references/session-control.md |
| Communication | Cross-session messaging | See ../session-state/SKILL.md |
From Claude Code 2.1.49 onward, memory usage when resuming sessions has been reduced by 68%.
| Workload | Recommended Strategy |
|---|---|
| Normal implementation | Resume with --resume every 1–2 hours |
| Large-scale refactoring | Split by feature unit → use --resume per session |
| Parallel tasks | Run in parallel with /work all; use --resume for long sessions |
| On memory warning | Immediately resume with --resume (faster than before) |
Running /rename without arguments automatically generates a session name from the conversation context.
Makes session identification easier in workflows that involve long sessions or frequent --resume.
# Implementation phase 1
claude "Implement authentication"
# → 1 hour later
# Resume session (memory-efficient)
claude --resume "Add password reset feature"
# → 1 hour later
# Resume again
claude --resume "Add tests"
| Recommendation | Reason |
|---|---|
| Actively resume sessions | 68% memory reduction makes resuming cheap |
| Resume periodically | Organizes context and maintains focus |
| Split by feature unit | Break large tasks into smaller resumable chunks |
| Leverage Plans.md | Smooth handoff on resume |
Memory efficiency has greatly improved — actively leverage session resumption.
In Codex 0.123.0, stale proxy env is less likely to be restored from the shell snapshot, and Unicode / dead-key input in VS Code WSL terminal and keyboard input have been fixed in the main binary. The harness does not add a proxy snapshot scrubber or key input wrapper — it inherits the main binary fixes automatically.
/harness-init)/work --resume, /work --fork)/session broadcast)/harness-init
↓
├── Load project context
├── Initialize session.json
├── Load previous session memory (if exists)
└── Display session status
/work --resume
↓
├── Check session.json exists
├── Load session state
└── Continue from last checkpoint
/work --fork
↓
├── Create new session branch
├── Copy relevant context
└── Start fresh with context
Session end
↓
├── Extract learnings (gotchas, patterns)
├── Update .claude/memory/*.md
└── Prepare handoff summary
/session broadcast "message"
↓
├── Find active sessions
├── Write to session.events.jsonl
└── Notify all sessions
| File | Purpose |
|---|---|
.claude/state/session.json | Current session state |
.claude/state/session.events.jsonl | Event log for cross-session communication |
.claude/memory/*.md | Persistent memory files |
This skill consolidates:
session-init → Session initializationsession-memory → Memory persistencesession-control → Resume/fork controlsession-state → State management & communicationThe individual skills are deprecated but still work for backward compatibility.