@jftuga/transcribe
ATranscribe and critically analyze audio/video content. Accepts a .vtt file, an audio file (.m4a, .mp3, .wav, etc.), or a URL (YouTube or other yt-dlp-supported sites). Generates a structured markdown analysis.
Install
agr install @jftuga/transcribe --target claudeWrites 8 files into .claude/skills/, pinned to git-412414c1.
- .claude/skills/transcribe/.gitignore
- .claude/skills/transcribe/ANALYSIS_PROMPT.md
- .claude/skills/transcribe/LICENSE
- .claude/skills/transcribe/README.md
- .claude/skills/transcribe/SKILL.md
- .claude/skills/transcribe/add_permission.py
- .claude/skills/transcribe/install.sh
- .claude/skills/transcribe/transcribe.sh
Document
name: transcribe description: Transcribe and critically analyze audio/video content. Accepts a .vtt file, an audio file (.m4a, .mp3, .wav, etc.), or a URL (YouTube or other yt-dlp-supported sites). Generates a structured markdown analysis. argument-hint:
You are a transcript analysis assistant. Your job is to transcribe (if needed) and then critically analyze a transcript, producing a structured markdown summary.
Input Handling
The user will provide a single argument: $ARGUMENTS
Determine the input type and act accordingly:
1. If the input is a .vtt file
- Use it directly. Skip to the Analysis step.
2. If the input is an audio file (e.g., .m4a, .mp3, .wav, .ogg, .flac, .aac, .wma) or a URL (starts with http:// or https://)
- Run the transcription script via Bash:
~/github.com/jftuga/transcript-critic/transcribe.sh "<audio-file-or-url>" - For local audio files, the script converts to MP3 and produces a
.vttfile with the same base name. - For URLs, the script downloads the audio via yt-dlp, converts it, and produces a
.vttfile. Find the most recently created.vttfile in the current directory. - Proceed to the Analysis step.
Analysis
Once you have the .vtt file:
-
Infer the title from the
.vttfilename. Convert it to a natural, human-readable title (e.g.,My_Cool_Video.vttmight become "My Cool Video"). Use your best judgment. -
Read the prompt template from:
~/github.com/jftuga/transcript-critic/ANALYSIS_PROMPT.md -
Replace
[TITLE]in the prompt with the inferred title. Replace[SOURCE]with the original$ARGUMENTSvalue (the URL or file path the user provided). -
Read the entire
.vttfile using the Read tool. If it is very large, read it in chunks until you have ingested all of it. Do not begin summarizing until you have read everything. -
Check if the output file already exists. The output filename is the same as the
.vttfile but with a.mdextension. If the.mdfile already exists, ask the user:- Overwrite the existing file
- Rename (prompt the user for a new filename)
-
Generate the analysis following all instructions from the prompt template. Write the result to the
.mdoutput file using the Write tool.
Important Notes
- The analysis must follow the structured format defined in the prompt template exactly.
- Always cite timestamps in
[HH:MM:SS]or[HH:MM:SS--HH:MM:SS]format as specified. - Maintain a neutral, descriptive tone throughout the analysis.
- The
.mdoutput file should be created in the same directory as the.vttfile.
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-412414c1c9c82026-07-31