360 Secure SkillHub
360 安全技能中心

Task Router

核心功能:分析任务意图与复杂度,匹配编码、研究、加密交易、内容创作、系统运维、通用对话6类工作流,返回带置信度的路由决策,支持自定义规则。典型场景:代码编写、信息查询、加密钱包分析等。输入为任务文本,通过脚本调用,输出路由结果,可作为预处理环节集成到任务系统对接专业工具或代理。

jimmyclanker
jimmyclanker
热度 41.16
最近更新 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.