task-classification

task-classification is a skill for Claude Code from josix/agent-flow. It costs 37 tokens per session (1,861 once invoked), scanned A, original, MIT.

A method for assessing a coding task by its size, risk, affected parts, and verification needs. It helps decide which agent or workflow should handle the task.

In plain words
What is it for?
Use it to classify incoming requests, choose agents, route work, and decide when testing or review is required.
Why use it?
It prevents simple work from receiving unnecessary process while ensuring complex or risky changes get broader review and testing.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Codex.

Part of the agent-flow plugin — 11 skills, 5 commands, 6 agents, 7 hooks shipped together

Good fit Use it to classify incoming requests, choose agents, route work, and decide when testing or review is required.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/josix/agent-flow/task-classification
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add josix/agent-flow --skill task-classification
Clone the repo
git clone --depth 1 https://github.com/josix/agent-flow

Made for: Claude Code.

Or install agent-flow, the plugin that ships this one along with the rest of its 11 skills, 5 commands, 6 agents, 7 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for task-classification

README.md
[![agentmods](https://agentmods.dev/badge/skills/josix/agent-flow/task-classification/github.svg)](https://agentmods.dev/skills/josix/agent-flow/task-classification)
Your own site
<a href="https://agentmods.dev/skills/josix/agent-flow/task-classification"><img src="https://agentmods.dev/badge/skills/josix/agent-flow/task-classification/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for task-classification

Your own site · 80×15
<a href="https://agentmods.dev/skills/josix/agent-flow/task-classification"><img src="https://agentmods.dev/badge/skills/josix/agent-flow/task-classification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,861 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01861
Opus 5.5 $0.00015 $0.00744
Sonnet 5.5 $0.00007 $0.00372
Haiku 4.5 $0.00004 $0.00186

Measured 18d ago against content hash c2905caf6a2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

task-classification scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/task-classification/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 200 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed · +6 lines c2905caf6a2e
  2. 1mo ago First seen · 194 lines · 37 tokens per session scan A 4985ca880c5a

Subscribe to this mod's changes

task-classification is a skill published in the GitHub repository josix/agent-flow (7 stars, last pushed 17d ago), licensed MIT. It adds 37 tokens to every session and 1,861 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

shogun-bloom-config

An interactive wizard that creates model-routing settings from your AI subscription choices. Model routing decides which available model handles each kind of task.

yohey-w/multi-agent-shogun · 86 tokens

shogun-model-list

A reference table of AI command-line tools, their available models, subscription requirements, and maximum Bloom capability levels. Bloom's Taxonomy is a scale describing thinking tasks, from remembering information to creating new designs.

yohey-w/multi-agent-shogun · 73 tokens

shogun-model-switch

A live-switching tool for changing which command-line AI agent, model, and reasoning mode is running. It updates settings, restarts the agent, and refreshes the displayed session information.

yohey-w/multi-agent-shogun · 83 tokens

shogun-screenshot

A screenshot tool for getting images from a computer or web page and then cropping, resizing, or masking sensitive information. Playwright is a browser-automation tool used here to capture web pages.

yohey-w/multi-agent-shogun · 149 tokens

shogun-readme-sync

A skill that compares an English README with its Japanese counterpart and brings them back into alignment. A README is the project document that explains what the software is and how to use it.

yohey-w/multi-agent-shogun · 66 tokens

shogun-agent-status

A skill that shows whether the agents in a multi-agent Japanese feudal-themed team are working, waiting, missing, or assigned tasks. It combines terminal session status, task files, and unread messages.

yohey-w/multi-agent-shogun · 98 tokens