360 Secure SkillHub
360 安全技能中心

Using Agent Skills Router

该 Skill 充当轻量分发器:先把用户目标复述成一句话,再将请求归类为 tiny、implementation、review、ship 或 unclear,选取最小可用技能集(一般一个主技能加至多一个辅助技能),在动手前给出简短路由说明;若无匹配技能则按宿主默认行为继续。适用于技能、代理、工作流、生命周期命令、评审角色及技能适配等含糊场景。

分类:自动化
zack-dev-cm
zack-dev-cm
热度 19.31
最近更新 2026-05-14 11:41:48

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add zack-dev-cm/using-agent-skills-router
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
using-agent-skills-router
description
Route ambiguous agent work to the right skill, command style, and effort level. Use when a task mentions skills, agents, workflows, lifecycle commands, review personas, ClawHub packaging, Codex or Claude skill adaptation, or when many skills could trigger and Codex needs a concise selection plan before acting.

Using Agent Skills Router

Use this skill as a lightweight dispatcher. It decides which skill, workflow, or role should handle a request, then keeps the active path proportional to the task.

Routing Workflow

  1. Restate the user goal in one sentence.
  2. Classify the request:
    • tiny: answer or edit directly; avoid ceremony.
    • implementation: choose the most specific build or domain skill.
    • review: choose a review skill or a reviewer persona.
    • ship: choose a lifecycle or release skill.
    • unclear: gather repo context first, then decide.
  3. Select the smallest useful skill set. Prefer one primary skill and at most one support skill.
  4. State the route briefly before executing: Using <skill> because <reason>.
  5. If no skill matches, continue with normal Codex behavior and say no specialized skill was needed.

Skill Selection Rules

  • Prefer exact domain skills over broad lifecycle skills.
  • Prefer repository-native tools, tests, and docs over generic checklists.
  • Use a lifecycle skill only when the user wants planning, implementation, verification, review, or shipping as a process.
  • Use a high-risk review skill when the task touches security controls, credentials, data deletion, public release, money, production systems, or broad permissions.
  • Avoid stacking skills that repeat the same gate. One clear review path is better than several shallow ones.

Output Shape

For a routing-only answer, return:

Route: <skill-or-direct>
Reason: <one sentence>
Next action: <what Codex should do now>

For execution tasks, keep the routing note short and then proceed. Do not create docs or task files unless the user asks or the chosen skill requires durable artifacts.

Anti-Patterns

  • Do not turn small fixes into a full spec-plan-build-review cycle.
  • Do not load long reference files just to decide whether a skill applies.
  • Do not role-play multiple agents when the runtime cannot actually isolate their work.
  • Do not ask the user which skill to use when local context makes the choice clear.