Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Task Classification

ASecurity

This skill should be used when classifying tasks, routing to agents, determining complexity, or handling task routing, agent selection, verification requirements, and multi-component changes.

7 stars
0 votes
0 copies
0 views
Added 9/28/2026
ai-agentsgobashrailstestingrefactoringapidatabasesecuritydocumentation

Works with

api

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add josix/agent-flow --skill task-classification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Task Classification?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Task Classification
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/josix-task-classification/badge)](https://www.skillsdirectory.com/skills/josix-task-classification)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: task-classification
user-invocable: false
description: This skill should be used when classifying tasks, routing to agents, determining complexity, or handling task routing, agent selection, verification requirements, and multi-component changes.
---

# Task Classification

## Overview

Task classification is the foundational skill that enables intelligent routing of user requests to the appropriate agent(s) within the multi-agent orchestration system. This skill analyzes incoming tasks to determine:

- **Complexity Level**: How many files, components, or systems are affected
- **Risk Assessment**: Potential for introducing bugs, regressions, or breaking changes
- **Agent Assignment**: Which specialized agent(s) should handle the task
- **Verification Requirements**: Whether automated testing and review are needed

### When to Use This Skill

Apply task classification when:
- A new user request arrives that requires action
- The scope of work is unclear or potentially complex
- Multiple approaches could solve the same problem
- Determining if verification gates are required
- Delegating work to specialized agents

### Key Principles

1. **Err on the side of caution**: When uncertain, classify higher rather than lower
2. **Consider hidden complexity**: Database migrations, API changes, and authentication have amplified risk
3. **Account for dependencies**: Changes that affect shared code require broader verification
4. **Respect the verification mandate**: Implementation and Complex tasks always require verification

---

## Task Categories

Tasks are classified into five primary categories:

| Category | Files | Risk | Primary Agent | Verification |
|----------|-------|------|---------------|--------------|
| Trivial | 0-1 | Low | Direct | None |
| Exploratory | N/A | Low | Riko | None |
| Implementation | 2-5 | Medium | Loid | Lawliet + Alphonse |
| Complex | 5+ | High | Full orchestration | Lawliet + Alphonse (+ Codex) |
| Research | N/A | Low | Riko + WebSearch | None |

> **Inside `/orchestrate`**, the classification tier only feeds the orchestrator-chosen **Execution Profile** (fast / standard / thorough), which decides which phases actually run. Lawliet and Alphonse run under every profile; Codex co-review is optional (skipped under fast). See `commands/orchestrate.md` → Execution Profile.

### Parallel Work Eligibility

Agent Teams and `/team-orchestrate` are deprecated. Inside `/orchestrate`, parallelism is handled by **parallel background dispatch** — the orchestrator decides it itself (e.g., Phase 4 review and Phase 5 verification always run in parallel). For decomposable tasks with exclusive file ownership, the **team-decision** skill's criteria can still inform whether to split the work:
- Task independence (no shared files or dependencies)
- File ownership clarity (exclusive write access per subtask)
- Cost-benefit (time savings justify coordination overhead)

See [team-decision skill](../team-decision/SKILL.md) for detailed criteria.

### Trivial Tasks

Simple, low-risk tasks handled directly without agent delegation.

**Examples**: Answering code questions, single-line fixes, documentation comments

**Indicators**: "what", "why", "how" questions; localized changes; no logic changes

### Exploratory Tasks

Read-only investigation focused on understanding code or gathering information.

**Examples**: Finding usages, tracing data flow, understanding architecture

**Agent**: Riko (Explorer) with Grep, Glob, Read tools

### Implementation Tasks

Standard development tasks involving code changes across a moderate number of files.

**Examples**: New API endpoints, feature flags, bug fixes, refactoring functions

**Agents**: Loid (Executor) -> Lawliet (Reviewer) + Alphonse (Verifier) in parallel

### Complex Tasks

High-impact changes affecting multiple components, requiring full orchestration.

**Examples**: Major refactoring, security changes, database migrations, cross-service features

**Agents**: Riko -> Senku -> Loid -> Lawliet + Alphonse (+ Codex), review and verification in parallel

### Research Tasks

Information-gathering requiring external research or documentation lookup.

**Examples**: Best practices research, library evaluation, documentation lookup

**Agent**: Riko (Explorer) with WebSearch

---

## Agent Quick Reference

| Agent | Role | Model | Key Tools |
|-------|------|-------|-----------|
| Riko | Explorer | Sonnet | Read, Grep, Glob, Bash*, WebSearch, WebFetch |
| Senku | Planner | Opus | Read, Grep, Glob, Write (plan/report files only) |
| Loid | Executor | Sonnet | Read, Write, Edit, Grep, Glob, Bash |
| Lawliet | Reviewer | Sonnet | Read, Grep, Glob, Bash |
| Alphonse | Verifier | Sonnet | Bash, Read, Grep |
| Speedwagon | Authoring | Sonnet | Read, Grep, Glob, Write†, Edit†, Bash‡ — dispatch for /explain authoring |

* Riko's Bash access is limited to AST analysis tools only (ast-grep, tree-sitter, language parsers)

For detailed agent routing, see [references/agent-selection-matrix.md](references/agent-selection-matrix.md).

---

## Quick Classification Process

### Three-Question Decision

1. **Is this read-only?** -> Yes: Exploratory (Riko)
2. **How many files?** -> 0-1: Trivial, 2-5: Implementation, 5+: Complex
3. **High-risk domain?** -> Yes: Complex (regardless of file count)

### Override Conditions

These conditions force Complex classification:

- Security-sensitive changes (authentication, authorization, encryption)
- Database migrations or schema changes
- Changes to payment or billing systems
- Multi-service coordination required
- Breaking API changes

For detailed classification steps, see [references/classification-process.md](references/classification-process.md).

---

## Risk Amplifiers

| Domain | Risk Increase | Reason |
|--------|---------------|--------|
| Authentication | Critical | Security breach potential |
| Database schema | Critical | Data loss, migration complexity |
| API contracts | High | Breaking changes for consumers |
| Shared utilities | Medium | Wide blast radius |
| Payment/billing | Critical | Financial impact |
| Configuration | Medium | Runtime behavior changes |

---

## Verification Requirements

| Task Type | Type Check | Lint | Unit Tests | Integration | Review |
|-----------|------------|------|------------|-------------|--------|
| Trivial | - | - | - | - | - |
| Exploratory | - | - | - | - | - |
| Implementation | Required | Required | Required | Optional | Required (Lawliet) |
| Complex | Required | Required | Required | Required | Required |
| Research | - | - | - | - | - |

In the `/orchestrate` parallel flow, type check and lint are run by Lawliet (Alphonse reports them `COVERED (Lawliet)`); Alphonse runs tests and build.

---

## Keyword Indicators

| Keywords | Likely Classification |
|----------|----------------------|
| "what", "why", "how", "explain" | Trivial or Exploratory |
| "find", "search", "where", "trace" | Exploratory |
| "fix", "update", "add", "change" | Implementation |
| "refactor", "redesign", "migrate" | Complex |
| "research", "best practices", "compare" | Research |
| "all", "every", "entire", "across" | Complex (scope indicator) |

---

## Additional Resources

### Reference Files

- [references/agent-selection-matrix.md](references/agent-selection-matrix.md) - Detailed agent routing tables
- [references/classification-process.md](references/classification-process.md) - Step-by-step classification
- [references/decision-flowchart.md](references/decision-flowchart.md) - Visual decision guides
- [references/classification-best-practices.md](references/classification-best-practices.md) - Best practices and pitfalls
- [references/classification-heuristics.md](references/classification-heuristics.md) - Edge case handling
- [references/deep-dive-synthesis.md](references/deep-dive-synthesis.md) - Synthesis for /deep-dive command
- [references/research-short-circuit.md](references/research-short-circuit.md) - `/orchestrate` research/exploratory short-circuit and plan-approved continuation

### Examples

- [examples/classification-examples.md](examples/classification-examples.md) - Worked classification examples

### Related Skills

- **agent-behavior-constraints**: Model routing, tool access, and behavioral guardrails
- **verification-gates**: Verification requirements and pass criteria

Attribution

josixjosix
View sourceMore from josix →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

695601 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →