Install
openclaw skills install input-classification-v1Deterministic rule-based system for classifying clarified input into a single primary task category and assigning execution complexity. Use when the Main Agent needs to categorize user requests before task decomposition, route tasks to appropriate handlers, assess complexity and risk levels, or determine if clarification is needed. Triggers after clarification is complete and before decomposition begins.
openclaw skills install input-classification-v1Input Classification System
Identifier: input-classification-system
1.0
This is the initial release of the Input Classification System skill.
Provide a deterministic, rule-based classification system that enables the Main Agent to categorize clarified user input into exactly one primary task category, assign execution complexity, assess risk level, and determine confidence score before any task decomposition or execution planning occurs.
Measurable Objectives:
This skill activates when ALL of the following conditions are met:
Pre-Activation Checklist:
Do NOT activate if:
The following 15 categories form the fixed classification list:
| Category | Code | Description |
|---|---|---|
| CODE_GENERATION | CG | Writing, modifying, or generating source code |
| CODE_REVIEW | CR | Reviewing, analyzing, or auditing existing code |
| DEBUGGING | DB | Identifying and fixing bugs, errors, or issues |
| DATA_ANALYSIS | DA | Analyzing, processing, or visualizing data |
| FILE_OPERATIONS | FO | Reading, writing, moving, or managing files |
| DOCUMENTATION | DC | Creating or updating documentation |
| REFACTORING | RF | Restructuring code without changing behavior |
| TESTING | TS | Writing, running, or managing tests |
| DEPLOYMENT | DP | Deploying applications or infrastructure |
| RESEARCH | RS | Investigating, searching, or gathering information |
| CONFIGURATION | CF | Setting up or modifying configurations |
| COMMUNICATION | CM | Drafting messages, emails, or communications |
| CONVERSION | CV | Transforming data or files between formats |
| ANALYSIS | AN | General analysis not covered by other categories |
| PLANNING | PL | Creating plans, strategies, or roadmaps |
Category Priority Order (for tie-breaking):
Rule: Every classified input MUST have exactly one primary category.
When input matches multiple categories, apply in order:
Step 1: Keyword Dominance
Step 2: Action Verb Analysis
Step 3: Priority Order
Step 4: Default Fallback
Input: "Debug and fix the error in the authentication code, then add logging"
Secondary tags provide additional context without affecting primary routing.
| Input | Primary | Secondary Tags |
|---|---|---|
| "Debug the API and update the docs" | DEBUGGING | [DOCUMENTATION] |
| "Refactor the auth module and add tests" | REFACTORING | [TESTING] |
| "Analyze sales data and create a report" | DATA_ANALYSIS | [DOCUMENTATION, COMMUNICATION] |
| "Fix this bug" | DEBUGGING | [] |
For detailed complexity, risk, confidence, and state transition models, see classification-models.md.
For system integration, failure conditions, logging, and examples, see system-integration.md.