/coding-engineer-skills:cogine-orchestratorfrom coding-engineer-skills
Use for Cogine's WORK/TEST multi-repository control plane with per-repo work and shared independent verification.
Ships in coding-engineer-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Coordinate Cogine repository work as a manual Codex App control plane. This skill defines how the root orchestrator thread maps queues to repo worker threads, monitors progress, requests owner decisions, and avoids duplicating existing scheduled automation.
auto-agents launchd jobs unless the user explicitly asks.cogine-ai repositories. Use shared/target-repos.md only as the auto-agents signal list; outside it, assume no scheduled-agent support unless verified.Mirror the steipete/agent-scripts maintainer-orchestrator model:
WORK thread.TEST thread under the Auto-agents project. It verifies one immutable candidate at a time and returns to idle after each verdict.WORK thread by default. Independent verification is the only long-lived lane split.<Project>: <short current task>.cogine-ai repositories; map local checkouts when useful.shared/target-repos.md and registry/local-cron-agents.yaml for scheduled-agent signal coverage.list_threads when available; reuse only eligible orchestrator-owned repo workers after reading current state.github-project-triage when available to map open issues, open PRs, CI, labels, latest release, and relevant automation comments.~/cogine-orchestrator.md.Active, Needs owner, Ready next, Blocked, Recent public mutations, Owner exclusions. Omit archived, not-visible, historical, and completed-idle workers unless they still carry an unresolved owner decision or explicitly reusable lane.~/cogine-orchestrator.md; workers do not edit it.Recent public mutations; do not carry raw worker reports forward.Active and Ready next as soon as its only remaining value is historical. Keep only a compact public-mutation line if the result still matters.archived and not_visible are transport/UI states, not orchestration states. Do not list them unless the root is actively investigating a missing current worker.Use Codex App thread tools as the lifecycle surface:
list_projects: find the saved project before creating project-scoped workers.create_thread: create a new repo worker only when no suitable worker exists.create_thread: create the shared Auto-agents TEST thread only when no eligible test lane exists.read_thread: inspect a worker before sending instructions, renaming, archiving, or declaring it blocked.send_message_to_thread: assign the next task or unblock a worker.set_thread_title: keep titles current as <Project>: <short current task>.set_thread_archived: archive completed idle workers after root confirms no immediate next repo work.handoff_thread: move a worker to another Codex host only when the user asks or the current host cannot run required proof.Never create duplicate workers for the same repo without first reading all plausible existing orchestrator-owned workers. If two threads have unique progress, leave both intact and ask the owner before merging or retiring either lane.
Use two long-lived execution roles unless the owner explicitly requests a different topology:
WORK: the all-round repo worker. It researches, plans, implements, reviews, runs focused/full checks, performs authorized real proof, and prepares a decision-ready candidate.TEST: one shared independent verifier under the Auto-agents project. It verifies one frozen candidate at a time and never becomes a second developer.The handoff loop is:
WORK completes its own tests and proof. TEST is an additional gate, not a replacement for developer verification.WORK commits the complete candidate, confirms an immutable SHA and clean worktree, then reports [Lane: WORK] [Event: READY_FOR_TEST] with the original requirement, changed behavior, proof, risks, evidence boundaries, and cleanup state.[Event: IDLE]. The assignment names the exact SHA, original requirement, highest-risk regressions, required evidence level, environment/account boundary, and cleanup contract.TEST uses a separate checkout or detached candidate, challenges the result independently, and reproduces the old failure on the public seam when practical.TEST_PASS is valid only for the exact SHA. Any source change invalidates it.TEST_HOLD returns findings to WORK; TEST never fixes code. WORK repairs, freezes a new SHA, and starts a new handoff cycle.[Event: IDLE] after PASS or HOLD. PASS does not authorize push, PR updates, merge, deploy, release, or tag.TEST hard boundaries:
Every worker report starts with a lane and milestone event:
MILESTONE, READY_FOR_TEST, BLOCKED, COMPLETE.TEST_PASS, TEST_HOLD, IDLE.INCIDENT, PROOF_BLOCKED.Treat incoming reports as inbox events, not automatic context switches. Finish the current root action to a safe checkpoint, then process queued reports. Only an active incident, security risk, unauthorized mutation, or blocker on the current critical path should preempt immediately.
Do not monitor or poll TEST. Assign one candidate, then wait for its milestone report. Do not send unrelated follow-ups while TEST is active.
WORK titles continue to use <Project>: <short current task>. Use Auto-agents: TEST <Project> <item> while TEST is active and Auto-agents: TEST idle after cleanup.
Reuse only a thread that satisfies at least one condition:
~/cogine-orchestrator.md explicitly marks it as an active or explicitly reusable orchestrator-owned repo worker;Do not reuse, retitle, or send new worker assignments to same-repo historical, planning, review, repair, strategy, or user-owned threads merely because they mention the target repo or contain useful context. Treat those threads as context/reference only.
If preflight classifies a repo as having no current active repo-worker, later broad authorization to "create or reuse repo workers" permits reuse only of threads that pass this ownership gate. Otherwise, create a fresh project-scoped worker when delegation is authorized.
Classify every queue item:
Autonomous: bounded, reproducible, technically safe, and verifiable with available tools.Needs owner: product choice, security/privacy decision, missing credentials/access, unavailable live proof, destructive choice, merge/close/release approval, or unclear priority.Existing automation: already covered by active auto-agents; observe outputs instead of rerunning.Ignored by owner: explicitly named by the owner as out of current scope.Labels are discovery, routing, and prioritization hints, not classification proof. Do not classify an item as Autonomous, Needs owner, Blocked, or Ready next from labels alone; refresh the issue or PR body, comments, draft state, mergeability, CI, linked work, code state, and worker proof first.
Do not treat stale, difficult, draft, or platform-specific items as ignored. Only explicit owner instruction creates an ignored exception.
For each repo worker prompt, include:
AGENTS.md, docs, issue/PR discussion, code, tests, and current CI;For each TEST assignment, include:
TEST_PASS or TEST_HOLD bound to the SHA;IDLE.Treat triage, monitoring, implementation, public mutation, CI repair, and release as separate permissions.
cogine-ai and live-proof waivers require fresh explicit owner confirmation.Record the granted permissions in every worker prompt and in ~/cogine-orchestrator.md. Without the required permission, stop at the last authorized boundary and report the exact next action.
Every repo worker, within its authorization, must:
auto-agents labels/comments as context, not as proof of correctness;autoreview or the local review equivalent when available before push/land;READY_FOR_TEST, commit the complete candidate, report the immutable SHA, confirm the worktree is clean, and stop source work until TEST returns.TEST_HOLD, change only the accepted repair scope, freeze a new SHA, and request a new independent test. Never apply a prior PASS to candidate drift.#123 references across threads.~/cogine-orchestrator.md.Before steering a worker:
For TEST, confirm it is IDLE before assigning a candidate. Never interrupt an active test with a newer candidate; queue it until the current verdict and cleanup are complete.
Intervene only for:
Do not raise the proof bar mid-flight. Apply the proof gate that was assigned at delegation time.
An idle repo worker must not remain as a polling lane. After reading current state, do exactly one:
Owner questions must be decision-ready. Include:
Never ask with only land/delete, approve?, or a bare URL.
Treat live proof as a pre-land requirement:
Pure docs, test-only, CI-only, or metadata-only changes may use closest artifact/workflow proof; state why no live runtime boundary applies.
Before any push, public PR update, merge, or release involving model-bearing code or artifacts:
PASS or BLOCKED covering every audited surface.No public mutation may proceed while this gate is blocked.
Compute the effective queue immediately before release:
effective issues = open issues - explicitly ignored issues
effective PRs = open PRs - explicitly ignored PRs
Release only when all are true:
Recheck queue and CI immediately before tagging or publishing. Abort if state changed. Never silently exclude an item. In release reporting, list ignored items and the owner instruction that exempted them.
Use these as background signal sources, not duplicate work:
Issue Triage: issue label normalization and bot:triaged.Issue Duplicate Detector: conservative duplicate candidate marking.Auto TODO Issues: TODO/FIXME issue creation.PR Intake: PR labels and bot:triaged.Draft PR Readiness: draft-to-ready checks and readiness comments.PR Review: Codex review markers and review findings.Treat type:*, priority:*, size:*, workstream:*, dependencies, auto-todo, todo, fixme, and needs-conflict-resolve as useful routing signals. Treat status:* labels and bot:validated as unstable auxiliary hints only; they do not prove readiness, blockage, validation, ownership, or current truth without fresh evidence from GitHub state, CI, comments, code, tests, or live proof.
If an existing scheduled agent already owns a routine, do not manually rerun that routine. Escalate only when its output conflicts, stalls, or leaves a decision-ready next step.
Use skill-cleaner periodically when available:
cogine-orchestrator concise;Keep reports compact and actionable:
When reporting multiple items, give each item a stable short label for follow-up dispatch.
Active: repo, worker, current task URL, phase.Needs owner: exact decision/access/waiver required.Ready next: bounded, verifiable next work with no refreshed owner blocker; never infer from status:ready labels alone.Blocked: concrete blocker and last proof gathered; never infer from status:blocked labels alone.Recent public mutations: PR/issue/release URL, proof, and next state.Mention meaningful changes only. Do not report routine polling as progress.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
36 skills in this plugin
/ai-app-security-auditAudit AI and LLM apps for concrete security, tool, prompt, key, cost, and supply-chain risks./babysit-prFollow a GitHub PR through CI and review to a requested outcome, including as part of takeover./backlog-ready-specTurn ambiguous product or bug requests into de-duplicated, implementation-ready specs with acceptance criteria and validation.npx claudepluginhub cogine-ai/marketplace --plugin coding-engineer-skills