360 Secure SkillHub
360 安全技能中心

Skill Auto-Router

在非平凡任务开始前,用本地 Python 脚本按任务描述对已安装技能排序并给出匹配理由,只推荐前 1-3 个;每日运行统计发现的技能数量、重复或重叠的触发语以及描述过弱问题,并可接入 AGENTS 预任务清单与 HEARTBEAT 每日检查。

chchchadzilla
chchchadzilla
热度 49.19
最近更新 2026-05-11 17:40:36
分类:自动化依赖:代码执行 / 读写文件应用场景:工作流 / 自动化脚本 / 推荐 / 报告撰写

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add skill-auto-router
Metadata
name
skill-auto-router
description
Automatically discover and route relevant installed skills for the current task, plus run a daily skill audit. Use when you want pre-task skill matching across installed skills, heartbeat-based daily relevance checks, or help wiring "auto-skill selection" into AGENTS/HEARTBEAT workflows.

Skill Auto Router

Run a lightweight preflight before non-trivial work so the agent loads the right skills instead of guessing.

Quick Start

1) Pre-task routing (before work starts)

python scripts/skill_router.py --task "<user task text>"

This returns ranked skill candidates with match reasons.

2) Daily audit (once per day)

python scripts/skill_router.py --daily

This reports:

  • discovered skill count
  • duplicate/overlapping trigger language
  • weak or vague descriptions that reduce trigger quality

Recommended Integration

To make this behavior automatic, wire it into your workspace steering:

  1. In AGENTS.md pre-task checklist: run pre-task routing for non-trivial tasks.
  2. In HEARTBEAT.md: run --daily once per day and log result.

Use references/setup-checklist.md for copy/paste snippets.

Operating Rules

  • Prefer top 1-3 matching skills only (avoid loading everything).
  • If no good match is found, continue without skill load.
  • If multiple matches tie, choose the most specific skill description.
  • Never claim a skill was loaded unless it actually was.

scripts/

  • scripts/skill_router.py — deterministic local matcher + daily audit

references/

  • references/setup-checklist.md — integration snippets for AGENTS/HEARTBEAT