pg-essay-audiobook-checkpoint
Freeze the requested Paul Graham essays, the /root/audiobook.mp3 target, and the provider fallback order into a canonical intake record before fetching or synthesis.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- pg-essay-audiobook-checkpoint
- description
- Freeze the requested Paul Graham essays, the /root/audiobook.mp3 target, and the provider fallback order into a canonical intake record before fetching or synthesis.
03 SKILL.md 正文
Paul Graham Essay Audiobook Checkpoint
Use this stage before any essay-page lookup, text extraction, or TTS call. The goal is to freeze one canonical source list, one output target, and one provider fallback order so later stages do not drift.
Inputs
- Task instruction naming
Do Things that don't scaleandFounder mode - Primary deliverable target
/root/audiobook.mp3 - Provider fallback order
elevenlabs_tts,openai_tts,local_tts
Outputs
workflow/pg_essay_audiobook/intake_checkpoint.jsonworkflow/pg_essay_audiobook/continuation_gate.json
Output Contract
Write workflow/pg_essay_audiobook/intake_checkpoint.json with exactly these keys and values:
{
"task_id": "pg-essay-to-audiobook",
"requested_essays": [
"Do Things that don't scale",
"Founder mode"
],
"output_path": "/root/audiobook.mp3",
"provider_preference_order": [
"elevenlabs_tts",
"openai_tts",
"local_tts"
],
"status": "checkpointed"
}
Write workflow/pg_essay_audiobook/continuation_gate.json with exactly these keys and values:
{
"current_record": "workflow/pg_essay_audiobook/intake_checkpoint.json",
"next_skill": "pg-essay-audiobook-scope",
"required_before_progress": [
"resolve requested essay pages",
"approve working set"
]
}
Stage Command
python - <<'PY'
import json
import os
base = "workflow/pg_essay_audiobook"
os.makedirs(base, exist_ok=True)
intake_checkpoint = {
"task_id": "pg-essay-to-audiobook",
"requested_essays": [
"Do Things that don't scale",
"Founder mode",
],
"output_path": "/root/audiobook.mp3",
"provider_preference_order": [
"elevenlabs_tts",
"openai_tts",
"local_tts",
],
"status": "checkpointed",
}
continuation_gate = {
"current_record": "workflow/pg_essay_audiobook/intake_checkpoint.json",
"next_skill": "pg-essay-audiobook-scope",
"required_before_progress": [
"resolve requested essay pages",
"approve working set",
],
}
for name, payload in {
"intake_checkpoint.json": intake_checkpoint,
"continuation_gate.json": continuation_gate,
}.items():
with open(os.path.join(base, name), "w", encoding="utf-8") as f:
json.dump(payload, f, indent=2)
f.write("\n")
PY
Handoff
- Treat
workflow/pg_essay_audiobook/intake_checkpoint.jsonas the current working record. - Continue with
pg-essay-audiobook-scope. - Use
workflow/pg_essay_audiobook/continuation_gate.jsonto confirm the next obligation: resolve requested essay pages, then approve the working set.
Stop Condition
Stop when both files exist with the exact field names shown above and status is still checkpointed. Do not fetch essay text, choose essay URLs, synthesize audio, or mark the task completed in this stage.
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.