What problem does it solve?
This skill provides a standardized way for agents to manage their persistent state, including right-panel todos and current task tracking, ensuring seamless session resumption and recovery from interruptions like rate limits or context compaction.
Core Features & Use Cases
- State Persistence: Saves and loads agent-specific state files for continuity.
- Todo Management: Synchronizes tasks between the agent's state and the right-panel UI.
- Rate Limit Handling: Gracefully detects and reports rate limiting, pausing execution until user input.
- Compaction Recovery: Tracks the current task to allow resumption after context window resets.
- Use Case: When an agent is building a complex feature, its progress, pending tasks, and the last action taken are saved. If the agent is interrupted by a rate limit, it can resume exactly where it left off once the limit is lifted, or a new session can pick up the work.
Quick Start
Use the session state skill to restore todos from the state file upon agent startup.