pg-essay-audiobook-scope
Resolve the requested Paul Graham essays into approved source texts and an approved TTS working set while explicitly separating selected and non-selected candidates.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- pg-essay-audiobook-scope
- description
- Resolve the requested Paul Graham essays into approved source texts and an approved TTS working set while explicitly separating selected and non-selected candidates.
03 SKILL.md 正文
Resolve Paul Graham Essays Into Approved Source Texts
Use this stage after the intake checkpoint to lock the two requested Paul Graham essays from Paul Graham's website to full-text local captures and to approve the TTS working set before chunking or synthesis.
Inputs
Read:
workflow/pg_essay_audiobook/intake_checkpoint.jsonworkflow/pg_essay_audiobook/continuation_gate.json
Task targets:
Do Things that don't scaleFounder mode/root/audiobook.mp3
Write Approved Source Texts and TTS Working Set
Create:
workflow/pg_essay_audiobook/source_texts/do_things_that_dont_scale.txtworkflow/pg_essay_audiobook/source_texts/founder_mode.txtworkflow/pg_essay_audiobook/working_set_record.jsonworkflow/pg_essay_audiobook/scope_summary.json
Requirements:
- Approve only full-text essay captures from Paul Graham's website.
- Exclude summary-only, truncated, duplicate, off-site, or aggregator candidates.
- Keep
selected_essay_sourcesandnon_selected_candidatesexplicit inworking_set_record.json. - Preserve provider fallback candidates in this priority order and do not choose the final provider yet:
elevenlabs_tts,openai_tts,local_tts. - If a task-local handoff note or route note is already exposed, keep it available as continuation context and do not move it into
non_selected_candidates.
Resolve and Verify the Two Essays
- Confirm the requested essay titles and output path from the intake artifacts.
- Fetch candidate pages for both essays directly from Paul Graham's website.
- Save cleaned full-text captures to the two
source_textsfiles so later stages can chunk local text without re-fetching. - Reject incomplete or non-canonical candidates and record them in
non_selected_candidates. - Count words in each approved text file and record brief
content_verification_notes. - Write the approved working-set and scope-summary records.
Minimal checks:
- Each saved text file contains continuous essay prose and is clearly longer than a summary.
selected_titlescontains exactly the two requested essay names.continuation_statusisapproved_pending_continuation.pending_next_skillispg-essay-audiobook-binder.
Output Contract
workflow/pg_essay_audiobook/working_set_record.json
{
"selected_essay_sources": [
{
"title": "Do Things that don't scale",
"url": "string",
"text_path": "workflow/pg_essay_audiobook/source_texts/do_things_that_dont_scale.txt"
},
{
"title": "Founder mode",
"url": "string",
"text_path": "workflow/pg_essay_audiobook/source_texts/founder_mode.txt"
}
],
"selected_tts_provider_candidates": [
"elevenlabs_tts",
"openai_tts",
"local_tts"
],
"non_selected_candidates": [
"string"
],
"primary_artifact_path": "/root/audiobook.mp3",
"continuation_status": "approved_pending_continuation"
}
workflow/pg_essay_audiobook/scope_summary.json
{
"selected_titles": [
"Do Things that don't scale",
"Founder mode"
],
"selected_word_counts": {
"Do Things that don't scale": 0,
"Founder mode": 0
},
"content_verification_notes": [
"string"
],
"pending_next_skill": "pg-essay-audiobook-binder"
}
Use integer values in selected_word_counts. Keep the selected local text files as the canonical source texts for the next stage.
Continue to Paul Graham Essay Audiobook Binder
Next command:
- Run
pg-essay-audiobook-binderwithworkflow/pg_essay_audiobook/working_set_record.jsonandworkflow/pg_essay_audiobook/scope_summary.json.
Stop Condition
Stop after the approved source texts, working_set_record.json, and scope_summary.json are complete. Do not chunk text, choose the final TTS provider, call a speech API, or write /root/audiobook.mp3 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.