dok3-orchestrator

dok3-orchestrator is a skill for Claude Code, Codex from LeeYudok/agents-scaffold. It costs 119 tokens per session (4,676 once invoked), scanned A, original, MIT.

A coordinator for assigning work across multiple repositories or agent runtimes. It breaks a broad request into dependent tasks, gathers their outputs and evidence, and reassigns failed work when needed.

In plain words
What is it for?
Use it to manage task dependencies, hold a single coordination lease, delegate through agent bridges, monitor results, and combine verified outputs.
Why use it?
It prevents several agents from making conflicting changes or starting tasks before their prerequisites are ready. It is intended for coordinated multi-step work, not a single delegation.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: reads ~/.codex paths; runs codex exec; mentions Codex.

Part of the yd-skills-personal plugin — 12 skills shipped together

Good fit Use it to manage task dependencies, hold a single coordination lease, delegate through agent bridges, monitor results, and combine verified outputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leeyudok/agents-scaffold/dok3-orchestrator
Install

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.

Any agent
npx skills add LeeYudok/agents-scaffold --skill dok3-orchestrator
Clone the repo
git clone --depth 1 https://github.com/LeeYudok/agents-scaffold

Made for: Claude Code, Codex.

Or install yd-skills-personal, the plugin that ships this one along with the rest of its 12 skills.

Wrote 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.

agentmods badge for dok3-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-orchestrator/github.svg)](https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-orchestrator)
Your own site
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-orchestrator"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-orchestrator/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.

agentmods 80×15 button for dok3-orchestrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-orchestrator"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-orchestrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,676 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.04676
Opus 5.5 $0.00048 $0.01870
Sonnet 5.5 $0.00024 $0.00935
Haiku 4.5 $0.00012 $0.00468

Measured today against content hash 2309cf29e284, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dok3-orchestrator 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 today.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/check_task_dag.py, tests/test_availability_contract.py, tests/test_check_task_dag.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/yd-skills-personal/skills/dok3-orchestrator/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dok3-orchestrator

역할 (Persona)

이 스킬은 dok3-orchestrator MCP 로 여러 작업을 조율하는 절차다. 도구 자체는 MCP 가 제공하므로 단발 위임에는 이 스킬이 필요 없다. 사용자의 뭉뚱그린 요청을 저장소별 작업으로 쪼개 에이전트 풀에 맡기고, 산출물과 검증 증거를 모아 통합한다. 당신은 직접 코드를 짜지 않는다 — 작업을 정의하고, 위임하고, 게이트를 확인하고, 실패를 재배정한다.

경계 (Trigger Boundaries)

  • 단일 저장소 웹 E2E 제작은 dok3-sdlc-orchestrator 가 맡는다. 그 파이프라인은 기획→구현→보안→기동을 한 저장소 안에서 순차 실행한다.
  • Orca 워커로 같은 호스트에서 병렬 실행하는 일은 orchestration 이 맡는다. 이 스킬은 A2A/ACP 브리지(다른 CLI 런타임)로 위임할 때만 나선다.
  • 단발 위임("Pi 한테 이거 시켜")은 이 스킬을 쓰지 않는다. MCP a2a_delegate_to_agent 로 맡기고 a2a_task_status 로 상태와 산출물을 확인하면 끝이다.
  • 발동 조건은 작업이 둘 이상이거나 저장소가 여럿이라 순서·의존·검증을 관리해야 할 때, 또는 "지휘권 잡고 진행해" 처럼 에이전트 풀 위임을 명시할 때다. 이때 아래 리스와 DAG 절차를 쓴다.

1. 지휘권 리스 (Coordinator Lease)

여러 에이전트가 동시에 지휘하면 서로의 작업을 덮어쓴다. 그래서 coord.json 의 단일 지휘권 리스를 먼저 잡는다. 리스와 CAS 는 같은 파일의 전용 flock 으로 처리된다.

a2a_coordinator_lease (CLI dok3-orchestrator coord) 로 조회·선점·갱신·이양한다.

  • status: 현재 리스와 vacant/active/expired/handed_off 를 본다. 리스가 없으면 vacant 다.
  • claim: expected_term 이 현재 term 과 같을 때만 term + 1 로 선점한다. 만료 전 활성 리스를 가져오려면 force 와 reason 이 함께 필요하다. 식별된 agent_id 가 없으면 거부된다.
  • renew: 현재 지휘자만 TTL(기본 60분)만큼 연장한다. 지휘 중에는 주기적으로 renew 한다.
  • dok3-handoff: 현재 지휘자가 to_agent 에게 넘긴다. to_agent 를 비우면 누구나 claim 하는 개방 이양이다.

DAG 에는 지휘권을 쥔 에이전트 한 명과 리스 term 을 적는다. 지휘자가 멈추거나 리스가 만료되면 남은 에이전트가 이슈에 예고를 남기고 term + 1 로 이어받는다. 복귀한 전임 지휘자는 최신 term 을 인정하고 일반 작업자·리뷰어로 합류한다.

2. 작업 DAG (Task DAG)

요청을 저장소별 작업으로 쪼개 JSON DAG 하나로 적는다. 형식과 검사 규칙은 scripts/check_task_dag.py 와 references/a2a-acp-contract.md 에 있다.

각 작업은 담당(owner), 리뷰어(reviewer), 저장소·브랜치·워크트리, 의존 관계(depends_on), 상태, 시도 횟수(attempts), 산출물과 검증 명령을 가진다.

DAG 최상위에는 지금 새 작업을 받을 수 있는 에이전트 목록(pool)을 둔다. 풀과 작업의 묶임·풀림 규칙은 §3 에 있다.

  • 작업 ID 는 DAG 안에서 유일해야 한다.
  • 의존 대상 작업 ID 가 모두 있어야 한다.
  • 의존 관계에 순환이 있으면 안 된다.
  • 담당(owner)과 리뷰어(reviewer)는 서로 달라야 한다. 자기 작업을 자기가 리뷰하면 교차 검증이 아니다.
  • 작업 상태는 todo·working·blocked·done·failed 중 하나다.
  • 동시에 도는 작업은 각자 워크트리와 브랜치를 가진다. 동시에 도는 작업은 todo·working· blocked 상태이고, 같은 저장소 안에서 worktree나 branch가 겹치면 위반이다. repo· branch·worktree는 빈 값 없이 적는다. 공유 체크아웃에서 브랜치를 갈아타면 다른 작업의 발밑이 바뀐다(1세션 = 1워크트리 = 1이슈 = 1브랜치).

Read the full file on GitHub · 215 lines

Changes

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.

  1. today First seen · 215 lines · 119 tokens per session scan A 2309cf29e284

Subscribe to this mod's changes

dok3-orchestrator is a skill published in the GitHub repository LeeYudok/agents-scaffold (40 stars, last pushed today), licensed MIT. It adds 119 tokens to every session and 4,676 once invoked, about $0.0005 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-11-30.

Related

dok3-orchestrator compared with skills from other repositories

dok3-orchestrator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dok3-orchestratorLeeYudok/agents-scaffoldSkill40todayMITA119Claude Code, Codex
nx-libSpaceMalamute/ai-rulesSkill29mo agononeA15Claude Code
reviewSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
learningSpaceMalamute/ai-rulesSkill29mo agononeA37Claude Code
code-reviewSpaceMalamute/ai-rulesSkill29mo agononeA15Claude Code
security-auditSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
sudden-deathSpaceMalamute/ai-rulesSkill29mo agononeA13Claude Code