nav-stats — community nav-stats, navigator, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Efficiency Analysis Agents needing real-time session statistics and token savings metrics. Display session efficiency report showing token savings, cache performance, and optimization recommendations. Use when user asks show my stats, how efficient am I?, show session metrics, or wants to s

alekspetrov alekspetrov
[0]
[0]
Updated: 3/12/2026

Agent Capability Analysis

The nav-stats skill by alekspetrov is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Efficiency Analysis Agents needing real-time session statistics and token savings metrics.

Core Value

Empowers agents to provide quantifiable efficiency reporting with baseline comparisons, utilizing real-time metrics such as token savings and session performance, making Navigator's value shareable through comprehensive reports.

Capabilities Granted for nav-stats

Generating real-time efficiency reports for Navigator sessions
Comparing baseline metrics to evaluate session performance
Calculating token savings for optimized resource allocation

! Prerequisites & Limits

  • Requires invocation through specific user queries
  • Limited to Navigator session statistics and efficiency metrics
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox
SKILL.md
Readonly

Navigator Session Statistics Skill

Show real-time efficiency reporting with baseline comparisons, making Navigator's value quantifiable and shareable.

When to Invoke

Invoke this skill when the user:

  • Says "show my stats", "show session stats", "show metrics"
  • Asks "how efficient am I?", "how much did I save?"
  • Says "show my Navigator report", "efficiency report"
  • Wants to see token savings or session performance
  • Says "show impact", "prove Navigator works"

DO NOT invoke if:

  • User just started session (< 5 messages)
  • Navigator not initialized in project
  • User asking about specific metrics only (answer directly)

Execution Steps

Step 1: Check Navigator Initialized

Verify Navigator is set up:

bash
1if [ ! -f ".agent/DEVELOPMENT-README.md" ]; then 2 echo "❌ Navigator not initialized in this project" 3 echo "Run 'Initialize Navigator' first" 4 exit 1 5fi

Step 2: Run Enhanced Session Stats

Execute the enhanced session statistics script:

bash
1# Check if enhanced script exists 2if [ ! -f "scripts/session-stats.sh" ]; then 3 echo "❌ Session stats script not found" 4 echo "This feature requires Navigator v3.5.0+" 5 exit 1 6fi 7 8# Run stats script 9bash scripts/session-stats.sh

This script outputs shell-parseable variables:

  • BASELINE_TOKENS - Total size of all .agent/ docs
  • LOADED_TOKENS - Actually loaded in session (estimated)
  • TOKENS_SAVED - Difference
  • SAVINGS_PERCENT - Percentage saved
  • EFFICIENCY_SCORE - 0-100 score
  • CACHE_EFFICIENCY - From OpenTelemetry
  • CONTEXT_USAGE_PERCENT - Estimated context fill
  • TIME_SAVED_MINUTES - Estimated time saved

Step 3: Calculate Efficiency Score

Use predefined function to calculate score:

bash
1# Extract metrics from session-stats.sh 2source <(bash scripts/session-stats.sh) 3 4# Calculate efficiency score using predefined function 5EFFICIENCY_SCORE=$(python3 skills/nav-stats/functions/efficiency_scorer.py \ 6 --tokens-saved-percent ${SAVINGS_PERCENT} \ 7 --cache-efficiency ${CACHE_EFFICIENCY} \ 8 --context-usage ${CONTEXT_USAGE_PERCENT})

Step 4: Format and Display Report

Use predefined function to format visual report:

bash
1# Generate formatted report 2python3 skills/nav-stats/functions/report_formatter.py \ 3 --baseline ${BASELINE_TOKENS} \ 4 --loaded ${LOADED_TOKENS} \ 5 --saved ${TOKENS_SAVED} \ 6 --savings-percent ${SAVINGS_PERCENT} \ 7 --cache-efficiency ${CACHE_EFFICIENCY} \ 8 --context-usage ${CONTEXT_USAGE_PERCENT} \ 9 --efficiency-score ${EFFICIENCY_SCORE} \ 10 --time-saved ${TIME_SAVED_MINUTES}

Output Format:

╔══════════════════════════════════════════════════════╗
║          NAVIGATOR EFFICIENCY REPORT                 ║
╚══════════════════════════════════════════════════════╝

📊 TOKEN USAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Documentation loaded:        12,000 tokens
Baseline (all docs):        150,000 tokens
Tokens saved:               138,000 tokens (92% ↓)

💾 CACHE PERFORMANCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cache efficiency:              100.0% (perfect)

📈 SESSION METRICS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Context usage:                      35% (excellent)
Efficiency score:                94/100 (excellent)

⏱️  TIME SAVED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Estimated time saved:          ~42 minutes

💡 WHAT THIS MEANS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Navigator loaded 92% fewer tokens than loading all docs.
Your context window is 65% available for actual work.

🎯 RECOMMENDATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Excellent efficiency - keep using lazy-loading strategy
✅ Context usage healthy - plenty of room for work

Share your efficiency: Take a screenshot! #ContextEfficiency

Step 5: Add Context-Specific Recommendations

Based on efficiency score, provide actionable advice:

If efficiency_score < 70:

⚠️  RECOMMENDATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️  Token savings below target (70%+)
→ Check: Are you loading more docs than needed?
→ Tip: Use navigator to find docs, don't load all upfront

Read more: .agent/philosophy/CONTEXT-EFFICIENCY.md

If context_usage > 80%:

⚠️  RECOMMENDATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️  Context usage high (80%+)
→ Consider: Create context marker and compact
→ Tip: Compact after completing sub-tasks

Read more: .agent/philosophy/ANTI-PATTERNS.md

If cache_efficiency < 80%:

⚠️  RECOMMENDATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️  Cache efficiency low (<80%)
→ Check: CLAUDE.md properly configured?
→ Tip: Ensure prompt caching enabled

Read more: .agent/philosophy/PATTERNS.md (Caching pattern)

Predefined Functions

efficiency_scorer.py

Calculate Navigator efficiency score (0-100) based on:

  • Token savings (40 points)
  • Cache efficiency (30 points)
  • Context usage (30 points)

Usage:

bash
1python3 skills/nav-stats/functions/efficiency_scorer.py \ 2 --tokens-saved-percent 92 \ 3 --cache-efficiency 100 \ 4 --context-usage 35

Output: 94 (integer score)

report_formatter.py

Format efficiency metrics into visual, shareable report.

Usage:

bash
1python3 skills/nav-stats/functions/report_formatter.py \ 2 --baseline 150000 \ 3 --loaded 12000 \ 4 --saved 138000 \ 5 --savings-percent 92 \ 6 --cache-efficiency 100 \ 7 --context-usage 35 \ 8 --efficiency-score 94 \ 9 --time-saved 42

Output: Formatted ASCII report (see Step 4)

Philosophy Integration

Context Engineering Principle: Measurement validates optimization

From .agent/philosophy/PATTERNS.md:

"Measure to validate. Navigator tracks real metrics, not estimates."

This skill proves:

  • Token savings are real (baseline comparison)
  • Cache efficiency works (OpenTelemetry data)
  • Context usage is healthy (window not overloaded)
  • Time saved is quantifiable (6s per 1k tokens)

User Experience

User says: "Show my stats"

Skill displays:

  1. Visual efficiency report
  2. Clear metrics (tokens, cache, context)
  3. Interpretation ("What this means")
  4. Actionable recommendations

User can:

  • Screenshot and share (#ContextEfficiency)
  • Understand Navigator's impact
  • Optimize workflow based on recommendations
  • Validate context engineering principles

Example Output Scenarios

Scenario 1: Excellent Efficiency (Score 94)

User following lazy-loading pattern, cache working perfectly:

  • 92% token savings ✅
  • 100% cache efficiency ✅
  • 35% context usage ✅
  • Score: 94/100

Recommendation: Keep it up! Share your efficiency.

Scenario 2: Fair Efficiency (Score 72)

User loading too many docs upfront:

  • 65% token savings ⚠️
  • 95% cache efficiency ✅
  • 55% context usage ✅
  • Score: 72/100

Recommendation: Review lazy-loading strategy. Load docs on-demand.

Scenario 3: Poor Efficiency (Score 48)

User not using Navigator patterns:

  • 45% token savings ❌
  • 70% cache efficiency ⚠️
  • 85% context usage ❌
  • Score: 48/100

Recommendation: Read philosophy docs. Consider /nav:compact. Review CLAUDE.md.

Success Metrics

After using this skill, users should:

  • Understand their efficiency score
  • See quantified token savings
  • Know what to improve (if anything)
  • Feel motivated to share results

Long-term impact:

  • Users screenshot reports and share
  • "Navigator saved me 138k tokens" becomes common
  • Efficiency becomes visible, not abstract
  • Continuous improvement through measurement

This skill makes Navigator's value tangible and shareable.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is nav-stats?

Perfect for Efficiency Analysis Agents needing real-time session statistics and token savings metrics. Display session efficiency report showing token savings, cache performance, and optimization recommendations. Use when user asks show my stats, how efficient am I?, show session metrics, or wants to s

How do I install nav-stats?

Run the command: npx killer-skills add alekspetrov/navigator/nav-stats. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for nav-stats?

Key use cases include: Generating real-time efficiency reports for Navigator sessions, Comparing baseline metrics to evaluate session performance, Calculating token savings for optimized resource allocation.

Which IDEs are compatible with nav-stats?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for nav-stats?

Requires invocation through specific user queries. Limited to Navigator session statistics and efficiency metrics.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add alekspetrov/navigator/nav-stats. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use nav-stats immediately in the current project.

Related Skills

Looking for an alternative to nav-stats or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer