Load Navigator documentation navigator when starting development session, resuming work, or beginning new feature. Use when user mentions starting work, beginning session, resuming after break, or checking project status.
Loads Navigator documentation and checks for active context markers when starting development sessions. Automatically displays session statistics, token usage, and configured project management tasks to prepare for work.
/plugin marketplace add alekspetrov/navigator/plugin install navigator@navigator-marketplaceThis skill is limited to using the following tools:
scripts/otel_session_stats.pyLoad the Navigator documentation navigator to start your development session with optimized context.
Invoke this skill when the user:
DO NOT invoke if:
/nav:start command this conversationCheck if user is running latest Navigator version:
# Run version checker (optional - doesn't block session start)
if [ -f "scripts/check-version.sh" ]; then
bash scripts/check-version.sh
# Note: Exit code 1 means update available, but don't block session
# Exit code 0 means up to date
# Exit code 2 means cannot check (network issue)
fi
Version check behavior:
Never block session start due to version check.
Check if .agent/DEVELOPMENT-README.md exists:
if [ ! -f ".agent/DEVELOPMENT-README.md" ]; then
echo "ā Navigator not initialized in this project"
echo ""
echo "Run /nav:init to set up Navigator structure first."
exit 1
fi
If not found, inform user to run /nav:init first.
Read the navigator file:
Read(
file_path: ".agent/DEVELOPMENT-README.md"
)
This is the lightweight index (~2k tokens) that tells you:
Check if there's an active marker from previous /nav:compact:
if [ -f ".agent/.context-markers/.active" ]; then
marker_file=$(cat .agent/.context-markers/.active)
echo "š Active context marker detected!"
echo ""
echo "Marker: $marker_file"
echo ""
echo "This marker was saved during your last /nav:compact."
echo "Load it to continue where you left off?"
echo ""
echo "[Y/n]:"
fi
If user confirms (Y or Enter):
Read(file_path: ".agent/.context-markers/{marker_file}").active file: rm .agent/.context-markers/.activeIf user declines (n):
.active fileRead configuration:
Read(
file_path: ".agent/.nav-config.json"
)
Parse:
project_management: Which PM tool (linear, github, jira, none)task_prefix: Task ID format (TASK, GH, LIN, etc.)team_chat: Team notifications (slack, discord, none)If PM tool is Linear:
# Check if Linear MCP available
# Try to list assigned issues
If PM tool is GitHub:
gh issue list --assignee @me --limit 10 2>/dev/null
If PM tool is none: Skip task checking.
Run the OpenTelemetry session statistics script:
# Get the skill's base directory (passed via SKILL_BASE_DIR)
SKILL_DIR="${SKILL_BASE_DIR:-$HOME/.claude/plugins/marketplaces/jitd-marketplace/skills/nav-start}"
python3 "$SKILL_DIR/scripts/otel_session_stats.py"
This script:
Benefits of OTel integration:
Show this formatted summary:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā
ā š Navigator Session Started ā
ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š Documentation Navigator: Loaded
šÆ Project Management: [PM tool or "Manual"]
ā
Token Optimization: Active
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š DOCUMENTATION LOADED (MEASURED)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Navigator (.agent/DEVELOPMENT-README.md):
Size: [nav_bytes] bytes = [nav_tokens] tokens
CLAUDE.md (auto-loaded):
Size: [claude_bytes] bytes = [claude_tokens] tokens
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Total documentation: [total_tokens] tokens
Available for work: [available] tokens ([percent]%)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š” On-demand loading strategy:
Load task doc when needed: +3-5k tokens
Load system doc if needed: +4-6k tokens
Load SOP if helpful: +2-3k tokens
Total with all docs: ~[total + 15]k tokens
vs Traditional (all upfront): ~150k tokens
Savings: ~[150 - total - 15]k tokens
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ Navigator WORKFLOW REMINDER
1. Navigator-first loading
- ā
Loaded: .agent/DEVELOPMENT-README.md
- Next: Load ONLY relevant task/system docs
2. Use agents for research
- Multi-file searches: Use Task agent (saves 60-80% tokens)
- Code exploration: Use Explore agent
- NOT manual Read of many files
3. Task documentation
- After features: Use nav-task-manager skill
- After bugs: Use nav-sop-creator skill
4. Context management
- Run nav-compact skill after isolated sub-tasks
- Context markers save your progress
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
[MULTI-CLAUDE WORKFLOWS CHECK - v4.3.0+]
Check if multi-Claude workflows installed:
```bash
if ! command -v navigator-multi-claude.sh &> /dev/null; then
echo ""
echo "ā” Multi-Claude Workflows Available (v4.3.0+)"
echo ""
echo " Enable parallel AI execution for complex tasks."
echo " Status: Not installed"
echo ""
echo " Install: 'Install multi-Claude workflows'"
echo " Learn more: See RELEASE-NOTES-v4.3.0.md"
echo ""
echo "āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā"
fi
Only show this prompt:
Do NOT show if:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
[If tasks found from PM tool, list them here]
[If no tasks found:] No active tasks found. What would you like to work on?
## Predefined Functions
### scripts/otel_session_stats.py
**Purpose**: Display real-time session statistics via OpenTelemetry
**When to call**: After loading navigator, before presenting session summary
**Requirements**:
- CLAUDE_CODE_ENABLE_TELEMETRY=1 (optional - shows setup if disabled)
- Metrics available from current session (shows waiting message if not)
**Execution**:
```bash
SKILL_DIR="${SKILL_BASE_DIR:-$HOME/.claude/plugins/marketplaces/jitd-marketplace/skills/nav-start}"
python3 "$SKILL_DIR/scripts/otel_session_stats.py"
Output: Formatted statistics with:
Error Handling:
This skill uses:
Navigator not found:
ā Navigator not initialized
Run /nav:init to create .agent/ structure first.
PM tool configured but not working:
ā ļø [PM Tool] configured but not accessible
Check authentication or run setup guide.
Config file malformed:
ā ļø .agent/.nav-config.json is invalid JSON
Fix syntax or run /nav:init to regenerate.
Session start is successful when:
This skill provides the same functionality as /nav:start command but with:
/ syntax)If user prefers manual invocation, they can still use /nav:start command (both work in hybrid mode).
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.