install
source · Clone the upstream repo
git clone https://github.com/ToruAI/toru-claude-agents
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ToruAI/toru-claude-agents "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/megg-state" ~/.claude/skills/toruai-toru-claude-agents-megg-state && rm -rf "$T"
manifest:
skills/megg-state/SKILL.mdsource content
Session State Management
Capture or manage session state for cross-session handoff.
Process
Default (no argument) - Capture State
- Review what was worked on in this session
- Summarize into this format:
## Working On [One-liner: the main task/goal] ## Progress - [What's been done] - [Current status] ## Next - [Immediate next steps] ## Context [Relevant files, blockers, pending decisions - keep brief]
-
Call the
tool with the content:mcp__megg__statemcp__megg__state({ content: "<formatted content>" }) -
Confirm to user that state was saved
clear
- Clear State
clear- Call
mcp__megg__state({ status: "done" }) - Confirm state was cleared
show
- Display Current State
show- Call
with no argumentsmcp__megg__state() - Display the current state or "No active state"
Notes
- State is ephemeral - overwritten each session
- Auto-expires after 48 hours or when marked done
- Hard limit of 2k tokens to prevent bloat
- Keep content concise and actionable