lake-warming-attribution-csv-finalizer
Write trend_result.csv and dominant_factor.csv from the resolved outputs packet, then record a compact write receipt for the two requested deliverables.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- lake-warming-attribution-csv-finalizer
- license
- MIT
- description
- Write trend_result.csv and dominant_factor.csv from the resolved outputs packet, then record a compact write receipt for the two requested deliverables.
02 资源文件 1
- 脚本scripts/write_from_packet.py6.1 KB
03 SKILL.md 正文
Lake Warming Attribution CSV Finalizer
Use this when artifacts/lake_warming_resolved_outputs_packet.json already exists and the remaining work is to write the two requested CSV deliverables from that packet authority.
Inputs
Prerequisite artifact:
artifacts/lake_warming_resolved_outputs_packet.json
Expected sink outputs:
/root/output/trend_result.csv/root/output/dominant_factor.csvartifacts/lake_warming_write_receipt.json
Output Contract
The resolved outputs packet is the default authority. Only reopen earlier artifacts if this packet is missing or malformed.
Required CSV schemas:
trend_result.csv:slope,p-valuedominant_factor.csv:variable,contribution
Required receipt top-level keys:
written_outputspacket_pathterminal_sink_handleswritten_valuesworkflow_status
Each written_outputs entry must include:
output_filerow_countsource_packet_key
The receipt must record the dominant_factor.csv sink handle and the source_fragment_handle used for that write.
Command
Run:
python skills/lake-warming-attribution-csv-finalizer/scripts/write_from_packet.py \
--packet artifacts/lake_warming_resolved_outputs_packet.json \
--trend-out /root/output/trend_result.csv \
--dominant-out /root/output/dominant_factor.csv \
--receipt artifacts/lake_warming_write_receipt.json
Stage Rules
- Do not recompute the warming trend or the dominant category from raw tables.
- Write both CSVs directly from packet-carried values.
- Preserve the exact requested column names and ordering.
- Stop after minimal file-existence and header verification.
Allowed Outputs
/root/output/trend_result.csv/root/output/dominant_factor.csvartifacts/lake_warming_write_receipt.json
Stop Condition
Stop when both CSVs exist with the exact requested headers and artifacts/lake_warming_write_receipt.json has been written with the required top-level keys.
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.