跳到正文
TakoAPI
返回技能列表

input-classification-v1

由 omprasad122007-rgb 提供

Browser & Automation
299下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Deterministic rule-based system for classifying clarified input into a single primary task category and assigning.

描述

该技能的功能

A deterministic rule-based component that classifies clarified user input into exactly one of 15 predefined task categories. It also assigns complexity and risk levels, computes a confidence score, and sets the state transition before task decomposition begins. Runs inside a multi-agent pipeline between the clarification and decomposition stages.

Deterministic tie-breaking rules with a fixed priority order eliminate the ambiguous or inconsistent routing that probabilistic classifiers produce under edge cases.

何时使用

  • Routing a 'fix this error' request to a debugging handler instead of a code generation one
  • Separating refactoring tasks from feature addition requests before planning
  • Escalating high-risk deployment requests for review before execution
  • Assigning complexity tiers to incoming requests to select the appropriate execution path
  • Distinguishing data analysis jobs from general concept analysis in an agent queue

示例工作流

输入

User asks: Debug the authentication error and update the related docs

智能体
  1. 1

    Verify input is marked as clarified and has no pending questions

  2. 2

    Count keyword matches across candidate categories: DEBUGGING (debug, error), DOCUMENTATION (update, docs)

  3. 3

    Apply primary action verb analysis: 'Debug' maps to DEBUGGING

  4. 4

    Assign primary category DEBUGGING, secondary tag [DOCUMENTATION]

  5. 5

    Compute confidence score, assess risk level, and set state transition to decomposition

输出

ClassificationResult with primary=DEBUGGING, secondary_tags=[DOCUMENTATION], complexity and risk levels assigned, ready for task decomposition

安装

clawhub install omprasad122007-rgb/input-classification-v1

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接