alekspetrov/navigator/nav-stats
Claude Code and agent skill by alekspetrov/navigator
- community
Checking that the SKILL.md file is still in the repository.
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 see Navigator's impact.
Install
npx vskill@latest install alekspetrov/navigator/nav-statsSKILL.md
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:
Step 2: Run Enhanced Session Stats
Execute the enhanced session statistics script:
This script outputs shell-parseable variables:
BASELINE_TOKENS- Total size of all .agent/ docsLOADED_TOKENS- Actually loaded in session (estimated)TOKENS_SAVED- DifferenceSAVINGS_PERCENT- Percentage savedEFFICIENCY_SCORE- 0-100 scoreCACHE_EFFICIENCY- From OpenTelemetryCONTEXT_USAGE_PERCENT- Estimated context fillTIME_SAVED_MINUTES- Estimated time saved
Step 3: Calculate Efficiency Score
Use predefined function to calculate score:
Step 4: Format and Display Report
Use predefined function to format visual report:
Output Format:
Step 4.4: Judge Telemetry Row (v7.7.1+)
If .agent/.nav-runtime-state.json carries a judge section with calls > 0, append one row:
Sum the per-axis axes.<axis>.<outcome> counters for the three outcome totals. "Overridden" means the judge changed a decision the keyword heuristic had made; "undecided" means the answer fell inside the noul band or below the confidence floor and the heuristic answered. Many undecided → the band is too wide for this project; many overrides on an axis that keeps being wrong → tighten it or disable. Omit the row when the section is absent or calls is 0.
Step 4.5: Tier-1 Telemetry Row (v7.0.0+)
If .agent/.nav-runtime-state.json (schema 2) carries a tier1 section, append one row to the report:
A false positive = a Tier-1 hit followed by a near-identical re-prompt (the user wanted the model after all). Rising false positives mean the exact-match table is intercepting prompts it should not — suggest disabling the offending rule via tier1.rules.<id>: false. Omit the row when the section is absent or tier1 is disabled.
Step 5: Add Context-Specific Recommendations
Based on efficiency score, provide actionable advice:
If efficiency_score < 70:
If context_usage > 80%:
If cache_efficiency < 80%:
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:
Output: 94 (integer score)
report_formatter.py
Format efficiency metrics into visual, shareable report.
Usage:
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:
- Visual efficiency report
- Clear metrics (tokens, cache, context)
- Interpretation ("What this means")
- 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.
Security
- Security scanPassed, 100 of 100Pattern 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 repositoryCheckingskills/nav-stats/SKILL.md
Popularity
- Repository stars
- 195
- Repository forks
- 10
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 7 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/alekspetrov/navigator/nav-stats)