mario-coin-counting-workflow
Complete the mario-coin-counting task using one archive-derived monolith with no auxiliary workflow artifact.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- mario-coin-counting-workflow
- description
- Complete the mario-coin-counting task using one archive-derived monolith with no auxiliary workflow artifact.
03 SKILL.md 正文
mario-coin-counting Faithful No-Persistence Monolith
Monolith Translation Boundary
This monolith serializes the five archived A-stage responsibilities in source order. It retains the archived task-route clauses, mutations, scope limits, and scoped checks. The omitted source clauses are exclusively the persistent carrier protocol: reading or writing an auxiliary file, emitting a transition command, activating a different stage, and re-entering after completion. Keep any transient planning only in the current context. Do not create an auxiliary workflow file.
Inlined Stage 1: mario-coin-counting-entry-selector
Select the next task item
The following task-route clauses are copied from the archived entry stage. Choose the applicable next item from them, keep every action within its stated scope, and do not start another completion cycle after all requested outputs pass.
- Start with
task-input-inventory: one standalone source assertion/root/super-mario.mp4; routetarget=/root/mario_counting_inputs.json,allowed scope=Inventory the Mario video and the three template images into one task-local input manifest.,mutation=Write /root/mario_counting_inputs.json recording /root/super-mario.mp4 plus /root/coin.png, /root/enemy.png, and /root/turtle.png for the counting workflow., and localscoped check=Confirm the input manifest names the video and all three template images.. - If verification of
task-input-inventoryfails or is blocked, repeat onlytask-input-inventory: one standalone source assertion/root/super-mario.mp4; routetarget=/root/mario_counting_inputs.json,allowed scope=Inventory the Mario video and the three template images into one task-local input manifest.,mutation=Write /root/mario_counting_inputs.json recording /root/super-mario.mp4 plus /root/coin.png, /root/enemy.png, and /root/turtle.png for the counting workflow., and localscoped check=Confirm the input manifest names the video and all three template images.. - After
task-input-inventorypasses, continue withkeyframe-extraction-batch: one standalone source assertion/root/mario_counting_inputs.json; routetarget=/root/keyframe_extraction.trace,allowed scope=Extract the keyframe batch from the inventoried Mario video and record the ordered frame series.,mutation=Run FFmpeg against the inventoried video, create /root/keyframes_%03d.png in timeline order, and record the extracted frame ids in /root/keyframe_extraction.trace., and localscoped check=Confirm /root/keyframes_001.png through /root/keyframes_008.png exist in order and the extraction trace is populated.. - If verification of
keyframe-extraction-batchfails or is blocked, repeat onlykeyframe-extraction-batch: one standalone source assertion/root/mario_counting_inputs.json; routetarget=/root/keyframe_extraction.trace,allowed scope=Extract the keyframe batch from the inventoried Mario video and record the ordered frame series.,mutation=Run FFmpeg against the inventoried video, create /root/keyframes_%03d.png in timeline order, and record the extracted frame ids in /root/keyframe_extraction.trace., and localscoped check=Confirm /root/keyframes_001.png through /root/keyframes_008.png exist in order and the extraction trace is populated.. - After
keyframe-extraction-batchpasses, continue withgrayscale-keyframe-overwrite: one standalone source assertion/root/keyframe_extraction.trace; routetarget=/root/keyframes_001.png,allowed scope=Convert the extracted keyframe batch to grayscale in place while preserving the numbered /root/keyframes_%03d.png paths.,mutation=Overwrite /root/keyframes_001.png through /root/keyframes_008.png in place with grayscale pixels and keep the frame paths unchanged., and localscoped check=Confirm the eight keyframes still exist at their numbered paths and each image is grayscale.. - If verification of
grayscale-keyframe-overwritefails or is blocked, repeat onlygrayscale-keyframe-overwrite: one standalone source assertion/root/keyframe_extraction.trace; routetarget=/root/keyframes_001.png,allowed scope=Convert the extracted keyframe batch to grayscale in place while preserving the numbered /root/keyframes_%03d.png paths.,mutation=Overwrite /root/keyframes_001.png through /root/keyframes_008.png in place with grayscale pixels and keep the frame paths unchanged., and localscoped check=Confirm the eight keyframes still exist at their numbered paths and each image is grayscale.. - After
grayscale-keyframe-overwritepasses, continue withper-frame-object-counts: one standalone source assertion/root/keyframes_001.png; routetarget=/root/frame_object_counts.trace,allowed scope=Count coins, enemies, and turtles on each grayscale keyframe and record the ordered per-frame counts.,mutation=Match /root/coin.png, /root/enemy.png, and /root/turtle.png against the grayscale keyframes and write /root/frame_object_counts.trace as ordered per-frame counts., and localscoped check=Confirm the counts trace has the eight frame ids in order with the expected coin, enemy, and turtle totals.. - If verification of
per-frame-object-countsfails or is blocked, repeat onlyper-frame-object-counts: one standalone source assertion/root/keyframes_001.png; routetarget=/root/frame_object_counts.trace,allowed scope=Count coins, enemies, and turtles on each grayscale keyframe and record the ordered per-frame counts.,mutation=Match /root/coin.png, /root/enemy.png, and /root/turtle.png against the grayscale keyframes and write /root/frame_object_counts.trace as ordered per-frame counts., and localscoped check=Confirm the counts trace has the eight frame ids in order with the expected coin, enemy, and turtle totals.. - After
per-frame-object-countspasses, continue withcounting-results-csv: one standalone source assertion/root/frame_object_counts.trace; routetarget=/root/counting_results.csv,allowed scope=Serialize the ordered per-frame counts into the final benchmark CSV.,mutation=Write /root/counting_results.csv from the ordered counts trace with columns frame_id, coins, enemies, and turtles., and localscoped check=Confirm the CSV header, row order, and per-frame counts match the required benchmark output.. - If verification of
counting-results-csvfails or is blocked, repeat onlycounting-results-csv: one standalone source assertion/root/frame_object_counts.trace; routetarget=/root/counting_results.csv,allowed scope=Serialize the ordered per-frame counts into the final benchmark CSV.,mutation=Write /root/counting_results.csv from the ordered counts trace with columns frame_id, coins, enemies, and turtles., and localscoped check=Confirm the CSV header, row order, and per-frame counts match the required benchmark output..
Inlined Stage 2: mario-coin-counting-scope-binder
Preserve the selected task route
Carry forward only the selected item's target, permitted paths, required action, and scoped check. Do not broaden to another task item or reconstruct a different route.
Inlined Stage 3: mario-coin-counting-authorized-continuation
Perform the selected task action
Perform exactly the selected route's required action at its stated target. Create or revise only that target and do not broaden to another task item, another output, a global check, or an unrelated helper.
Inlined Stage 4: mario-coin-counting-scope-verifier
Verify the selected task action
Run exactly the selected route's scoped check against its stated target. Use the result only to decide whether this same item needs repair or the next incomplete task item may be selected; do not broaden verification to other outputs.
Inlined Stage 5: mario-coin-counting-catalog-return-gate
Decide the next task step
If the scoped check passes, select the next incomplete task item. If it fails or is blocked, return only to that item for repair. Once all user-requested deliverables are complete and appropriately verified, finish normally; do not begin an additional revalidation cycle.
Completion
Complete any remaining task-native validation and report the task result truthfully. Do not create auxiliary workflow artifacts or perform a post-completion re-entry.
04 同仓库更多 Skills
video-silence-remover-scope-verifier
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation; not a startup, repair, or task-planning entrypoint.
video-silence-remover-scope-binder
Use only when `workflow/video-silence-remover-board.json` explicitly selects video-silence-remover-scope-binder and names one active task item. Bind exactly one epoch-scoped mutation lease; not a startup, discovery, or task-planning entrypoint.
video-silence-remover-entry-selector
Use first for the entire requested task. Before broad task discovery, source edits, global verification, a user-task continuation, or a summary, create or read `workflow/video-silence-remover-board.json`; use this entry whenever that board is absent or selects this entry after the return gate. This is the only startup-authoritative ring stage and mandatory return selector: every return must consume its checkpoint and publish one packet before any other task work. Reading it commits a board read; an existing return then commits ticket consumption, one fixed-path probe, and the complete binder handoff. The persistent board forbids cleanup and final response.
video-silence-remover-catalog-return-gate
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-catalog-return-gate and carries one scoped verifier status. Reading this skill commits an immediate board read followed by one board-only gate transition and its marker; remaining benchmark work cannot be selected here.
video-silence-remover-authorized-continuation
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-authorized-continuation and carries its matching active lease. Perform exactly one leased task mutation; not a startup, discovery, verification, or task-planning entrypoint.
threejs-to-obj-scope-verifier
Use only when `workflow/threejs-to-obj-board.json` selects threejs-to-obj-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation, then immediately hand its still-unaccepted receipt to the return gate; not a startup, repair, task-planning, or final-acceptance entrypoint.