.claude/skills/task-classifier/SKILL.md
Classifies task complexity (1-10) for model and agent routing
npx skillsauth add alfredolopez80/multi-agent-ralph-loop task-classifierInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Classifies task complexity (1-10) to route to the correct model and agent.
| Level | Description | Model | Agent | |-------|-------------|-------|-------| | 1-2 | Trivial (typos, renames, single-line fixes) | GLM-4.7 | Direct (no team) | | 3-4 | Simple (single function, known pattern) | GLM-5 | ralph-coder | | 5-6 | Moderate (multi-file, some unknowns) | Claude Sonnet | ralph-coder + ralph-tester | | 7-8 | Complex (architecture, security-sensitive) | Claude Opus | ralph-coder + ralph-reviewer + ralph-security | | 9-10 | Critical (system redesign, multi-agent coordination) | Claude Opus | Full team (6 agents) |
| Complexity | Default Model | Fallback | |-----------|---------------|----------| | 1-4 | GLM-4.7 / GLM-5 | Claude Haiku | | 5-6 | Claude Sonnet | GLM-5 | | 7-10 | Claude Opus | Claude Sonnet |
| Complexity | Required Agents | Optional | |-----------|----------------|----------| | 1-2 | None (direct execution) | - | | 3-4 | ralph-coder | ralph-tester | | 5-6 | ralph-coder + ralph-tester | ralph-reviewer | | 7-8 | ralph-coder + ralph-tester + ralph-security | ralph-frontend | | 9-10 | All 6 agents (coder, reviewer, tester, researcher, frontend, security) | - |
| Complexity | Plan Mode | Agent Teams | Aristotle | |-----------|-----------|-------------|-----------| | 1-3 | No | No | Quick | | 4-6 | Recommended | Yes | Quick | | 7-10 | Mandatory | Mandatory | Full 5-phase |
Invoke this skill to classify a task before execution:
/task-classifier "Add user authentication to the API"
The skill will output:
This skill integrates with:
/orchestrator - Uses classification for routingdevelopment
Living knowledge base management. Actions: search (query vault), save (store learning), index (update indices), compile (raw->wiki->rules graduation), init (create vault structure). Follows Karpathy pipeline: ingest->compile->query. Use when: (1) searching accumulated knowledge, (2) saving learnings, (3) compiling raw notes into wiki, (4) initializing a new vault. Triggers: /vault, 'vault search', 'knowledge base', 'save learning'.
testing
Produce a verifiable technical specification before coding. 6 mandatory sections: Interfaces, Behaviors, Invariants (from Aristotle Phase 2), File Plan, Test Plan, Exit Criteria (executable bash commands + expected results). Use when: (1) before implementing features with complexity > 4, (2) as Step 1.5 in orchestrator workflow, (3) when requirements need formalization. Triggers: /spec, 'create spec', 'write specification', 'technical spec'.
testing
Pre-launch shipping checklist orchestrating /gates, /security, /browser-test, /perf. Ensures nothing ships without passing all quality checks. Use when: (1) before deploying, (2) before merging to main, (3) before release. Triggers: /ship, 'ship it', 'ready to deploy', 'pre-launch check'.
development
Performance optimization skill. Core Web Vitals via Lighthouse, bundle size analysis, metrics tracking over time. Use when: (1) optimizing frontend performance, (2) analyzing bundle size, (3) tracking metrics regression. Triggers: /perf, 'performance audit', 'core web vitals', 'bundle size'.