/coding-engineer-skills:cogine-multirepo-workerfrom coding-engineer-skills
Use for Cogine's classic one-worker-per-repository control plane; use cogine-orchestrator for shared WORK/TEST lanes.
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 with one guarded worker thread per active repository. Keep the root orchestrator focused on queue mapping, worker monitoring, owner decisions, and avoiding duplicate 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:
<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.~/.codex/state/cogine-multirepo-worker/ledger.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.~/.codex/state/cogine-multirepo-worker/ledger.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.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 project worker titles current only when the concrete worker thread id is known.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.
Thread titles are a navigation aid, not part of the task proof. They must never obscure thread ownership.
set_thread_title on it.<Project>: PR #<number> <phase> such as DearClaw: PR #709 review or DearClaw: PR #711 repair.<Project>: Issue #<number> <phase> for a single issue, or <Project>: Issues #<a>+#<b> <phase> for deliberate batching.<Project>: Research <topic> or <Project>: Live proof <topic>.<Project>: <lane type> idle only after the worker has no active task.Phase1, Phase2, Autocode, stale merged PR numbers, or bare #123 names.threadId, and only when that threadId is known not to be the root thread id. Never retitle a pendingWorktreeId.create_thread prompt must not ask the pending worker to call set_thread_title; the root should set the title with the thread tool after the worker thread exists, or include a plain Suggested title line for later root action.Suggested title: ... and leave the actual title change to root.Reuse only a thread that satisfies at least one condition:
~/.codex/state/cogine-multirepo-worker/ledger.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:
threadId; otherwise the worker reports Suggested title: ...;AGENTS.md, docs, issue/PR discussion, code, tests, and current CI;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 ~/.codex/state/cogine-multirepo-worker/ledger.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;#123 references across threads.Workers must not disappear into CI waiting before giving the owner local verification and the current decision state.
gh pr checks --watch, sleep polling loops, or repeated CI refresh loops before reporting that evidence to the owner.gh pr checks / gh run view snapshot is allowed. If CI is still pending, stop and report CI pending plus the current local proof.~/.codex/state/cogine-multirepo-worker/ledger.md.Before steering a worker:
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-multirepo-worker 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
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./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview committed changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, or asks to "review since X"./cogine-orchestratorUse for Cogine's WORK/TEST multi-repository control plane with per-repo work and shared independent verification.npx claudepluginhub cogine-ai/marketplace --plugin coding-engineer-skills