task-classifier

Analyzes task descriptions and classifies them into categories for agent selection

14 stars

Best use case

task-classifier is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Analyzes task descriptions and classifies them into categories for agent selection

Teams using task-classifier should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/classifier/SKILL.md --create-dirs "https://raw.githubusercontent.com/masharratt/claude-flow-novice/main/.claude/skills/cfn-task-intelligence/lib/classifier/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/classifier/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How task-classifier Compares

Feature / Agenttask-classifierStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Analyzes task descriptions and classifies them into categories for agent selection

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Task Classifier Skill

Analyzes task descriptions using keyword matching to suggest appropriate agent specializations.

## Usage

```bash
./.claude/skills/task-classifier/classify-task.sh "Task description"
```

## Classification Categories

| Category | Keywords | Use Case |
|----------|----------|----------|
| **frontend** | ui, ux, react, component, css, styling, layout, responsive, interface | UI/UX development |
| **backend** | api, endpoint, server, database, rest, graphql, service, authentication | Server-side development |
| **devops** | docker, kubernetes, ci/cd, deployment, infrastructure, container, pipeline | Infrastructure work |
| **testing** | test, qa, validation, coverage, integration, unit, e2e | Quality assurance |
| **security** | security, auth, encryption, vulnerability, audit, penetration | Security work |
| **data** | database, sql, migration, schema, data, model, entity | Data modeling |
| **performance** | performance, optimization, speed, cache, memory, cpu | Performance tuning |
| **general** | (default) | General development |

## Output Format

Comma-separated list of classifications:

```bash
$ classify-task.sh "Create a React dashboard with API integration"
frontend,backend,testing
```

## Integration with Agent Selector

This skill is typically used with `cfn-agent-selector` to determine which agents to spawn:

```bash
CLASSIFICATION=$(classify-task.sh "$TASK_DESCRIPTION")
AGENTS=$(select-agents.sh --classification "$CLASSIFICATION" --mode standard)
```

## Examples

```bash
# Frontend task
$ classify-task.sh "Build responsive navigation component"
frontend

# Full-stack task
$ classify-task.sh "Create REST API with React admin panel"
frontend,backend

# DevOps task
$ classify-task.sh "Setup CI/CD pipeline with Docker"
devops

# Security audit
$ classify-task.sh "Perform security audit and fix vulnerabilities"
security
```

## Implementation Details

- Uses `grep -E` for case-insensitive pattern matching
- Returns multiple classifications if multiple keywords match
- Falls back to "general" if no specific keywords detected
- Stateless execution (no persistent state)
- Exit code 0 on success, 1 on error

## Used By

- `cfn-v3-coordinator` - For automatic agent selection
- `cfn-agent-selector` - As input for agent mapping
- CFN Loop orchestration - For task-specific agent spawning

Related Skills

cfn-task-planning

14
from masharratt/claude-flow-novice

Classify tasks, initialize structured configs with scope boundaries, decompose complex tasks

Task Complexity Estimator

14
from masharratt/claude-flow-novice

**Version:** 1.0.0

cfn-task-intelligence

14
from masharratt/claude-flow-novice

Classify tasks (type/domain), estimate complexity/iterations, recommend specialists from feedback themes

supabase-schema-sync

14
from masharratt/claude-flow-novice

Introspects Supabase DB after migrations and updates project db-query skill with current schema. Run after any migration to keep agent context accurate.

commit

14
from masharratt/claude-flow-novice

Stage, commit, and push changes using a background github-commit-agent. Accepts optional args for message override or push control.

cfn-vote-implement

14
from masharratt/claude-flow-novice

MUST BE USED after cfn-dry-review or cfn-alpha-launch:manifest produces a manifest. Also the verification phase of /cfn-loop-task. Do not manually implement code review suggestions - always route through this skill. 3-agent specialized voting. Unanimous (3/3) auto-implemented with TDD. 2/3 routed to product-owner agent. 1/3 surfaced to user via AskUserQuestion (batched 4 per call, at end).

cfn-utilities

14
from masharratt/claude-flow-novice

Reusable bash utility functions for CFN Loop - logging, error handling, retry, file operations. Use when you need structured logging, atomic file operations, retry logic with exponential backoff, or standardized error handling in bash scripts.

CFN Test Runner Skill

14
from masharratt/claude-flow-novice

**Version:** 1.0.0

cfn-test-framework

14
from masharratt/claude-flow-novice

Test execution, running, and webapp testing for CFN

Specialist Injection Skill

14
from masharratt/claude-flow-novice

## Purpose

!/bin/bash

14
from masharratt/claude-flow-novice

# cfn-task-intelligence.sh

Sprint Planner Skill

14
from masharratt/claude-flow-novice

## Purpose