alekspetrov/navigator/nav-workflow
Claude Code and agent skill by alekspetrov/navigator
- community
Checking that the SKILL.md file is still in the repository.
Unified workflow orchestration for substantial tasks. Auto-detects complexity, defers to matching skills, or provides phase-based execution. Solves workflow conflicts between skills, loop mode, and CLAUDE.md.
Install
npx vskill@latest install alekspetrov/navigator/nav-workflowSKILL.md
Navigator Task Mode Skill
Unified workflow orchestration that coordinates between skills, loop mode, and direct execution based on task complexity and type.
Why This Exists
Navigator had three disconnected workflow systems:
- Skills (frontend-component, etc.) - have mini-workflows (Step 1 → Step 7)
- Loop Mode - separate phase system (INIT → COMPLETE)
- CLAUDE.md - documents workflow nobody enforces
Result: Conflicts when multiple systems try to run.
Solution: Task Mode acts as a coordinator - detecting when skills should handle workflow vs when to provide standalone phase guidance.
How It Works
When to Invoke
Auto-invoke when:
- User starts substantial work (3+ steps expected)
- No obvious skill match (not "create component", "add endpoint", etc.)
- Request involves planning, refactoring, or multi-file changes
- Loop mode is disabled but structured execution needed
DO NOT invoke if:
- Trivial task (typo fix, single line change)
- Skill will clearly handle it (component creation, endpoint, migration, etc.)
- User says "quick", "just do", "simple fix"
- Already in Task Mode or Loop Mode
Configuration
Task Mode settings in .agent/.nav-config.json:
Options:
enabled: Master switch for Task Modeauto_detect: Auto-detect complexity (vs explicit invocation only)defer_to_skills: Let matching skills handle their own workflowcomplexity_threshold: Score (0-1) required to activateshow_phase_indicator: Show phase banners during execution
Execution Steps
Step 1: Analyze Request
Run complexity detection:
Complexity signals:
- Multi-file changes expected (+0.3)
- Planning language ("implement", "refactor", "add feature") (+0.2)
- Vague requirements needing research (+0.2)
- Cross-system changes (frontend+backend) (+0.3)
- Testing requirements mentioned (+0.1)
Simple task signals:
- Single file mentioned (-0.3)
- Fix/typo/update language (-0.2)
- Specific location given (-0.2)
- "Quick" or "simple" mentioned (-0.3)
Decision:
Step 2: Check Skill Match
Run skill detection:
Skill matching rules:
- "create component" → frontend-component
- "add endpoint" → backend-endpoint
- "database migration" → database-migration
- "write test" → backend-test/frontend-test
- etc.
Decision:
Step 3: Initialize Task Mode
If substantial task, no skill match:
Display activation:
Step 4: Execute Phases
RESEARCH Phase:
- Use Task agent for codebase exploration
- State the Ideal Final Result (the no-new-code version) and the reuse inventory
(what already does ≥80% of this)
- If the brief declared a Contradiction, query prior resolutions
(graph_manager.py --action contradictions --filter "<terms>") and run the nav-triz divergence step: three candidates from different separation modes, one recommended, before PLAN
- Identify affected files
- Find existing patterns
- Document unknowns
Show phase transition:
PLAN Phase:
- Create TodoWrite items
- Identify order of changes
- Document approach
IMPL Phase:
- Execute planned changes
- Follow project patterns
- Write tests as appropriate
VERIFY Phase:
- Run tests
- Type check
- Build validation
- Run nav-simplify (if enabled)
COMPLETE Phase:
- Commit changes
- Update documentation
- Close tickets (if PM configured)
- Suggest compact
Step 5: Complete Task Mode
Display completion:
Predefined Functions
functions/complexity_detector.py
Analyzes request to determine complexity score.
Usage:
Returns:
functions/skill_detector.py
Checks if a skill should handle this request.
Usage:
Returns:
functions/phase_indicator.py
Generates phase transition displays.
Usage:
Returns: Formatted phase indicator block.
Integration with Navigator
With Loop Mode
Task Mode is lighter weight than Loop Mode:
- Loop Mode: Strict iteration control, stagnation detection, EXIT_SIGNAL
- Task Mode: Phase guidance, skill coordination, no strict gates
When to use which:
- Loop Mode: "Run until done", autonomous iteration
- Task Mode: Substantial task, need structure but not strict iteration
Can coexist: Loop Mode wraps Task Mode phases if both active.
With Skills
Task Mode defers to skills by default:
- Skill has its own workflow (Steps 1-7)
- Task Mode doesn't add overhead
- Just shows "Skill X will handle this"
Override: Set defer_to_skills: false to always use Task Mode phases.
With nav-simplify
Simplification runs during VERIFY phase:
- After tests pass
- Before committing
- Respects simplification.enabled config
With Autonomous Completion
COMPLETE phase triggers autonomous protocol:
- Commit changes
- Archive documentation
- Close tickets
- Create markers
Comparison Table
| Aspect | Direct Execution | Task Mode | Loop Mode | |
|---|---|---|---|---|
| Complexity | Low | Medium-High | High | |
| Phase tracking | None | Visual phases | Strict phases | |
| Iteration control | None | None | EXIT_SIGNAL | |
| Skill coordination | None | Defers | Independent | |
| Best for | Quick fixes | Features | Autonomous work |
Examples
Example 1: Simple Fix (Direct Execution)
Example 2: Component Creation (Skill Defers)
Example 3: Refactoring (Task Mode Active)
Example 4: With Loop Mode
Error Handling
Config not found:
Skill detection fails:
- Fall back to Task Mode (conservative)
- Log warning but continue
Phase detection ambiguous:
- Default to current or next logical phase
- Show reasoning for user
Success Criteria
Task Mode succeeds when:
- [ ] Simple tasks execute without overhead
- [ ] Skills handle their matched requests
- [ ] Substantial tasks get phase structure
- [ ] No conflicts between systems
- [ ] User sees clear progress indicators
Verification Checklist
After implementation:
- [ ] "Add login component" → frontend-component runs (not Task Mode)
- [ ] "Refactor auth system" → Task Mode runs (no matching skill)
- [ ] "Fix typo" → Direct execution (not substantial)
- [ ] Phase indicators show during Task Mode
- [ ] Skills continue working unchanged
- [ ] Loop Mode can wrap Task Mode phases
This skill provides unified workflow orchestration, resolving conflicts between Navigator's multiple workflow systems.
Security
- Security scanPassed, 95 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-workflow/SKILL.md
Popularity
- Repository stars
- 192
- Repository forks
- 9
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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-workflow)