360 Secure SkillHub
360 安全技能中心

Task Router

该 Skill 提供一个 Bash 脚本 route-task.sh,接收一段任务描述文本,通过关键词与复杂度匹配,将任务归类到编码、研究、交易、内容、系统或通用对话等类别,并输出带置信度的路由决策。SKILL.md 说明可编辑 scripts/config.sh 自定义匹配规则,但该文件未包含在文件列表中。

jimmyclanker
jimmyclanker
热度 41.25
最近更新 2026-05-11 17:38:51
分类:自动化依赖:代码执行 / 读写文件应用场景:工作流 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add jimmy-task-router
Metadata
name
task-router
version
1.0.0
description
Automatically route tasks to the appropriate tool, agent, or workflow. Analyzes task intent and complexity to route to coding, research, trading, system, or content workflows.

AI Task Router

Automatically route tasks to the appropriate tool, agent, or workflow based on keywords and complexity analysis.

Usage

bash scripts/route-task.sh "write a python script to sort a list"
bash scripts/route-task.sh "what is the weather in Valencia?"
bash scripts/route-task.sh "analyze this wallet: 0x81ac..."

How It Works

  1. Analyzes task description for intent and complexity

  2. Matches against known patterns:

    • coding: code writing, refactoring, debugging
    • research: web search, data gathering, analysis
    • trading: crypto ops, wallet checks, DeFi
    • content: writing, summarization, translation
    • system: file ops, cron, monitoring
    • general: conversation, Q&A
  3. Returns routing decision with confidence score

Configuration

Edit scripts/config.sh to add custom patterns or change routing logic.

Integration

Can be used as a pre-processor for incoming tasks to route them to specialized agents or tools.