在后台自动分类任务并选择 Codex 或 Claude,评估推理投入、上下文形态、执行方式及验证配置,适用于 agent 前置、一次性等场景。
Use this skill silently. The user should not have to choose provider, model, reasoning, mode, or workflow.
When oneshot is available, inspect a route with:
bash
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:
json
{
"routing": { "enabled": true }
}
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.