What problem does it solve?
When a Claude Code session acting as the Crowi manager restarts (via /clear, compaction, or version updates), all persistent monitors, role identity, and working context are lost. This Skill re-establishes the manager role in one pass so orchestration of worktrees, integrations, and reviews can resume without manual reconstruction.
Core Features & Use Cases
- Role re-establishment: Runs the agmsg actas flow to register the session as manager and re-checks the inbox for planner handoffs, reviewer verdicts, and impl completion reports.
- Watcher restoration: Re-attaches the persistent orchestrate-watch.sh monitor that picks up READY_TO_INTEGRATE signals and review thresholds from worktrees.
- State reconciliation: Reads git worktree list, .feature-state task JSON files, main-write.lock, and kickoff-chain.json to report in-progress features, pending integrations, and stale locks.
- Use Case: After a context compaction wipes your monitors mid-project, invoke this Skill to restore the manager identity, re-arm both watchers, and get a one-line summary of inbox items and active worktrees before continuing.
Quick Start
Start a new session as the Crowi manager and run the crowi-role-manager skill to restore watchers, inbox, and worktree state.