nav-compact

Create context markers to preserve and restore conversation state.

196|11|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/alekspetrov/navigator --skill nav-compact
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nav-compact
Source: https://github.com/alekspetrov/navigator/tree/main/skills/nav-compact
Command: npx skills add https://github.com/alekspetrov/navigator --skill nav-compact

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When conversations grow, context balloons and costs tokens. Nav-compact saves your state by creating a context marker and marking an active state for restoration.

Core Features & Use Cases

  • Create an automatic marker before clearing context
  • Set an .active marker for auto-restore on next session
  • Guidance on how to restore and continue work

Quick Start

Say "Clear context and preserve markers" to begin the process. You will receive marker details and restoration steps.

Frequently Asked Questions about nav-compact

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

FAQPage Schema
How do I compact conversation context while preserving knowledge?

Context compaction creates a marker that saves your conversation state and knowledge before clearing context. Signal 'Clear context and preserve markers' to generate a marker with restoration instructions for your next session.

When should I use context markers to manage token usage?

Use context markers when conversations grow large, you approach token limits, or switch tasks—such as completing a feature or starting a new session. Markers preserve knowledge while reducing context overhead.

How do I restore a previous conversation session after clearing context?

After compaction, you receive marker details and restoration steps. On your next session, follow those steps to restore the active marker and continue your work with prior knowledge intact.

Can I set an active marker for automatic restoration?

Yes. Context markers include an .active state that flags which marker to restore automatically on your next session, eliminating manual lookup and restoration steps.

What happens to my work when I compact context?

Your work state and knowledge are preserved in the marker; only the active conversation context is cleared. The marker stores enough detail to resume without re-explaining prior progress.