Agent skill
task-classifier
Classifies task complexity (1-10) for model and agent routing
Install this agent skill to your Project
npx add-skill https://github.com/alfredolopez80/multi-agent-ralph-loop/tree/main/.claude/skills/task-classifier
SKILL.md
Task Classifier
Classifies task complexity (1-10) to route to the correct model and agent.
Complexity Scale
| 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) |
Classification Criteria
Complexity 1-2 (Trivial)
- Single file change
- Known pattern with no unknowns
- No tests needed
- No security implications
Complexity 3-4 (Simple)
- 1-2 files to modify
- Standard patterns apply
- Tests recommended but not required
- No architectural decisions
Complexity 5-6 (Moderate)
- 3+ files to modify
- Some unknown patterns
- Tests required
- Minor architectural decisions
- Frontend OR backend (not both)
Complexity 7-8 (Complex)
- 5+ files across multiple domains
- Significant unknowns
- Security-sensitive code
- Architectural decisions required
- Frontend AND backend changes
Complexity 9-10 (Critical)
- System-wide changes
- Multi-agent coordination needed
- Security architecture decisions
- Breaking changes
- Performance-critical paths
Model Routing
| 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 |
Agent Routing
| 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) | - |
Execution Mode
| Complexity | Plan Mode | Agent Teams | Aristotle |
|---|---|---|---|
| 1-3 | No | No | Quick |
| 4-6 | Recommended | Yes | Quick |
| 7-10 | Mandatory | Mandatory | Full 5-phase |
Usage
Invoke this skill to classify a task before execution:
/task-classifier "Add user authentication to the API"
The skill will output:
- Complexity level (1-10)
- Recommended model
- Required agents
- Execution mode
Integration
This skill integrates with:
/orchestrator- Uses classification for routing- Agent Teams - Spawns appropriate teammates
- Model routing - Selects correct model per complexity
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
browser-test
Browser testing using Chrome DevTools MCP and Playwright for visual verification. Start dev server, navigate, screenshot, Lighthouse audit, console errors, network check. Use when: (1) verifying frontend changes, (2) accessibility auditing, (3) performance testing, (4) visual regression. Triggers: /browser-test, 'test in browser', 'visual test', 'lighthouse audit'.
crafting-effective-readmes
Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.
stop-slop
A skill for removing AI-generated writing patterns ('slop') from prose. Eliminates telltale signs of AI writing like filler phrases, excessive hedging, overly formal language, and mechanical sentence structures. Use when: writing content that should sound human and natural, editing AI-generated drafts, cleaning up prose for publication, or any content that needs to sound authentic rather than AI-generated. Triggers: 'stop-slop', 'remove AI tells', 'clean up prose', 'make it sound human', 'edit AI writing'.
bugs
Bug hunting with Codex CLI Use when: (1) /bugs is invoked, (2) task relates to bugs functionality.
adversarial
Multi-Agent Adversarial Analysis System for code security
senior-software-engineer
Global skill enforcing senior software engineering best practices
Didn't find tool you were looking for?