/supernavigator:nav-initfrom supernavigator
Creates the SuperNavigator .agent/ documentation structure in a project, including OS Layer (Navigator context management) and App Layer (Superpowers workflows) templates, config, and Grafana monitoring setup.
Ships in supernavigator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Creates the SuperNavigator documentation structure (.agent/) in a new project, copies templates, and sets up initial configuration for both OS Layer (Navigator context management) and App Layer (Superpowers workflows).
This skill initializes both layers:
Both layers communicate via shared .agent/ data store with implicit integration.
.agent/ directory structure:
.agent/
├── DEVELOPMENT-README.md
├── .nav-config.json
├── tasks/
├── system/
├── sops/
│ ├── integrations/
│ ├── debugging/
│ ├── development/
│ └── deployment/
└── grafana/
├── docker-compose.yml
├── prometheus.yml
├── grafana-datasource.yml
├── grafana-dashboards.yml
├── navigator-dashboard.json
└── README.md
.claude/ directory with hooks:
.claude/
└── settings.json # Token monitoring hook configuration
if [ -d ".agent" ]; then
echo "✅ Navigator already initialized in this project"
echo ""
echo "To start a session: 'Start my Navigator session'"
echo "To view documentation: Read .agent/DEVELOPMENT-README.md"
exit 0
fi
Read package.json, pyproject.toml, go.mod, Cargo.toml, or similar to extract:
Fallback: Use current directory name if no config found.
Use Write tool to create:
.agent/
.agent/tasks/
.agent/system/
.agent/sops/integrations/
.agent/sops/debugging/
.agent/sops/development/
.agent/sops/deployment/
.agent/grafana/
Copy from plugin's templates/ directory to .agent/:
DEVELOPMENT-README.md:
${PROJECT_NAME} with detected project name${TECH_STACK} with detected stack${DATE} with current date.nav-config.json (SuperNavigator enhanced):
{
"version": "6.0.0",
"project_name": "${PROJECT_NAME}",
"tech_stack": "${TECH_STACK}",
"layers": {
"os_layer_enabled": true,
"app_layer_enabled": true
},
"project_management": "none",
"task_prefix": "TASK",
"team_chat": "none",
"auto_load_navigator": true,
"compact_strategy": "conservative",
"tom_features": {
"verification_checkpoints": true,
"confirmation_threshold": "high-stakes",
"profile_enabled": true,
"diagnose_enabled": true,
"belief_anchors": false
},
"loop_mode": {
"enabled": false,
"max_iterations": 5,
"stagnation_threshold": 3,
"exit_requires_explicit_signal": true,
"show_status_block": true
},
"app_layer_features": {
"tdd_enforced": true,
"git_worktrees_enabled": true,
"subagent_development": true,
"systematic_debugging": true
},
"implicit_integration": {
"auto_save_markers": true,
"auto_compact_threshold": 0.85,
"auto_update_nav_tasks": true,
"trigger_boundaries": [
"before_brainstorming",
"after_plan_complete",
"after_code_review",
"on_branch_finish"
]
}
}
Grafana Setup: Copy all Grafana dashboard files to enable metrics visualization:
# Find plugin installation directory
PLUGIN_DIR="${HOME}/.claude/plugins/marketplaces/jitd-marketplace"
# Copy Grafana files if plugin has them
if [ -d "${PLUGIN_DIR}/.agent/grafana" ]; then
cp -r "${PLUGIN_DIR}/.agent/grafana/"* .agent/grafana/
echo "✓ Grafana dashboard installed"
else
echo "⚠️ Grafana files not found in plugin"
fi
Files copied:
If CLAUDE.md exists:
If CLAUDE.md doesn't exist:
templates/CLAUDE.md to project rootCreate .claude/settings.json for token budget monitoring:
mkdir -p .claude
cat > .claude/settings.json << 'EOF'
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit|Bash|Task",
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_DIR}/hooks/monitor-tokens.py\"",
"timeout": 5
}
]
}
]
}
}
EOF
echo "✓ Token monitoring hook configured"
What this does:
/nav:compact when approaching limitsAdd to .gitignore if not present:
# Navigator context markers
.context-markers/
# Navigator temporary files
.agent/.nav-temp/
✅ SuperNavigator Initialized Successfully!
Created structure:
📁 .agent/ SuperNavigator documentation
📁 .agent/tasks/ Implementation plans (App layer writes, OS layer indexes)
📁 .agent/system/ Architecture docs
📁 .agent/sops/ Standard procedures
📁 .agent/grafana/ Metrics dashboard
📄 .agent/.nav-config.json Configuration (both layers enabled)
📁 .claude/ Claude Code hooks
📄 .claude/settings.json Token monitoring config
📄 CLAUDE.md Updated with SuperNavigator workflow
Layers initialized:
✓ OS Layer (Navigator): Context management, Theory of Mind, Loop Mode
✓ App Layer (Superpowers): TDD, code review, systematic debugging
✓ Implicit integration: Auto-markers, auto-compact, workflow boundaries
Next steps:
1. Start session: "Start my SuperNavigator session"
2. Optional: Enable metrics - see .agent/sops/integrations/opentelemetry-setup.md
3. Optional: Launch Grafana - cd .agent/grafana && docker compose up -d
Token monitoring is active - you'll be warned when approaching context limits.
Documentation: Read .agent/DEVELOPMENT-README.md
Learn more: README.md (layered architecture)
If .agent/ exists:
If templates not found:
If no write permissions:
project_detector.pydef detect_project_info(cwd: str) -> dict:
"""
Detect project name and tech stack from config files.
Checks (in order):
1. package.json (Node.js)
2. pyproject.toml (Python)
3. go.mod (Go)
4. Cargo.toml (Rust)
5. composer.json (PHP)
6. Gemfile (Ruby)
Returns:
{
"name": "project-name",
"tech_stack": "Next.js, TypeScript, Prisma",
"detected_from": "package.json"
}
"""
template_customizer.pydef customize_template(template_content: str, project_info: dict) -> str:
"""
Replace placeholders in template with project-specific values.
Placeholders:
- ${PROJECT_NAME}
- ${TECH_STACK}
- ${DATE}
- ${YEAR}
Returns customized template content.
"""
User says: "Initialize Navigator in this project"
Skill detects:
package.json existsResult:
.agent/ createdUser says: "Set up Navigator"
Skill detects:
pyproject.toml existsResult:
.agent/ createdUser says: "Initialize Navigator"
Skill checks:
.agent/ directory existsResult:
✅ Navigator already initialized in this project
To start a session: 'Start my Navigator session'
nav-start skill:
.agent/DEVELOPMENT-README.mdnav-task skill:
.agent/tasks/nav-sop skill:
.agent/sops//nav:init command from v2.xWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (dkyazzentwatwa/supernavigator) — no native marketplace selected
npx claudepluginhub p/dkyazzentwatwa-supernavigator31 skills in this plugin
/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies/executing-plansUse when you have a written implementation plan to execute in a separate session with review checkpointsOther plugins' skills for the same job