πŸ—œοΈ
AI EngineeringPython

Navigator Compact

by alekspetrov

Navigator Compact is an AI Engineering skill for Claude Code, published by alekspetrov in navigator.

230 stars11 forkson alekspetrov/navigatorAdded 2026/09/03Repository updated 2026/09/01
ai-assistantai-toolsanthropicclaudeclaude-codecontext-engineeringdeveloper-toolsllmpluginproductivity
Install in seconds
Install Navigator Compact
Copy Navigator Compact into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/alekspetrov/navigator/tree/main/skills/nav-compact ~/.claude/skills/nav-compact

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/alekspetrov/navigator.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/nav-compact/SKILL.md in alekspetrov/navigator
Installs to
~/.claude/skills/nav-compact
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering β€” 2793 skills

What Navigator Compact does

Navigator Compact saves the current conversation state into a context marker before you clear or restart a Claude Code session. Use it when finishing a task, switching features, or approaching token limits.

Navigator Compact is cataloged under AI Engineering on DirSkills. Navigator Compact comes from a repository tagged ai-assistant, ai-tools, anthropic, claude and claude-code.

Documentation

README

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 0: Detect PreCompact Hook (Fast Path) [v6.10.0+]

This is the opening of the README. Read the full README on GitHub.

Commands Navigator Compact provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /compact
  • /clear

Frequently asked about Navigator Compact

  • What else does alekspetrov publish alongside Navigator Compact?

    Navigator Compact is one of 25 skills that DirSkills catalogs from alekspetrov/navigator, the repository it ships in. Its siblings there include Backend API Endpoint Generator, Backend Test Generator and Database Migration Generator. Each one is a separate skill with its own page in this directory, installs the same way Navigator Compact does, and is maintained by alekspetrov in that same repository. The rest of the collection is listed on the alekspetrov/navigator page.

  • How does Navigator Compact compare to other AI Engineering skills?

    Navigator Compact ranks #2470 by stars among the 2793 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Navigator Compact against them. Open each page to compare what they document and how they install.

More from alekspetrov/navigator

Navigator Compact is one of 25 skills cataloged on DirSkills from alekspetrov/navigator.

See all 25 skills β†’
πŸ”Œ
7h ago

Backend API Endpoint Generator

Backend API Endpoint Generator creates REST or GraphQL endpoints with validation, error handling, and tests. Use it when adding a new API route or endpoint to an existing codebase.
Automation
23011
πŸ§ͺ
7h ago

Backend Test Generator

Backend Test Generator creates unit, integration, or mock-based tests for existing backend code. Use it when adding coverage for a function, service, or API that already exists.
Quality
23011
πŸ—„οΈ
7h ago

Database Migration Generator

Database Migration Generator creates database migrations for schema changes with rollback support. Use it when adding tables, columns, indexes, or renaming database objects.
DevOps
23011
🧩
7h ago

Frontend Component Generator

Frontend Component Generator creates React or Vue components with TypeScript, tests, styles, and barrel exports. Use it when you need a new component scaffold that follows the project’s existing patterns.
Frontend
23011
πŸ§ͺ
7h ago

Frontend Component Test Generator

Frontend Component Test Generator creates tests for existing UI components using React Testing Library, Vue Test Utils, and snapshots when the project already uses them. Use it when a component exists and you need added coverage for rendering, interactions, or accessibility.
Quality
23011
βš™οΈ
7h ago

Multi-Claude Installation Deprecation

Multi-Claude Installation Deprecation explains that the old multi-Claude shell scripts are deprecated and should not be installed. It points users to Claude Code workflows and the Agent tool, and can help remove stale files from older installs.
AI Engineering
23011