用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/PiLastDigit/TRIP-workflow --skill codex-implement命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | codex-implement |
| description | Delegate implementation of a TRIP plan (or a scoped part of it) to Codex CLI |
| argument-hint | <plan-path> [instructions] | reset <plan-path> | show <plan-path> |
Non-interactive implementation via Codex CLI in a workspace-write sandbox: Codex reads the plan, edits the working tree directly, runs the project's lint/build on its own work, and reports back. One persistent thread per target, so a plan can be delegated in successive batches (or phase by phase) with full context retained.
State persisted under .claude/skills/codex-implement/state/<sanitized-target>.{thread,review.txt,events.ndjson} (the .review.txt file holds Codex's implementation report — the naming comes from the shared helpers). resume/reset/show reuse the shared scripts from codex-plan-review; always export before invoking them:
export STATE_DIR=".claude/skills/codex-implement/state"
<target> — auto: start if no thread, resume if one exists. Usually a plan path (docs/1-plans/F_*.plan.md); a free-form label for unplanned work."Implement only: <batch checkboxes>" or "Now implement: <next batch>".reset <target> — drop state, next call starts fresh.show <target> — display the latest report without calling Codex.Parse $ARGUMENTS: extract action (reset/show/auto) and target.
Auto — try start.sh first (exit code 2 = thread exists → use resume.sh):
bash .claude/skills/codex-implement/scripts/start.sh --prompt-file .claude/skills/codex-implement/prompts/implement.tpl <target> [instructions]bash .claude/skills/codex-plan-review/scripts/resume.sh --prompt-file .claude/skills/codex-implement/prompts/continue.tpl [--notes "review corrections"] <target> [instructions]Reset: bash .claude/skills/codex-plan-review/scripts/reset.sh <target>
Show: bash .claude/skills/codex-plan-review/scripts/show.sh <target>
Parse trailing tag of the report:
IMPLEMENTATION_COMPLETE — hand control back to the requester's batch review (TRIP-2).IMPLEMENTATION_PARTIAL — read the report; resume with instructions for the remainder, or let the requester finish small leftovers directly.start.sh / resume.sh via the Bash tool with run_in_background: true — never as a foreground/inline command. Implementation runs are the longest Codex calls in the workflow and will outlast the foreground command timeout; the background task notifies on completion, then read its output. reset.sh / show.sh are instant and fine in the foreground.CODEX_TIMEOUT=7200 (2 h) when invoking start.sh / resume.sh — a circuit breaker against hung runs only, deliberately far above any normal batch; bump higher for unusually large batches rather than risk a mid-run kill. Script default is 0 = no timeout. A timeout here kills Codex while it is editing the tree, leaving a partially modified working state — inspect via git status / git diff before retrying.--sandbox workspace-write on start; codex exec resume inherits it. Codex edits files and runs repo commands (lint/build); no network, no commits.--notes.STATE_DIR from the review skills — the same plan path can hold an implementation thread and a review thread without collision.codex-plan-review/scripts/_common.sh (implementation → gpt-5.6-luna at high effort on the fast service tier; reviews → gpt-5.6-sol at xhigh on standard routing; derived from STATE_DIR). Adjust that one file to your preferred models, or override per run via CODEX_MODEL / CODEX_EFFORT / CODEX_TIER env vars; the scripts echo the effective values.CODEX_EFFORT=xhighstart.shresume.sh