一键导入
run-plan
Execute one phase or all remaining phases of a plan with scoped implementation, optional worktree isolation, verification, reporting, and landing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute one phase or all remaining phases of a plan with scoped implementation, optional worktree isolation, verification, reporting, and landing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate short, simple sprite animations from natural-language prompts by using imagegen2 for raster frame candidates, agentic frame review for pose and continuity, and local anim8gen tools for alignment, validation, contact sheets, previews, and package reports. Requires the imagegen2 skill.
Generate or edit game-oriented raster assets using OpenAI gpt-image-2 through a bundled zero-dependency CLI. Use for sprites, tiles, icons, portraits, UI assets, backgrounds, reference-image edits, and iterative visual variants when the output should be a bitmap asset saved into the project.
Add a new block type to a block-diagram style app with runtime behavior, UI/editor integration, serialization, tests, docs, examples, and verification.
Create a complete example model for one or more block types, including model layout, registration, tests, screenshots, docs, and verification.
Generate a project status briefing from git state, plan reports, open checkboxes, recent commits, and worktrees when the user asks for status, current work, reports, or cleanup readiness.
Safely commit only the relevant current changes, protecting unrelated user or agent work; also handle requested push, land, or PR follow-through.
| name | run-plan |
| description | Execute one phase or all remaining phases of a plan with scoped implementation, optional worktree isolation, verification, reporting, and landing. |
These Z Skills are native Codex workflows derived from github.com/zeveck/zskills at commit 14dea81da487b2904ea7d69a27295f1869206cdf. They are invoked by natural language or by naming the skill; examples that look like slash commands are only shorthand for the skill name.
Use Codex behavior first:
CronCreate, CronList, CronDelete, Agent/Task tool syntax, allowed-tools, .claude/settings.json, or automatic Claude hooks.git worktree commands. Do not rely on an isolation: "worktree" parameter..agents/zskills-config.json first, then project zskills-config.json, then legacy .codex/zskills-config.json, then legacy .claude/zskills-config.json only if already present. Do not create new .claude runtime config for Codex..agents/zskills-support by default. Use project-local scripts/* first; fall back to $CODEX_HOME/zskills-support only for explicit global installs or legacy setups.Detailed upstream text is archived in references/upstream-claude-adapted.md for edge cases and future diffs. Load it only when the concise workflow below is insufficient.
status, finish, auto, pr, or direct.status, report phases, next work, blockers, and stop.finish auto and it is not a runner-managed child prompt, start the external runner immediately when .agents/zskills-support/scripts/zskills-runner.sh or $CODEX_HOME/zskills-support/scripts/zskills-runner.sh exists. Run it as a shell command with the requested plan and --repo <repo-root>, relay the runner result, and do not manually execute a phase in the parent turn. This is the normal unattended entrypoint.RUNNER-MANAGED CHUNK or External ZSkills runner contract for this chunk as child chunks launched by zskills-runner.sh; in that case do not start the runner again. Execute exactly one incomplete phase and follow the supplied runner contract..agents/zskills-config.json, zskills-config.json, legacy .codex/zskills-config.json, legacy .claude/zskills-config.json, fallback cherry-pick. Also read execution.base_branch, execution.remote, testing.*, ci.*, and dev_server.* before choosing commands.refine-plan.direct: work in the current tree only when not protected and explicitly requested./tmp/<project>-cp-<plan>-phase-<phase> on a named branch.pr: create a branch/worktree suitable for a PR.reports/plan-<slug>.md.finish without auto, preserve chunking: execute at most one substantive phase per top-level Codex turn unless the user explicitly says to continue in the same turn after seeing the phase result.finish means "keep advancing this plan until done," not "merge all phases into one long context." After each phase:
reports/plan-<slug>.md.finish auto in the parent turn and the external runner is available.finish auto, prefer resumable top-level turns over long in-context loops. Unattended completion is runner-backed by .agents/zskills-support/scripts/zskills-runner.sh or $CODEX_HOME/zskills-support/scripts/zskills-runner.sh; the skill must invoke that runner directly when available. The runner launches fresh codex exec invocations and validates durable state between chunks. Without that external runner, finish auto degrades to one chunk plus a handoff; Codex has no built-in Z Skills cron.CronCreate, CronList, or CronDelete. For every, next, or stop, explain that Codex has no built-in scheduler and ask before creating an external schedule.Agent prompts or isolation parameters. Use Codex sub-agents only when explicitly authorized by the current Codex delegation policy.An external runner may automate finish auto only by starting a new top-level codex exec process for each chunk. The runner must:
.zskills/tracking/ markers, not from chat text alone;zskills-gate.sh and post-run invariants before scheduling the next chunk;If no runner is active, report the exact next invocation instead of trying to continue multiple phases in one context.
Use one shared config contract across Z Skills. Read .agents/zskills-config.json, then zskills-config.json, then legacy .codex/zskills-config.json, then legacy .claude/zskills-config.json.
execution.landing: "direct": work on the current branch/main only with a clean tree, no unrelated changes, explicit current-turn authorization for broad/autonomous work, and execution.main_protected false or explicitly overridden after warning.execution.landing: "cherry-pick": work in a manual git worktree, commit the phase there, verify, then cherry-pick the scoped commit back to ${execution.base_branch:-main} from ${execution.remote:-origin}. This is the default.execution.landing: "pr": work in a manual git worktree on ${execution.branch_prefix}..., push to ${execution.remote:-origin}, create a PR with gh if available, and do not push directly to main.Explicit request words direct or pr override config for the current invocation. locked-main-pr means execution.landing: "pr" plus execution.main_protected: true.
Use project-local helpers first. If absent, inspect .agents/zskills-support/scripts/* or $CODEX_HOME/zskills-support/scripts/* before relying on prose:
worktree-add-safe.sh: create isolated worktrees and reject branch/path poisoning.write-landed.sh and land-phase.sh: record scoped landing state and cleanup only expected ephemeral files.post-run-invariants.sh: check base freshness, landing evidence, report state, and dirty tree after landing.zskills-gate.sh: Codex-native pre-land/pre-continue/pre-push gate for reports, tracking markers, ignored tracking files, and untracked artifacts.Do not run support scripts blindly when a project has different branch names or report paths; pass config-derived base/remote values or adapt a project-local copy.
Every executed phase should report: plan, phase, branch/worktree, files changed, tests run, verification result, landing result, and remaining phases.
Do not claim that work was committed, cherry-picked, pushed, or fully landed until that git operation has actually succeeded. Before landing, use pending language; after landing, update the report with the real landed state.
Verification reports used as landing evidence are project artifacts; keep them under reports/ and land them with the phase report unless the repository has an explicit external-report convention.
Retain file-based tracking even though Codex does not run Claude hooks:
.zskills/tracking/<pipeline-id>/ for the plan run.requires.verify-changes.<tracking-id> with phase, diff base, and expected report path.step.run-plan.<tracking-id>.implement, step.run-plan.<tracking-id>.verify, and step.run-plan.<tracking-id>.report.finish, if another phase remains, write handoff.run-plan.<tracking-id> after the phase so the next top-level turn can resume without relying on conversation memory. Do not leave step.run-plan.<tracking-id>.land or fulfilled.run-plan.<tracking-id> present for a non-final chunk.step.run-plan.<tracking-id>.land and finally fulfilled.run-plan.<tracking-id>, and remove any stale handoff.run-plan.<tracking-id>.implement, verify, and report markers plus the persistent verification report. Treat missing or inconsistent markers as a stop condition unless the user explicitly chooses manual recovery.Tracking files are ephemeral gates. Do not include .zskills/, .zskills-tracked, or other tracking marker files in landed commits or PRs unless the user explicitly asks to version them.
scripts/post-run-invariants.sh when available. If absent, inspect or adapt .agents/zskills-support/scripts/post-run-invariants.sh or $CODEX_HOME/zskills-support/scripts/post-run-invariants.sh when the project uses Z Skills tracking. Do not schedule the next chunk or declare completion if invariants fail.git status --short. Only expected ephemeral tracking files may remain uncommitted. Untracked reports, source files, tests, plans, or config files are a stop condition.