agent-contracts-routing-tuning
Tune routing with TriggerCondition priorities, LLM hints, context_builder, and traceable decisions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Tune routing with TriggerCondition priorities, LLM hints, context_builder, and traceable decisions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Build a production-minded AI agent using agent-contracts (contracts, slices, validation, graph, runtime, CLI tooling).
Build an API-oriented agent using AgentRuntime/StreamingRuntime with predictable request/response slices and session support.
Make contract-driven agents safe to change with strict validation, architecture docs, and contract diffs in CI.
Build question/answer style agents using InteractiveNode, explicit routing, and workflow slices.
Implement tool-using or retrieval-style nodes with services, dependency injection, and safe LLM context building.
基于 SOC 职业分类
| name | agent-contracts-routing-tuning |
| description | Tune routing with TriggerCondition priorities, LLM hints, context_builder, and traceable decisions. |
| metadata | {"short-description":"Routing design and debugging"} |
Use this skill when you are designing or debugging routing behavior (rule matches vs LLM selection).
TriggerCondition (when / when_not, priority)llm_hint)response.response_type)llm_hint only where ambiguity remains after rules.context_builder only when needed; keep default minimal slices.decide_with_trace() and inspect matched rules.response.response_type terminal values as part of routing design.docs/core_concepts.md (Traceable Routing / Context Builder)examples/02_routing_explain.pydocs/skills/official/agent-contracts-routing-tuning/references/debug_playbook.md