dkyazzentwatwa/supernavigator/nav-compact
Claude Code and agent skill by dkyazzentwatwa/supernavigator
- community
Checking that the SKILL.md file is still in the repository.
Clear conversation context while preserving knowledge via context marker. Use when user says "clear context", "start fresh", "done with this task", or when approaching token limits.
Install
npx vskill@latest install dkyazzentwatwa/supernavigator/nav-compactSKILL.md
Navigator Compact Skill
Clear your conversation context while preserving all knowledge in a context marker. Like git commit before switching branches - save your state, then start fresh.
When to Invoke
Invoke this skill when the user:
- Says "clear context", "start fresh", "reset conversation"
- Says "I'm done with this task", "moving to next feature"
- Mentions "approaching token limit", "context getting full"
- Says "compact", "clean up context"
- After completing isolated sub-task
DO NOT invoke if:
- User is in middle of implementation
- Context is needed for next immediate step
- Less than 20 messages in conversation (not much to gain)
Execution Steps
Step 1: Check If Worth Compacting
Estimate conversation size:
- If < 20 messages: Suggest waiting
- If 20-50 messages: Safe to compact
- If > 50 messages: Highly recommended
Show message:
Step 2: Create Automatic Marker
Invoke nav-marker skill (or create marker directly) with auto-generated name:
This marker should capture:
- Last 10-15 messages summary
- Files modified
- Technical decisions
- Current progress
- Next steps
Step 3: Set Active Marker
Write the marker filename to .active file:
This tells nav-start to offer restoration on next session.
Step 4: Display Compact Instructions
Show user how to compact:
Step 5: Confirm Marker Location
Verify marker was created:
Show file size and confirm success:
Important Notes
Why manual compact?
Claude Code conversations cannot be programmatically cleared from within a conversation. The user must:
- Start a new conversation, OR
- Use
/clearcommand (if available)
This skill creates the marker and sets up auto-restoration, but the actual clearing must be done by the user.
Auto-restoration workflow:
Common Use Cases
After Completing Feature
Approaching Token Limit
Switching Between Tasks
Error Handling
Marker creation fails:
Not enough context to preserve:
Active marker already exists:
Success Criteria
Compact is successful when:
- [ ] Context marker created successfully
- [ ] Marker contains comprehensive summary
- [ ]
.activefile created (for auto-restoration) - [ ] User knows how to clear conversation
- [ ] User knows marker will auto-restore on next session
Scripts
compact.py: Automated compact workflow
- Create marker
- Set active file
- Generate restore instructions
Best Practices
When to compact:
- β After completing isolated feature/sub-task
- β After major documentation update
- β Before switching to unrelated work
- β When approaching 70%+ token usage
- β In middle of implementation
- β When context needed for next step
- β After every few messages (wasteful)
Compact frequency:
- Small task (30 min): No compact needed
- Medium task (2-3 hours): Compact after completion
- Large task (full day): Compact at logical breakpoints
- Multi-day task: Compact at end of each session
Notes
This skill automates the preparation for compacting but cannot clear the conversation itself (Claude Code limitation).
The value is in:
- Automatic marker creation
- Setting up auto-restoration
- Guiding user through process
- Preserving context seamlessly
This provides same functionality as /nav:compact command but with natural language invocation.
Security
- Security scanPassedPattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnavigator-main/skills/nav-compact/SKILL.md
Popularity
- Repository stars
- 32
- Repository forks
- 3
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 10 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dkyazzentwatwa/supernavigator/nav-compact)