codex
Delegate bounded Codex research, review or implementation from Claude through the central capacity and model routing gate.
- License 许可
- MIT
- 所属仓库
- Roeelfs/keel
- 最近更新
- 2026-11-13
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- codex
- description
- Delegate bounded Codex research, review or implementation from Claude through the central capacity and model routing gate.
03 SKILL.md 正文
Codex dispatch
Claude owns the conversation, accepted scope and integration. Delegate independent work to Codex through one of these two routes. Give each lane one objective, the smallest evidence slice, exact allowed paths, an artifact contract and a stop condition. State: "You are a leaf agent: do NOT spawn sub-agents or Workflows; do the work inline and return."
Read-only artifact
Use ~/.claude/scripts/codex-dispatch.sh <class> <promptfile> <outfile> [repo] for research, census, a named-file review or a bounded second opinion. It isolates HOME and keeps the repo outside the writable scratch root. For a diff review, name the exact base and changed paths in the prompt. The final artifact must contain the answer, evidence and limitations.
Implementation and local commits
Use ~/.claude/scripts/spawn-lane.sh --runtime codex --class <class> --mission <file> --cwd <prepared-worktree> for implementation. It retains the normal profile and allows local git writes. Network is explicitly denied by default; --allow-network is only for work that requires network and confers remote-write capability too. The caller owns remote publication after grading the artifact and satisfying project gates. Supplied MCP config and Claude permission/worktree options are rejected; do not assume the normal Codex profile is empty of MCP servers.
Both routes consult ~/.claude/scripts/codex-headroom.sh --route <class>, the single model/effort table. The shipping route also gates explicit --model overrides and applies class effort. At refusal, keep the lane on Claude. Routine coding/retrieval uses standard; mechanical mining uses mining; adversarial falsification uses falsifier; hardest bounded judgment uses architecture, security, hard-rca or adjudication. Use Astra judgment when the task warrants it, with fresh context and one decision artifact. Honor the declared finite review manifest and spent slots.
Launch either command through harness-tracked background Bash (run_in_background: true), with unique output paths. Read the completed artifact when the completion notification arrives. Grade its objective content before accepting it: exit zero alone does not prove success. No detached &, status polling or sleep loops. A bounded launch has a completion owner; consume or interrupt owned work before finalizing.
Project verification requirements remain mandatory. Build lanes run targeted checks; the accepted verify-release task runs its required project gate once. Honor existing same-SHA PASS evidence. Neither this skill nor a plugin can waive a project gate or production approval. Any merge or production publication still requires the project's explicit authorization.
The official Codex plugin may remain installed for explicitly requested plugin capabilities; its companion path is not this harness's central routing path. Do not modify vendor cache files or adopt retired model aliases. Legacy companion jobs use their existing recovery tools until accounted for.
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
work-report
Use when generating development reports, calculating billable hours, reviewing work done in a period, or when the user asks for a project status summary. Triggers on keywords like report, billable, hours, invoice, timesheet, work summary.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
triage
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
to-tickets
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).