context-guardian

Create pre-compression snapshots and transition briefs for AI sessions.

27|5|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Fandry96/k3-agentic-skills --skill context-guardian-fandry96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-guardian
Source: https://github.com/Fandry96/k3-agentic-skills/tree/main/skills/context-guardian
Command: npx skills add https://github.com/Fandry96/k3-agentic-skills --skill context-guardian-fandry96

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Context Guardian guards critical data from loss during automatic session compression, ensuring no essential details are discarded.

Core Features & Use Cases

  • Real-time protection during a session: detects imminent compression and triggers guarded extraction, verification, and snapshot.
  • Structured, multi-layer preservation: creates pre-compactation snapshots, updates MEMORY and coordinates with context-agent for long-running workflows.
  • Seamless transition briefing: generates a transition brief to guide the next agent after compression.

Quick Start

Start by creating a pre-compactation snapshot using the provided tooling to capture critical context before compression.

Frequently Asked Questions about context-guardian

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent context loss during automatic session compression?

Preventing context loss during automatic session compression involves creating pre-compression snapshots, updating memory logs, and triggering a structured save workflow to ensure no essential project details are discarded.

What is a transition brief and how does it work after context compression?

A transition brief is a structured summary generated after context compression to guide the next agent. It works by passing essential preserved details and integrity checks forward to maintain workflow continuity.

How do I create a pre-compression snapshot for a long-running AI session?

Create a pre-compression snapshot by using the provided tooling to capture critical context before compression occurs. This updates memory logs and triggers a coordinated save workflow for multi-file AI sessions.

Does context management work with multi-file sessions involving complex tool usage?

Yes, context management works with multi-file sessions involving complex tool usage by detecting imminent compression and triggering guarded extraction, verification, and structured snapshots to protect critical project data.

When do I need to run an integrity check on my session memory logs?

You need to run an integrity check on session memory logs when detecting imminent automatic compression, ensuring structured preservation and verifying that no essential multi-file project details are lost.