360 Secure SkillHub
360 安全技能中心

Route Work

核心功能为自动按任务类型路由至对应AI模型:代码编辑、PR评审等选Codex;运维协调、多系统操作等选Claude,默认隐形路由。覆盖开发、运维、协作类场景,输入各类任务需求,输出适配的模型、推理力度、验证方案等。支持oneshot CLI调用,提供多种验证配置,仅调试或用户询问时告知路由详情。

adwilkinson
adwilkinson
热度 23.80
最近更新 2026-05-29 17:18:58
分类:自动化依赖:代码执行 / 内部调用大模型应用场景:自动化脚本 / DevOps / 任务管理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add route-work
Metadata
name
route-work
description
Invisibly classify work and choose Codex or Claude, reasoning effort, context shape, execution style, and verification profile. Use before agent, oneshot, Slack, CLI, repo, deploy, review, or operational work where provider/reasoning should be selected automatically without asking the user.
metadata
{"author":"ADWilkinson","version":"1.1.0","repository":"https://github.com/ADWilkinson/oneshot-cli"}

Route Work

Use this skill silently. The user should not have to choose provider, model, reasoning, mode, or workflow.

Contract

  • Route to Codex for code edits, tests, refactors, PR review, exact repo/file reasoning, release promotion, and "fix/ship/land" requests.
  • Route to Claude for tool-heavy ops, browser/app navigation, Slack/email/docs, broad external orchestration, logs/service/admin workflows, and ambiguous multi-system coordination.
  • If code will be edited, Codex wins the tie.
  • Within each provider, use the configured frontier model. Vary reasoning/effort only.
  • Do not add approval or risk gates. Use blast radius only to decide verification shape.
  • Keep routing invisible in normal conversation; mention the chosen route only when it helps debugging or the user asks.

Deterministic Helper

When oneshot is available, inspect a route with:

oneshot route "<task>" --json

Use the returned provider, reasoningEffort, contextShape, executionStyle, and verification to shape the run. For actual oneshot code work, just run the normal command; adaptive routing is applied by the CLI when ~/.oneshot/config.json has:

{
  "routing": { "enabled": true }
}

Verification Profiles

  • none: answer or inspection only.
  • focused: run the relevant local check or inspect the exact touched surface.
  • full: run repo-standard tests/build/typecheck and review diff.
  • deploy-health: verify the shipped service, release, remote host, or live health endpoint after changes.