跳到正文
cccskills
免费在 GitHub 公开

command-routing

Use when an agent runtime must choose or verify a /brain-* command route from a user request, handoff, adapter transcript, or stale command catalog.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

command-routing

Lifecycle stage: INTAKE

Trigger

Use when raw intent, a resumed handoff, or a real-runtime smoke transcript needs to be mapped to the safest Agent Brain command before skills, artifacts, or validation claims are trusted.

Use before /brain-start hands off to another command, when an adapter cannot expose native commands, or when a transcript shows the runtime skipped command selection and jumped straight to prose.

When not to use

Do not use when the active command, state, loaded skills, artifact path, and stop condition are already explicit and freshly verified. Do not use it to override a command's own input contract, output artifact, or stop conditions.

Inputs

  • User request or resumed handoff.
  • Current git/repository status and any freshness evidence.
  • Candidate lifecycle state from docs/state-machine.md.
  • commands/README.md catalog entry and matching commands/brain-*.md file.
  • Runtime command mode: markdown specs, native commands, mixed, or unknown.
  • Available skills, artifact templates, schemas, blockers, and approval constraints.

Procedure

  1. Inspect git status --short, git log --oneline -5, and any provided handoff before selecting a route.
  2. Treat /brain-* entries as markdown command specs unless the runtime has fresh proof of native command support.
  3. Choose the earliest safe lifecycle state that can produce the required artifact without guessing.
  4. Compare the catalog row to the command file: state, use-when text, skills to load, artifact, schema if present, native-command boundary, and stop condition must agree.
  5. Load only the skills named by the selected command; if a needed skill is not listed, record a routing gap instead of silently expanding the bundle.
  6. If two commands seem plausible, prefer verification for proof gaps, review for trust gaps, and start/intake for ambiguous raw intent.
  7. Record the selected command, command file, loaded skills, artifact contract, evidence checked, blockers, stop condition, and next action in the output artifact or handoff.

Anti-Rationalization

  • Do not invent a route because a slash command looks convenient.
  • Do not assume native command execution from command naming alone.
  • Do not load every skill to be safe; broad bundles hide command boundary failures.
  • Do not continue when the catalog and command file disagree about state, skills, artifact, or stop condition.

Verification

  • Confirm the chosen command appears in both commands/README.md and its commands/brain-*.md file.
  • Confirm the loaded skills exist under skills/ and match the command's Skills to load section.
  • Confirm the evidence includes the selected command, artifact template, and schema named by the command when required.
  • For repository changes, run rm -rf scripts/__pycache__ tests/__pycache__, python -m pytest -q, python scripts/validate_repo.py, git diff --check, and a targeted exact-name scrub before handoff.

Output Artifact

Intake Summary

Use templates/intake-summary.md for new raw-intent routing or templates/handoff-report.md when resuming a prior run. Include the selected command, rejected command candidates, loaded skills, artifact path, evidence checked, blockers, stop condition, and next action.

Failure Modes

Stop if the runtime cannot read the command files, the catalog and command file conflict, the requested action needs approval or secrets before routing, no command fits the request, or the next command cannot produce its required artifact with available evidence.

Example

Trigger: an approval-gated runtime receives a vague request to fix a failing release. Action: inspect repository freshness, read commands/README.md, select /brain-start if intent is still raw or /brain-verify if the blocker is proof, then load only the selected command's skills. Output artifact: templates/intake-summary.md naming selected command, rejected alternatives, loaded skills, artifact contract, blockers, and next state. Verification: confirm command catalog and command file agree before trusting the route.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when the user needs a standup-ready summary of recent project activity from local evidence.

中文简介正在准备中。当前显示原文说明。

rohitg00/agentbrain412026年5月27日 更新

Use when a command, adapter, or runtime smoke depends on proving an agent runtime's capabilities before trusting command routing, writes, shell access, or validation claims.

中文简介正在准备中。当前显示原文说明。

rohitg00/agentbrain412026年5月27日 更新

Use when agent-produced work needs a safety, evidence, and reliability check before handoff, merge, or trust.

中文简介正在准备中。当前显示原文说明。

rohitg00/agentbrain412026年5月27日 更新

Use when an output artifact, template, schema, example, or handoff field must stay aligned across commands, skills, docs, and validators.

中文简介正在准备中。当前显示原文说明。

rohitg00/agentbrain412026年5月27日 更新

Agent Brain /brain-brief: after intake, research, and grill have enough signal.

中文简介正在准备中。当前显示原文说明。

rohitg00/agentbrain412026年5月27日 更新

Agent Brain /brain-build: an implementation plan has a selected task and validation method.

中文简介正在准备中。当前显示原文说明。

rohitg00/agentbrain412026年5月27日 更新

查看 rohitg00 的全部技能

报告此技能的问题