Skip to content
Back to skills

Omnikit Dispatch

ASecurity

派子任務、子代理或開子對話時,照 OmniKit 分派政策選管道、模型與思考程度,settle 前記一行委派紀錄。要 delegate_task、從 Claude Code 或 Codex 開 T3 對話(t3 thread),或看「分派統計」「Sonnet 試行」「本週 Claude 用量」「Codex 用量」時使用;單檔小改或純討論不觸發。Picks the model and effort for a sub-task from the OmniKit dispatch policy and logs each delegation.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
ai-agentsshellbashgit

Works with

  • claude code
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add b40609/OmniKit --skill omnikit-dispatch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omnikit Dispatch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omnikit Dispatch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/b40609-omnikit-dispatch/badge)](https://www.skillsdirectory.com/skills/b40609-omnikit-dispatch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omnikit-dispatch
description: 派子任務、子代理或開子對話時,照 OmniKit 分派政策選管道、模型與思考程度,settle 前記一行委派紀錄。要 delegate_task、從 Claude Code 或 Codex 開 T3 對話(t3 thread),或看「分派統計」「Sonnet 試行」「本週 Claude 用量」「Codex 用量」時使用;單檔小改或純討論不觸發。Picks the model and effort for a sub-task from the OmniKit dispatch policy and logs each delegation.
---

# 子任務分派與委派紀錄

常駐規則只有分派原則(`data/rules/dispatch.md`);完整政策在 repo 的 `data/rules/dispatch-policy.md`,不常駐載入。指令路徑都相對於這個 skill 的資料夾;`uv` 不在 PATH 時用 `%LOCALAPPDATA%\Programs\uv\uv.exe`。

## 派之前:跑 brief

```
uv run scripts/run.py brief --task <任務類型> [--author-class <作者類別或家族>] [--work <工作包>] [--project <專案>] [--desc "<任務說明>"] [--track]
```

每次要派都先跑它,不要每次讀整張 `show`(約 14 KB)。它套上你的實例與即時額度,只印這個任務的**主路由**(類別、模型代號、思考參數與值、推薦實例、建議管道)、最多 1 個備援、一行預填好的 `log` 樣板,輸出不超過 1,500 bytes,預設不寫任何檔。

- `--task`:docs、readonly、ui-small、code-small(中);synthesis、major-change、accounting、risk、orders、design-decision(高);hard-bug、acceptance-loop(更高);verify;architecture。
- `--author-class <被審物的作者類別>`:也收家族名 `claude`、`gemini`、`gpt`,加印異家審查選項與阻斷級審查模板(只列阻擋合併的真實缺陷,必附 `file:line`、原因與重現證明)。**跨家審查必帶 `--work <ID>`,同一 `work_id` 硬上限 3 輪**(第 4 輪硬攔截停機交使用者拍板;細節見 `references/log.md`)。無可用異家審查者就不自動跨家審,也不自己審自己;手動帳號先問使用者;單一家族印「同家降級」時回報寫明非跨家。
- `--desc "<一句任務說明>"`:含「重構/重寫/refactor/rewrite」時加印 fix commit 檢核表提示;高級別設計與難題會自動附外部證偽判準段,一律原樣寫進任務說明。
- `--track`:記 pending 並印 `brief_id`,收尾用 `log --from-brief` 帶入欄位與耗時;搭配 `--author-class` 時追蹤審查路由(無審查者則報錯)。
- 照主路由派;印了「條件」先確認成立,不成立或派不出去才用備援。brief 沒列的模型不要自己派(Fable 5.2 要個人層宣告才出現)。
- 任務說明必寫級別與思考程度(Claude `effort`、Gemini `thought_level`、GPT `reasoningEffort` 並帶 `serviceTier: default`),不靠預設值;`max`/`ultra` 僅使用者指定時用。
- 降檔閘與深化試行(個人層啟用才有):照 brief 印的臂派,同工作包帶同一個 `--work`(跨 repo 加 `--project`),log 照樣板帶 `--effort-trial`、`--trial`、`--review-findings`。不要自己改設定。
- 新開 L1+ 調研、新閘門或新規則:說明另寫「這會改變哪個可量的結果、怎麼量」(調研另寫級別與組數預算);寫不出來就不派,請使用者決定是否記進 NOW.md「定了不做」。
- 看整張表、跳過原因與額度才跑 `uv run scripts/run.py show`(讀法見 `references/accounts.md`);盲審與評測必隔離記憶注入(見 `references/channels.md`「記憶隔離」)。

## 管道與 Antigravity 收尾

- 管道照 brief 順序挑第一個成立的:`native`;`delegate_task`(T3 內)、`t3_thread_launch`(T3 外接 MCP)、`t3_cli`(無 MCP)。`agy_cli` 僅使用者偏好 headless 或 T3 未開時用,回報須寫明「這次走無頭模式,T3 看不到」。
- 不在 T3 裡也能開 T3 對話、指定實例與模型,**不要回答「這裡沒有 T3 工具,沒辦法派」**。
- 派 Antigravity 時一律用預設通用 Agent(**禁傳 4 倍扣額的自訂 `--agent`**),原樣寫入 brief 四條收尾規定,驗收看 `.done` 標記不空等 15 分鐘。
- 第一次接 T3 MCP、`t3 thread` CLI 的寫法、agy 無頭模式、回合卡住怎麼收:讀 `references/channels.md`。
- 結果一律由主控驗收(讀它改的檔、跑測試),不只看回覆。

## 收完結果、settle 之前:記一行

```
uv run scripts/run.py log --from-brief <brief_id> --verdict <pass|fail|partial|skipped>
uv run scripts/run.py log --task <類型> --class <類別> --thinking <程度> --verdict <結論> [--channel <管道> --instance <實例>]
```

- 一次委派一行。重跑與升級記在同一行:`--retries N`、`--escalations N --final-class <最後過關的類別>`;`--class` 寫一開始派的類別。
- `--from-brief`:沒顯式給的 `--task`、`--class`、`--thinking`、`--channel`、`--instance` 與 `role` 由 pending 帶入,耗時自動算,寫入後 pending 檔自動刪除;顯式改用 `--channel native` 或切換不同供應商 `--class` 時不殘留舊實例。
- 審查者(`verify`)抓到被審物的真問題:記 `--verdict pass --subject-pass no`,不要記 fail。
- 模型自己出錯:`--model-ok no --defect <缺陷類別>`。撞額度、逾時這類環境問題:`--error <種類>` 或 `--error-text <原文>`,不算模型缺陷。調研到組數預算交卷:`--verdict pass --scope-capped`(缺口寫在答案卡);其他任務跑滿呼叫端給的上限、交付不完整:`--verdict partial --scope-capped`。交付還沒驗:`--unverified`。
- 評測或探測加 `--origin eval|probe`。`--note` 只寫一句話,不寫專案細節、金鑰或 token;不確定先加 `--dry-run` 預覽。
- 全部旗標與欄位語意在 `references/log.md`。紀錄寫在本機 `~/.omnikit/dispatch/log.jsonl`,不進 repo、不上傳。

## 錯誤恢復

| 狀況 | 怎麼辦 |
|---|---|
| brief 印「這一級沒有能派的選項」 | 跑 `show` 看跳過原因;不要自己派給清單外的模型,停下回報使用者 |
| 派出去撞額度、`model_forbidden` 或要本人驗證 | 用 `log --error <種類>`(或 `--error-text`)記下,再跑一次 brief 取下一個選項;沒有下一個就停下回報 |
| `t3 (ECONNREFUSED)`,或工具清單沒有 `mcp__t3__*` | T3 在重啟或沒開,不是沒裝:改走 `t3_cli`,請使用者在對話打 `/mcp` 選 t3 按 Reconnect |
| Git Bash 找不到 `t3` | PowerShell 打 `t3`,Git Bash 打 `t3.cmd`;還是沒有就跑 `omnikit-capabilities` 清點 |
| Antigravity 對話以「sent nothing for 15 minutes」失敗 | 先看交付檔與 `.done` 標記:都在就照常驗收並結案,不在才用 send 請它接著做;不要直接重派 |
| `log --from-brief` 說找不到 pending 檔 | brief 沒加 `--track` 或這筆已經記過:改用完整的 `--task --class --thinking` 寫法 |
| 驗收不過 | 照 `show` 印的順序升級,同一行記 `--escalations` 與 `--final-class` |

## 統計、用量與帳號池

```
uv run scripts/run.py stats [--mode both|raw|clean] [--json]
uv run scripts/run.py backfill-audit [--limit 30] [--json]
uv run scripts/run.py usage [--all]
```

- `stats`:去噪模型良率(Wilson 95% 信賴區間)、基礎設施損耗率、審查抓蟲率與試行判定(含 `gpt-shadow` 與降檔閘)。照輸出回報,不要自己改規則;要退回、轉正或降檔先問使用者。
- `backfill-audit`:唯讀對帳舊紀錄,絕不改寫 `log.jsonl`。
- `usage` 顯示本週 Claude 用量。`--all` 加列其他 Claude、Codex 與 Antigravity 帳號。用量未知時不要假設已達 80%。
- 帳號哪些能自動派、模型過濾、額度來源、接手順序、新模型探測與評測:`references/accounts.md`。沒列在「可自動派」或冷卻中的帳號不要派,也不要自己填 `tos_ack`。

Files in this skill

  • SKILL.md19.3 KB
  • scripts/run.py2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.