Files
2026-10-18 09:21:12 -06:00

3.7 KiB

name, description
name description
structure-media Build draft chunks, grounded Q&A, chapters, and discovery assets inside an audio/video folder after metadata intake. Use existing recording, TXT, and VTT files; leave the result for human review and preserve unknown publication facts.

Read README.md, docs/workflow.md, the folder's intake record, and its VTT/TXT. Complete skills/media-intake/SKILL.md first if intake has not occurred. Use schemas/ for field details. Run commands from the template repository root; the supplied recording folder can be anywhere authorized by the user.

The recording, TXT, and VTT are already supplied. Preserve their bytes and filenames. This skill does not retranscribe, download, move, or publish them. Use VTT for timing and exact quoted words; compare TXT and report differences rather than rewriting either source. Inspect the whole transcript, including limitations, Q&A, and closing context. Flag STT errors and visual information unavailable from audio.

Use folder_builder.py seed to initialize a draft plan only when none exists. Author conceptual chunks that collectively cover every included cue exactly once. Use topic boundaries and self-contained retrieval units, not a single whole-recording chunk or arbitrary time windows. Preserve existing semantic IDs when meaning continues; increment changed chunk versions. For splits/merges assign new IDs and record prior IDs in supersedes. Never regenerate all identities from ordinal positions or timestamps.

Write Q&A that helps a person or agent retrieve useful information. Ground each answer in exact quotes and correct chunk/cue references. Label extractive versus synthesized answers and cite every material supporting source. If the recording does not answer a question, omit it or explicitly describe the stated limitation with evidence. Do not invent decisions, tasks, attribution, facts, confidence, or visually presented content from speech alone.

Chapters describe navigation, not necessarily every semantic chunk. Choose ordered, non-overlapping cue ranges. Summaries, Q&A, and labels are interpretations; exact chunk text is materialized by the script.

Build with folder_builder.py build --folder <folder> --intake <folder>/media-intake.json --plan <folder>/structure-plan.json --output <folder>/structured. Keep review status draft. Supply an accurate overview, grounded Q&A, useful topic tags, chapters, and a concise review checklist calling out unconfirmed identities, numbers, source artifacts, and missing metadata. A local draft must not be blocked by missing hosted URLs or publication approval. Never invent human review or rights clearance to satisfy a schema.

Run folder-export verification, cue coverage, exact quote checks, source-hash readback, and representative retrieval checks. Return direct links to structured/README.md and structured/review.md. Leave existing outputs intact; use structured-002/ for revisions. Record unknowns and unfinished checks plainly. Human review follows the build.

After the user explicitly approves a specific draft, use folder_builder.py finalize with the source/output, intake, plan, reviewer, timezone-aware timestamp recording approval, and exact approval evidence. Verify the final package and return its README and approval record. If the draft inputs changed, rebuild and obtain review of the changed content. Do not infer approval from silence or a timestamp. Retain documented limitations and draft history. Approval does not establish recording rights or authorize publication. The finalization workflow uses checksums and recorded evidence, not an authenticated signature.

For a later public export, follow PUBLICATION_WORKFLOW.md and docs/public-export.md; this skill does not authorize Git pushes or deployment.