direct: Skill for Codex

.agents/skills/phase-orchestrator/SKILL.md

phase-orchestrator is a skill for Codex from hraness/direct. It costs 101 tokens per session (4,842 once invoked), scanned A, a copy of phase-orchestrator, MIT.

A workflow coordinator for implementing software plans in phases with separate implementation, review, validation, and final-review workers.

In plain words
What is it for?
Use it when a plan or checklist should be carried out by subagents, with progress tracking, reviews, validation, and commits.
Why use it?
It gives a multi-step feature a repeatable process and keeps each phase focused and checked before moving on.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; names the TodoWrite tool; installed under .agents/ (shared by several agents).

This is hraness/direct's own configuration. It tells Codex how to work on direct itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything direct configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hraness/direct. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hraness/direct/main/.agents/skills/phase-orchestrator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hraness/direct

Made for: 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 phase-orchestrator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hraness/direct/phase-orchestrator"><img src="https://agentmods.dev/badge/skills/hraness/direct/phase-orchestrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,842 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 100% copy Near-identical to another mod 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.00101 $0.04842
Opus 5.5 $0.00040 $0.01937
Sonnet 5.5 $0.00020 $0.00968
Haiku 4.5 $0.00010 $0.00484

Measured 1mo ago against content hash 14d332015ddd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Origin

This is a copy

100% identical to phase-orchestrator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/phase-orchestrator/SKILL.md · 498 lines

How it starts

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

Phase Orchestrator

Goal

Run a phase-based plan through a repeatable delegated workflow. The plan is the source of truth, any PRD/spec is supporting context, and each phase should move through orientation, implementation, validation, review, plan updates, and commits by default.

Use this skill only when the user explicitly asks for delegated phase orchestration, invokes this skill, or asks to implement a plan/checklist using subagents.

Companion Skills

This skill is the parent of a five-skill workflow:

  • write-phase-plan — authors plans in the format this skill consumes best.
  • phase-implementer — the delegated worker contract for implementing exactly one phase (Phase Loop step 2).
  • phase-reviewer — the delegated worker contract for the review-and-fix pass on a completed phase (Phase Loop step 4).
  • phase-final-reviewer — the delegated worker contract for the end-to-end review of the whole feature after all phases (Final Whole-Feature Pass).

Each worker skill carries that role's standing rules: single-phase or single-pass scope, no-revert discipline, no-commit default, and the required final-response format. The parent's prompt only needs to supply the per-run context from the templates below.

How to dispatch a worker role depends on the host:

  1. Named custom agents. If the host supports named custom agents or subagent types (Cursor custom agents, for example), prefer a dedicated agent per role whose definition is the matching companion skill's body.
  2. General subagent + installed skill. Otherwise, launch a general-purpose subagent and instruct it to load and follow the matching installed companion skill by name.
  3. Inline rules. If the subagent cannot load skills, paste the companion skill's standing rules into the prompt along with the per-run context.

Host Mapping

  • Use the host's todo tracker (TodoWrite in Cursor) for the in-chat orchestration state. Keep exactly one phase or orchestration step in_progress.
  • Use the host's subagent or task tool (Subagent in Cursor) for delegated implementation, broad read-only exploration, review/fix passes, validation, and shell/git work when delegation is useful.
  • Use fast read-only subagents (Cursor's explore type, where available) for broad codebase discovery before implementation.
  • Use shell-focused subagents only for command-heavy validation or git operations.
  • Respect the user's or host's model choice for workers. Pass a model explicitly only when the user requests a specific model for the run or for a specific worker.
  • Use background subagents when the host supports them and independent read-only investigations can run in parallel.
  • Do not assume subagents can be "closed"; inspect their final response and continue from the parent agent.
  • Record every spawned subagent's ID in the main thread (alongside its phase in the todo/phase notes) when the host exposes one. Some hosts can resume a completed subagent by ID with its full context preserved (Cursor's task tool resume parameter). The user may ask for flows that reuse the same agent across the run — the same reviewer re-checking its own earlier findings, or an implementer revisiting its phase after review — and resuming beats a fresh dispatch there because the agent keeps everything it already learned. Keeping the IDs in thread history is what makes that possible later.
  • Treat worker responses as structured handoffs. Require the result fields defined below so the parent can compare and combine results without carrying an unstructured transcript in context.
  • Follow the host's normal tool rules: read tool schemas before unfamiliar calls, avoid destructive git commands, and never revert user-owned work.

Read the full file on GitHub · 498 lines

Files

What ships with it

4 files 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.

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. 1mo ago First seen · 498 lines · 101 tokens per session scan A 14d332015ddd

Subscribe to this mod's changes

phase-orchestrator is a skill published in the GitHub repository hraness/direct (2 stars, last pushed 15d ago), licensed MIT. It adds 101 tokens to every session and 4,842 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to phase-orchestrator, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

project-setup-info-local

Comprehensive setup steps to help the user create complete project structures in a VS Code workspace; this tool is designed for full project initialization and scaffolding, not for creating individual files. When to use this tool: user wants to create a new complete project from scratch; setting up entire project…

microsoft/vscode · 263 tokens

project-setup-info-context7

Comprehensive setup steps to help the user create complete project structures in a VS Code workspace. This tool is designed for full project initialization and scaffolding, not for creating individual files. When to use this tool: when the user wants to create a new complete project from scratch; when setting up…

microsoft/vscode · 281 tokens

record-gotchas

Capture surprises, workarounds, and rough edges hit while consuming the public surface of Prisma 8, Prisma Compute, or Prisma Postgres — anything a real user of these products would experience. Fires whenever an operator (or agent) writes a workaround, hits a surprising failure mode, or finds undocumented behaviour…

prisma/orm · 220 tokens

resolution_playbook

How to choose one resolution action from a ticket and its customer history.

open-mercato/open-mercato · 14 tokens

stage_playbook

How to choose the next pipeline stage for a deal from its momentum and risk signals.

open-mercato/open-mercato · 17 tokens

kanban

Use when work has several deliverables, tickets, or delegates: board, WIP 1 writer + 2 review, pull rule, Definition of Done, findings fixed or filed.

ShaftHQ/SHAFT_ENGINE · 40 tokens