complexity-router

Classify task complexity and route tasks to specialized agents with fresh context per phase.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/JNZader/javi-ai --skill complexity-router-jnzader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: complexity-router
Source: https://github.com/JNZader/javi-ai/tree/main/own/skills/complexity-router
Command: npx skills add https://github.com/JNZader/javi-ai --skill complexity-router-jnzader

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Classifies task complexity (Small/Medium/Large) and routes to specialized agents with fresh context per phase.

Core Features & Use Cases

  • Complexity classification across tasks with phase-based routing
  • Fresh context per phase to prevent context leakage
  • Supports features, bugs, and refactor scenarios with clear handoffs

Quick Start

Describe a new task to the router and initiate phase-based routing with fresh agent contexts.

Frequently Asked Questions about complexity-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is complexity-based task routing for agent orchestration?

Complexity-based task routing classifies tasks as Small, Medium, or Large, then directs them to specialized agents. This orchestration model uses fresh context per phase to prevent context leakage and ensure clear handoffs across execution stages.

How do I route feature requests to specialized agents with fresh context?

You route feature requests by describing the new task to the router, which assesses complexity upfront and initiates phase-based routing. The system assigns specialized agents to each phase, applying per-phase context resets to maintain clean execution boundaries.

Can I use phase-based orchestration for bug reports and refactoring scenarios?

Yes, phase-based orchestration supports bug reports and refactor scenarios alongside new features. The router evaluates the complexity of these tasks and coordinates agents across stages with clear handoffs and fresh context per phase.

What's the best way to prevent context leakage when coordinating multiple agents?

The best way to prevent context leakage is applying per-phase context resets during agent orchestration. By resetting context for each phase, agents process their assigned stage independently without interference from prior phase data.

When do I need upfront complexity assessment for task management?

You need upfront complexity assessment when handling new tasks, feature requests, or bug reports that require phased execution. Assessing task complexity as Small, Medium, or Large beforehand determines the routing rules and agent coordination strategy.

Why does my multi-agent task execution lose track of earlier phases?

Task execution loses track of earlier phases due to context limits in continuous orchestration. Implementing a phase-based model with fresh context per phase prevents this context leakage by isolating each stage's execution environment.