From harness
Use this skill when the user runs /session, asks to list active sessions, check inbox messages, broadcast to other sessions, or manage Claude Code session state. Also use for session lifecycle operations. Do NOT load for: application user sessions, login/auth state, or authentication features. Unified session management โ initialization, cross-session memory, state tracking, inbox, and broadcasting.
npx claudepluginhub tim-hub/powerball-harness --plugin harnessThis skill is limited to using the following tools:
Consolidates all session-related functionality into one skill.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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 |
Since Claude Code 2.1.49, memory usage on session resume has been reduced by 68%.
| Workload | Recommended Strategy |
|---|---|
| Normal implementation | Resume with --resume every 1-2 hours |
| Large-scale refactoring | Split sessions by feature unit, use --resume for each |
| Parallel tasks | Run in parallel with /work all, use --resume midway for long sessions |
| Memory warning | Resume immediately with --resume (faster than before) |
Running /rename without arguments auto-generates a session name from the conversation context.
This makes it easier to identify sessions in long-running or --resume-heavy workflows.
# Implementation phase 1
claude "Implement authentication feature"
# -> 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 | Low resume cost with 68% memory reduction |
| Resume periodically | Keeps context organized and maintains focus |
| Split by feature unit | Break large tasks into smaller chunks for resuming |
| Use Plans.md | Smooth handoff when resuming |
๐ก Memory efficiency has been significantly improved, so actively take advantage of session resumption.
/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.