dkyazzentwatwa/supernavigator/nav-init

Claude Code and agent skill by dkyazzentwatwa/supernavigator

Trust tier 3
  • community
  • ext:[{"type":"template","description":"Custom templates for code generation"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Initialize SuperNavigator (OS + App layers) documentation structure in a project. Auto-invokes when user says "Initialize SuperNavigator", "Initialize Navigator", "Set up SuperNavigator", etc.

Install

npx vskill@latest install dkyazzentwatwa/supernavigator/nav-init

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

SuperNavigator Initialization Skill

Purpose

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).

When This Skill Auto-Invokes

  • "Initialize SuperNavigator in this project"
  • "Set up SuperNavigator"
  • "Initialize Navigator in this project" (legacy, still works)
  • "Create .agent folder for SuperNavigator"
  • "Bootstrap SuperNavigator for my project"

SuperNavigator Layered Architecture

This skill initializes both layers:

  • OS Layer (Navigator): Context management, Theory of Mind, session persistence
  • App Layer (Superpowers): TDD workflows, code review, systematic debugging

Both layers communicate via shared .agent/ data store with implicit integration.

What This Skill Does

  1. Checks if already initialized: Prevents overwriting existing structure
  2. Creates `.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 ``

  1. Creates `.claude/` directory with hooks:

`` .claude/ └── settings.json # Token monitoring hook configuration ``

  1. Copies templates: DEVELOPMENT-README.md, config, Grafana setup
  2. Auto-detects project info: Name, tech stack (from package.json if available)
  3. Updates CLAUDE.md: Adds Navigator-specific instructions to project
  4. Creates .gitignore entries: Excludes temporary Navigator files

Execution Steps

1. Check if Already Initialized
bash
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
2. Detect Project Information

Read package.json, pyproject.toml, go.mod, Cargo.toml, or similar to extract:

  • Project name
  • Tech stack
  • Dependencies

Fallback: Use current directory name if no config found.

3. Create Directory Structure

Use Write tool to create:

.agent/
.agent/tasks/
.agent/system/
.agent/sops/integrations/
.agent/sops/debugging/
.agent/sops/development/
.agent/sops/deployment/
.agent/grafana/
4. Copy Templates

Copy from plugin's templates/ directory to .agent/:

DEVELOPMENT-README.md:

  • Replace ${PROJECT_NAME} with detected project name
  • Replace ${TECH_STACK} with detected stack
  • Replace ${DATE} with current date

`.nav-config.json` (SuperNavigator enhanced):

json
{
"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:

bash
# 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:

  • docker-compose.yml (Grafana + Prometheus stack)
  • prometheus.yml (scrape config for Claude Code metrics)
  • grafana-datasource.yml (Prometheus datasource config)
  • grafana-dashboards.yml (dashboard provider config)
  • navigator-dashboard.json (10-panel Navigator metrics dashboard)
  • README.md (setup instructions)
5. Update Project CLAUDE.md

If CLAUDE.md exists:

  • Append Navigator-specific sections
  • Keep existing project customizations

If CLAUDE.md doesn't exist:

  • Copy templates/CLAUDE.md to project root
  • Customize with project info
6. Setup Token Monitoring Hook

Create .claude/settings.json for token budget monitoring:

bash
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:

  • Monitors context usage after each tool call
  • Warns at 70% usage, critical alert at 85%
  • Suggests /nav:compact when approaching limits
7. Create .gitignore Entries

Add to .gitignore if not present:

# Navigator context markers
.context-markers/
# Navigator temporary files
.agent/.nav-temp/
8. Success Message
✅ 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)

Error Handling

If `.agent/` exists:

  • Don't overwrite
  • Show message: "Already initialized"

If templates not found:

  • Error: "Navigator plugin templates missing. Reinstall plugin."

If no write permissions:

  • Error: "Cannot create .agent/ directory. Check permissions."

Predefined Functions

project_detector.py
python
def 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.py
python
def 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.
"""

Examples

Example 1: New Next.js Project

User says: "Initialize Navigator in this project"

Skill detects:

  • package.json exists
  • Name: "my-saas-app"
  • Dependencies: next, typescript, prisma

Result:

  • .agent/ created
  • DEVELOPMENT-README.md shows: "Project: My SaaS App"
  • DEVELOPMENT-README.md shows: "Tech Stack: Next.js, TypeScript, Prisma"
  • .nav-config.json has project_name: "my-saas-app"
Example 2: Python Project

User says: "Set up Navigator"

Skill detects:

  • pyproject.toml exists
  • Name: "ml-pipeline"
  • Dependencies: fastapi, pydantic, sqlalchemy

Result:

  • .agent/ created
  • Tech stack: "FastAPI, Pydantic, SQLAlchemy"
Example 3: Already Initialized

User says: "Initialize Navigator"

Skill checks:

  • .agent/ directory exists

Result:

✅ Navigator already initialized in this project
To start a session: 'Start my Navigator session'

Integration with Other Skills

nav-start skill:

  • Checks for .agent/DEVELOPMENT-README.md
  • If missing, suggests: "Initialize Navigator first"

nav-task skill:

  • Creates tasks in .agent/tasks/
  • Requires initialization

nav-sop skill:

  • Creates SOPs in .agent/sops/
  • Requires initialization

Version History

  • 1.0.0 (2025-01-20): Initial implementation
  • Auto-detection of project info
  • Template customization
  • Grafana setup included
  • Error handling for existing installations

Notes

  • This skill replaces the deleted /nav:init command from v2.x
  • Templates are copied from plugin installation directory
  • Project info detection is best-effort (falls back to directory name)
  • Safe to run multiple times (won't overwrite existing structure)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
31
Repository forks
2
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 May 2026, 6 months ago.

Extension points

  • templateCustom templates for code generation

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dkyazzentwatwa/supernavigator/nav-init/badge)](https://verified-skill.com/skills/dkyazzentwatwa/supernavigator/nav-init)

Something wrong with this skill or its page? Tell us.