Context Guardian is a skill that addresses context loss in long AI-assisted development sessions. When a conversation approaches its context limit, agents begin forgetting requirements, repeating mistakes, and losing track of architectural decisions that were established earlier. Context Guardian automates the transition between sessions by creating a structured checkpoint file at the point when it is triggered.
The checkpoint captures the current task and its completion state, architectural decisions that have been made, user preferences discovered during the session, files that have been modified, approaches that have already failed, and a clear statement of what to do next. This means a new session does not need to re-derive any of that information from scratch.
The skill is designed to work across different environments. In Claude Code, starting a new session in the same directory is sufficient. In Cowork, opening a new task and issuing a continue instruction loads the checkpoint. In a standard chat interface, the generated context block can be pasted directly. The checkpoint format is consistent regardless of platform.
Context Guardian is particularly suited to multi-session refactors that stretch across days and to complex debugging investigations that accumulate significant understanding over time. It is not a database, a version control system, or a code analysis tool — it records session-level task state rather than code structure or history. No environment variables or additional configuration are listed in the available facts.