---
name: opc
description: "Run a code project as its PM: workers, review and verified delivery. Use when a PM owns a code repository or the owner names OPC."
metadata:
  version: "7.67.0"
title: opc
canonical_url: https://skilld.dev/gh/enjoyoer/loadout/opc
last_updated: 2026-11-21T03:15:40.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/agents/openai.yaml), [references/codex-sites.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/codex-sites.md), [references/imp-execution.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/imp-execution.md), [references/pr-evidence.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/pr-evidence.md), [references/recovery.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/recovery.md), [references/routing.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/routing.md), [references/simplifier-review.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/simplifier-review.md), [references/web-lane.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/web-lane.md), [references/web-reviewer.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/web-reviewer.md), [references/worktree-lifecycle.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/worktree-lifecycle.md), [scripts/agent-routing.mjs](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/scripts/agent-routing.mjs), [scripts/delivery.mjs](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/scripts/delivery.mjs), [scripts/paseo-worker.mjs](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/scripts/paseo-worker.mjs), [scripts/route.mjs](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/scripts/route.mjs), [scripts/task-state.mjs](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/scripts/task-state.mjs), [scripts/validate-opc.mjs](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/scripts/validate-opc.mjs), [scripts/web-reviewer.mjs](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/scripts/web-reviewer.mjs).
>
> If the user asked to install this Skill, run `npx skilld install enjoyoer/loadout/opc`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/opc`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/enjoyoer/loadout/opc) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/opc`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/opc --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/opc --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# OPC

The PM owns scope, topology, integration, verification, and publication. OPC implementation authorizes bounded Worker lanes, never subdelegation or route substitution. OPC ends with verified merge, required sync, and cleanup; earlier endpoints are ordinary scoped work. Local commits and PRs are internal stages.

Follow this state machine, reading linked references only when their branch applies.

## 1. Scope

Record outcome, assigned checkout, owner, committed base, permitted changes, and acceptance checks: observable behaviors from the owner's intent, preferably end-to-end or live. Escalate scope or authority changes to the owner.

Enable browser review only when the initial request explicitly asks; the choice is immutable through repairs, resumes, and reinvocation. Initialize the [execution mechanics](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/imp-execution.md "runtime") before launching lanes.

## 2. Optional scouting

Default to one scout; add another only for an independent question expected to take 30+ minutes. Trivial, localized, or inherently sequential work skips scouting and planning. Synthesize findings first. Only material residual ambiguity or unresolved cross-lane decisions justify a read-only `plan` Worker.

## 3. Worker

Resolve every route, PMs included, via [routing](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/routing.md "branch:routing"); owner model, effort, and Fast win unadjusted.

Default to one implementer Worker for the whole task, building its items in sequence: server, UI and docs together, with tests only when the owner or the PM names the cases. Never split by work type (frontend, backend, tests) or file. Use parallel lanes only when the pieces are independent (no shared files or ordering) and each is expected to take 30+ minutes; one owner per file, and the PM writes any shared contract (flags, schemas, shared docs) before those lanes start. Use fresh agents only where fresh context helps: a reviewer given only the spec and diff, a verifier given only the user flows, and research needing no project context. One Worker lineage per lane; shared live resources serialize only live checks.

Visual design (new screen, layout, component) gets one read-only `ui-design` lane and optional `ui-check`; `code` builds it. Copy-only UI changes stay `code`.

When no Worker holds the checkout, the PM does work under about 20 tool calls itself. The PM stays in its checkout as sole integrator and publisher. For hosted Sites work, read [Sites](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/codex-sites.md "branch:sites") and route it with `route.mjs --class sites`. For cancellation or uncertain execution, read [recovery](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/recovery.md "branch:recovery") before acting.

## 4. Yield

Launch every OPC agent and background follow-up through agent-scoped Paseo `create_agent` or `send_agent_prompt` MCP with `notifyOnFinish: true`; finish independent work, then end the turn. On completion, error, or permission notification, read `get_agent_status` and `get_agent_activity` once each. No babysitting, CLI waits, terminal inspection, status narration, retries, or replacements while running. Report terminal failures.

## 5. Integrate

Verify returned agent/workspace identity, path, branch, commits, selected-base ancestry, and exact diff. Integrate by repository merge/cherry-pick policy, never merely on completion/idle status. Send repairs to the same Worker; repeat yield and integration.

## 6. Verify

Independently check required behavior and final committed deliverable bytes using the execution mechanics. Reuse a receipt only while head, bytes, command, and evidence remain unchanged; otherwise rerun. [Review rules](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/web-reviewer.md#review-rules "branch:review") bind every review; initially enabled review reads it at the published candidate head. Security-sensitive diffs review on `review-security`. A small PR (not security-sensitive, changing no live system, and under about 50 changed lines) gets no review agent unless the owner asks: the Worker's own checks and the PM's readback cover it. Review never replaces PM correctness checks. Unrun platform or browser checks remain unverified.

## 7. Merge and cleanup

PRs with visible changes carry [before and after evidence](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/pr-evidence.md "branch:evidence"); other PRs say "No visible change". Use the execution mechanics to verify delivery and merge, then follow [workspace cleanup](https://skilld.dev/api/skills-raw/enjoyoer/loadout/opc/references/worktree-lifecycle.md "runtime"). Confirm live GitHub merge state and reviewed-head ancestry. Follow repository sync requirements, distinguishing source publication from installation. After installing changed instructions, send the changed lines to each affected PM and reload idle PMs. Codex app threads pick the change up at their next read; unreachable agents at their next session start. Report test, integration, and PR evidence, review verdict/head or unavailability, Worker usage, remaining issues, and cleanup gaps separately.
