Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Zhuxi140/codex-agent-switch --skill cas-delegategit clone --depth 1 https://github.com/Zhuxi140/codex-agent-switchWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zhuxi140/codex-agent-switch/cas-delegate)<a href="https://agentmods.dev/skills/zhuxi140/codex-agent-switch/cas-delegate"><img src="https://agentmods.dev/badge/skills/zhuxi140/codex-agent-switch/cas-delegate/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zhuxi140/codex-agent-switch/cas-delegate"><img src="https://agentmods.dev/badge/skills/zhuxi140/codex-agent-switch/cas-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.00251 |
| Opus 5.5 | $0.00011 | $0.00100 |
| Sonnet 5.5 | $0.00006 | $0.00050 |
| Haiku 4.5 | $0.00003 | $0.00025 |
Grade A, and why
cas-delegate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
CAS 用户委派
这是用户明确要求委派时的手动入口,不替代 Primary 的保守自主委派。SUGGEST 不等于授权;CAS:OFF 或用户/项目禁委派时不分发。
- 提取一个范围明确、可独立验收的子任务。缺少会改变范围的关键信息时先问用户。读取当前 CAS 编排规则,选匹配 phase 的 Active Agent;不猜模型。
- 用
job-plan提交explicit_request=true和完整 TaskPacket。返回PRIMARY、UNAVAILABLE、BLOCK或UNCERTAIN时停止分发并说明原因;不得改写评估事实或直调job-schedule绕过门槛。 - 仅在准入后按规则使用原生子 Agent,完成 bind、结果观察与 Primary 审查。失败遵循当前 CAS 失败策略,不自行扩大任务或重试授权。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed edfe94c0968c
- 1mo ago First seen · 13 lines · 28 tokens per session scan A c0f1e7c1c974
cas-delegate is a skill published in the GitHub repository Zhuxi140/codex-agent-switch (6 stars, last pushed 28d ago), licensed MIT. It adds 28 tokens to every session and 251 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-03.
cas-delegate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cas-delegateZhuxi140/codex-agent-switch | Skill | 6 | 28d ago | MIT | A | 28 | Codex |
| sparc-methodologyruvnet/RuView | Skill | 106k | today | MIT | A | 29 | Claude Code |
| agent-framework-py-releasemicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 102 | Claude Code, Codex |
| python-feature-lifecyclemicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 43 | Claude Code, Codex |
| foundry-config-setupmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 65 | Claude Code, Codex |
| python-developmentmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 27 | Claude Code, Codex |
| using-aoUntrivial-ai/agent-orchestrator | Skill | 15k | yesterday | Apache-2.0 | A | 71 | Claude Code, Codex |