subagent-dispatch SKILL.md skillA

subagent-dispatch from magicalyuyu/agent-operating-system is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add magicalyuyu/agent-operating-system/subagent-dispatch@git:20261008.e5b1ec6

Pins git:20261008.e5b1ec6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
magicalyuyu/agent-operating-system
Path
.dsh/skills/subagent-dispatch/SKILL.md
Versions recorded
1
Latest version
git:20261008.e5b1ec6, committed Oct 8, 2026
Size
3,135 bytes
Repository stars
4
License
a license file GitHub does not identify

[治理] 决定是否/如何派发子代理时的决策表。触发条件:任务前判断自己做还是委派、用哪种委派形态。替代 v1 的 subagent-dispatch-rule 十条律。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 子代理调度决策表(v1 十条律压缩版)

## 是否委派

| 场景 | 判断 |
|---|---|
| 单文件简单修改、与用户澄清、意图不确定 | **不委派**,主会话直接做 |
| 大范围探索/审计、对抗性审查、上下文隔离型分析 | **必须委派**(上下文收益明确) |
| 其他 | 默认不委派;委派时一句话说明理由即可,无需逐条论证 |

## 用哪种形态

| 形态 | 适用 |
|---|---|
| `subagent`(spawn) | 自包含的独立任务,需完整 prompt(调研/审计/实现) |
| `subagent_fork`(fork) | 建立在本会话上下文上的后续分析/复审/红队 |
| `workflow` | 大规模 fan-out(多文件、多分片、pipeline);脚本写编排逻辑 |
| `AgentTeams` | 需要任务 DAG、质量门(requirements→…→review)、多轮协作 |
| `goal` | 单一长目标的自动续跑(不是委派,是自驱) |

## 成本路由

适用前提:你有多档可用模型且成本差异显著。批量低推理分片(枚举/统计/文本整理/识图)在主动编排(workflow/AgentTeams 指令)中指定低成本批量模型 provider;推理与决策留主模型。各平台自身的调度决策与模型选择不归本约定管。

## 质量门禁默认化

行为不变量 1(对抗审查)的默认载体:**AgentTeams review kind**——attempt_id/verdict/findings 是运行时强制(verdict=needs_revision 自动触发 repair+review 循环,勿手工重建),比提示词约定硬(Spec Kit reviewer-owned checklist 同思想)。fork 红队保留给快速轻量场景。review 只对最新实现版本裁决。

## gotchas

- 红队审查用 fork(继承上下文)优于 spawn(要重述全部背景)
- workflow 的 agent() 返回 null = 该片失败,须 filter(Boolean) 并重试
- 子代理崩溃不传染父级;被中断的代理可用 send_message 续轮
- **廉价模型负向约束不稳**(实证×2):低成本批量模型对"禁止创建清单外文件"遵守不稳(实测:瘦身任务擅自切碎片)、对含糊列项会自行发挥(实测:工具被误归档)——给低成本批量模型的任务必须:白名单式正向指令 + 产出后磁盘复核
- 廉价模型 manifest 可能虚报/漏报(扫描异常值、重复行),关键数字以主会话独立复核为准
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add magicalyuyu/agent-operating-system/subagent-dispatch@sha256:12aae7d759326b59

The line at the top of this page pins the label git:20261008.e5b1ec6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_q7etgv37bxakwy6s.svg)](https://markdownregistry.com/a/art_q7etgv37bxakwy6s)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 8, 2026.

versioncommittedcommitsizeaudit
git:20261008.e5b1ec6 latest2026-10-08 e5b1ec6 3,135 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3135 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

magicalyuyu/agent-operating-system · 4 stars · license a license file GitHub does not identify · pushed 2026-10-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_q7etgv37bxakwy6s
GET https://markdownregistry.com/api/v1/resolve?ref=magicalyuyu/agent-operating-system/subagent-dispatch
GET https://markdownregistry.com/api/v1/blob/12aae7d759326b596bff48031e650bb5e514f440ed5d76dcfba07efb303aa572

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from magicalyuyu/agent-operating-system

dual-machine SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/dual-machine/SKILL.md · [扩展] 多机协同扩展点说明。触发条件:需要在两台及以上机器间协同 AOS 工作区、或评估跨机同步/部署方案时。本 skill 不含实现,只给边界约定与文档指针。
git:20261008.e5b1ec6 · audit A · 4 stars
exa-search SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/exa-search/SKILL.md · [功能] 需要高质量外部搜索/调研时使用。触发条件:web_search 不可用或需要英文语义搜索、技术/商业调研、多源交叉验证。含 EXA REST/MCP 双路径调用法与渠道质量速查表。
git:20261008.e5b1ec6 · audit A · 4 stars
file-placement SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/file-placement/SKILL.md · [治理] 决定任何文件该放哪时使用。触发条件:创建/下载/产出任何文件前;项目内建子目录时;归类轻量会话产出时;判断是否该提醒新建项目时。包含文件类型→路径映射、项目内多级分层、轻量任务归档、新建项目触发阈值,全部规则可程序化判断。
git:20261008.e5b1ec6 · audit A · 4 stars
inspection SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/inspection/SKILL.md · [治理] 定期巡检/缓存清理/系统健康度检查时使用。触发条件:用户要求巡检、清理缓存、检查健康度;或距上次轻审超过 4 周;或距上次深审超过 12 周。社区调研后从季度制改为双频制。
git:20261008.e5b1ec6 · audit A · 4 stars
knowledge-ingest SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/knowledge-ingest/SKILL.md · [功能] 将网页/文档知识抓取入库到 09_REFERENCE 时使用。触发条件:用户提供 URL 或文件要求「入库/调研/沉淀知识」。harness 原生 web_search/read_page 已覆盖抓取,本 skill…
git:20261008.e5b1ec6 · audit A · 4 stars
project-init SKILL.md skill
magicalyuyu/agent-operating-system · .dsh/skills/project-init/SKILL.md · [治理] 在 01_PROJECTS 下新建项目时使用。触发条件:用户要求新建/导入项目。v1 六步流程的极简版。
git:20261008.e5b1ec6 · audit A · 4 stars
AGENTS.md@01_PROJECTS/_example_cli_tool AGENTS.md file
magicalyuyu/agent-operating-system · 01_PROJECTS/_example_cli_tool/AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars
AGENTS.md@01_PROJECTS/_example_game_localization AGENTS.md file
magicalyuyu/agent-operating-system · 01_PROJECTS/_example_game_localization/AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars
AGENTS.md@01_PROJECTS/_example_plugin_suite AGENTS.md file
magicalyuyu/agent-operating-system · 01_PROJECTS/_example_plugin_suite/AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars
AGENTS.md AGENTS.md file
magicalyuyu/agent-operating-system · AGENTS.md
git:20261008.e5b1ec6 · audit A · 4 stars

Every file in magicalyuyu/agent-operating-system

Browse by kind, by grade A, or by owner.