一键导入
plan-step-tracker
Query step status (pending/done) in plan/<topic>/<topic>.step.md with minimal token cost and explicit blocking when incomplete.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Query step status (pending/done) in plan/<topic>/<topic>.step.md with minimal token cost and explicit blocking when incomplete.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Wrapper workflow recipe for parent Codex sessions that need to coordinate Python topic delivery with repo-local planner, implementer, and reviewer agents while preserving shared artifact-contract boundaries.
Shared contract for repo-local Codex workflow artifacts. Use when creating, updating, or reviewing custom agents, wrapper skills, and their validation so paths, minimal schemas, and role boundaries stay consistent.
Implement one source SDK API or safe same-family batch from planner output using request-test-first porting, minimal implementation, response and error contract checks, optional tracker updates, and an explicit final decision.
Plan a source SDK API client port before implementation by collecting source evidence, drafting request contracts, classifying risk and stop flags, and preparing implementer handoff output for one endpoint family or safe same-family batch.
Run the sense_env.py scaffold to discover or assert facts about the repository environment. Use this when you need a structured JSON snapshot of the current environment state, or when you need to evaluate a contract's sensing assertions.
Define or normalize Python naming conventions for identifiers, files, folders, and visibility boundaries. Use this when drafting or reviewing Python code style rules centered on names.
| name | plan-step-tracker |
| description | Query step status (pending/done) in plan/<topic>/<topic>.step.md with minimal token cost and explicit blocking when incomplete. |
| complexity | medium |
| risk_profile | ["external_tooling"] |
| inputs | ["topic name that maps to plan/<topic>/<topic>.step.md","operation: read_all, read_not_run, read_success, check_all_succeeded, or check_impl_steps_succeeded"] |
| outputs | ["Python CLI stdout with matching step lines or success/blocked summary","exit code 0 or 1 that the caller can use as a workflow gate","stderr warning/error text for lowercase [x] or missing files"] |
| use_when | ["you need a read-only status query for one topic's .step.md file","you need exit-code blocking before continuing a workflow or review step","you need fallback grep guidance when the Python CLI cannot run"] |
| do_not_use_when | ["you need to modify step files or mark steps complete","you need to aggregate multiple topics or verify evidence outside the checkbox file","you need live monitoring or richer states than done versus pending"] |
Provide a low-token, read-only way to query plan/<topic>/<topic>.step.md and enforce blocking when incomplete work remains.
Use this skill when:
.step.md file without reading the whole fileDo not use this skill when:
.step.md files or change checkbox markers<topic>: required topic name; resolves to plan/<topic>/<topic>.step.md<operation>: one of read_all, read_not_run, read_success, check_all_succeeded, or check_impl_steps_succeededplan/<topic>/<topic>.step.md and keep the interaction read-only.python .agents/skills/plan-step-tracker/scripts/step_tracker.py <operation> <topic>
[X] = done[ ] = pending[x] = pending, with a warning on stderrread_all, read_not_run, read_success return exit code 0 on successful readscheck_all_succeeded returns exit code 0 only when nothing is pendingcheck_impl_steps_succeeded returns exit code 0 only when ## Implementation Steps contains no pending items.step.md returns exit code 1 and is blockingreference.md, and explicitly note that grep cannot reproduce the lowercase [x] warning by itself..step.md, normalize checkbox casing, or continue past a blocking check_all_succeeded result.Positive: Use the blocking command before a gated handoff
$ python .agents/skills/plan-step-tracker/scripts/step_tracker.py check_all_succeeded my-feature
❌ BLOCKED: 2 steps pending (exit code 1)
[ ] implementation-review
[x] code-review
The caller stops and reports the pending steps.
Negative: Treat lowercase [x] as complete or ignore exit code 1
$ python .agents/skills/plan-step-tracker/scripts/step_tracker.py check_all_succeeded my-feature
Warning: Found lowercase [x] at line 18; treating as pending
❌ BLOCKED: 1 steps pending (exit code 1)
[x] code-review
Wrong follow-up: continuing anyway or rewriting the file inside this skill.
read_all: all parsed checkbox lines on stdout; exit code 0read_not_run: pending lines on stdout, including lowercase [x]; exit code 0read_success: completed [X] lines on stdout; exit code 0check_all_succeeded: success summary with exit code 0, or blocked summary plus pending lines with exit code 1check_impl_steps_succeeded: implementation-only success summary with exit code 0, or blocked summary plus pending implementation lines with exit code 1Error: File not found: plan/<topic>/<topic>.step.md on stderr with exit code 1python .agents/skills/plan-step-tracker/scripts/step_tracker.py <operation> <topic>1 from check_all_succeeded or missing files as blocking1 from check_impl_steps_succeeded as an implementation-only blocking signal[x] as pending, not done[x] limitation explicitlyINCOMPLETE when the caller's desired operation is unclear<topic> is missing or does not resolve to a single expected path, mark the result BLOCKED and request the exact topic nameINCOMPLETE[x] must be checked manuallyreference.mdBLOCKED rather than inferring status from memory0 from check_all_succeeded before continuing a gated workflow1 blocks continuation when any pending step or missing file is reportedcheck_impl_steps_succeeded inspects only ## Implementation Steps and ignores pending items outside that section[x] remains pending and produces a warning when the Python CLI is used.step.md filereference.md: stable CLI contract, path rules, exit-code semantics, and grep fallback limitationsexamples.md: detailed command examples, blocking cases, edge cases, and fallback usage patternsscripts/step_tracker.py: local Python CLI that implements the preserved command and exit-code contracttests/: pytest coverage for parsing, filtering, blocking, missing-file handling, and lowercase [x] behavior