added
This commit is contained in:
commit
4eaec52904
55 files changed
+5044
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
name: media-intake
|
||||
description: Interview the owner about an audio or video folder before creating structured media assets. Inspect existing recording, TXT, and VTT files, collect missing metadata in one grouped intake, preserve unknowns, and hand off to structure-media for a local draft and human review.
|
||||
---
|
||||
|
||||
The user supplies a folder containing a recording plus its TXT and VTT speech-to-text files. Read the repository README and `templates/media-intake.md`. Inspect the folder and any existing intake/review records first. Do not ask the user to create JSON, run a web server, or provide metadata already in their prompt.
|
||||
|
||||
1. Run `scripts/folder_builder.py inspect --folder <folder>` to inventory sources, duration evidence, transcript alignment, and source hashes. Resolve ambiguous source sets with the user. Preserve all three originals unchanged.
|
||||
2. Prefill file-derived facts and inspect official source pages supplied by the user. Record page URLs as provenance. Treat filename titles/dates as candidates; STT names and URLs remain unverified unless supported elsewhere. Keep recording date separate from article/upload date. Extract page-supported participant spellings without silently correcting transcript text or assigning speaker labels. A public video does not establish reuse rights.
|
||||
3. Ask one grouped interview for missing useful information using the README checklist: identity/date/participants, purpose/audience/retrieval questions, links/supporting material, attribution/rights/sharing limits, and transcript quality. Consolidate into a small number of questions; accept a partial answer or “unknown.” Do not repeat questions already answered.
|
||||
4. Record the answers in `media-intake.json`, with field-level provenance and unresolved items. Unknown URLs, licenses, dates, speaker identities, or publication decisions remain null/unknown; do not substitute example-domain facts. The user may approve inferred descriptions/tags later. Resolve source ambiguity and requested sensitive-content exclusions before generating affected text. Missing optional publication facts do not block a local draft.
|
||||
5. Tell the user the assumptions that materially affect the draft. If optional questions remain unanswered after a reasonable opportunity to reply, preserve them as pending and continue independent work; an elapsed wait is not approval or an answer. Hand off to `skills/structure-media/SKILL.md` after intake, using the same answers rather than interviewing again.
|
||||
|
||||
The default deliverable is `structured/` inside the supplied folder, built for review. Building it does not mark the transcript, identity, rights, or derived answers approved, and does not publish anything. The existing public-site exporter is a later optional step after human review and real publication details exist.
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
name: structure-media
|
||||
description: 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/` or another new directory for revisions. Record unknowns and unfinished checks plainly. Human review follows the build. For a later public export, follow `PUBLICATION_WORKFLOW.md` and the approved-release commands in `docs/public-export.md`; this skill does not authorize Git pushes or deployment.
|
||||
Reference in new issue
Block a user