orca-dag

orca-dag is a skill for Claude Code, Codex from ZinkLu/Orca-Orchestration. It costs 92 tokens per session (2,017 once invoked), scanned A, original, MIT.

A planning tool that turns software work into an Orca task DAG, a directed graph showing tasks and their dependencies. It records the plan in Orca so a viewer can display and run independent tasks in parallel.

In plain words
What is it for?
Use it to refine a feature or project requirement, write planning documents, build an executable task graph, and prepare the graph for execution in the Orca viewer.
Why use it?
It makes the order and dependencies of a larger piece of work explicit, including points where approval is needed. This reduces ambiguity about what can happen next.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/zinklu/orca-orchestration/skill
Any agent
npx skills add ZinkLu/Orca-Orchestration --skill skill
Clone the repo
git clone --depth 1 https://github.com/ZinkLu/Orca-Orchestration

Made for: Claude Code, Codex.

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 orca-dag

README.md
[![agentmods](https://agentmods.dev/badge/skills/zinklu/orca-orchestration/skill.svg)](https://agentmods.dev/skills/zinklu/orca-orchestration/skill)
Your own site
<a href="https://agentmods.dev/skills/zinklu/orca-orchestration/skill"><img src="https://agentmods.dev/badge/skills/zinklu/orca-orchestration/skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00092 $0.02017
Opus 5 $0.00046 $0.01009
Sonnet 5 $0.00018 $0.00403
Haiku 4.5 $0.00009 $0.00202

Measured 5d ago against content hash a228544b0371, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

orca-dag 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 5d 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.

skill/SKILL.md · 117 lines

How it starts

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

orca-dag

Refine a software requirement through conversation and land it as an Orca orchestration task DAG (directed acyclic graph). You own building and reshaping the graph; execution is triggered by the user in the orca-dag viewer — the viewer advances the whole graph automatically, in parallel, along its dependencies. It is not fired node by node.

Every planning result must be written into Orca's orchestration state (by running orca orchestration commands), not left as chat text — the viewer polls Orca live and draws whatever is there.

Tools you may use

  • Bash to run the orca CLI and read/write orchestration state.
  • Read / Write / Edit to write planning docs in the working directory (docs/PRD.md, docs/TECH_SPEC.md).
  • Do not run destructive commands unrelated to this task (rm, git push, deleting files, …).

Preflight

orca status --json      # runtime.state should be "ready"; if not, ask the user to run `orca open` first
                        # runtime.appVersion must be >= 1.4.160 (the Run/Dispatch contract)

Workflow (three phases, all in conversation)

  1. Requirement clarification (PRD): align on the goal, MVP scope, and explicit non-goals with short questions — one key question at a time. If MVP is enough, plan only P0; don't over-design. Once agreed, write docs/PRD.md.
  2. Technical design (TECH_SPEC): stack, data model (down to fields), module interfaces (pseudocode). Write docs/TECH_SPEC.md.
  3. Decompose into a task DAG: split the design into parallel/serial subtasks and create the tasks and dependencies with the commands below. This step is the required output.

Writing the DAG into Orca (the core)

Step 0: create a Run first (required on Orca ≥ 1.4.160)

Tasks are no longer global: every task belongs to a Run, and task-create / task-list fail with run_required when no Run is bound. So start every plan by opening a fresh Run to hold this DAG:

orca orchestration run-create --objective "<one sentence on what this plan does>" --json

Read the full file on GitHub · 117 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. 5d ago First seen · 117 lines · 92 tokens per session scan A a228544b0371

Subscribe to this mod's changes

orca-dag is a skill published in the GitHub repository ZinkLu/Orca-Orchestration (135 stars, last pushed 22d ago), licensed MIT. It adds 92 tokens to every session and 2,017 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens