clean-transcription
Clean up a raw whisper transcript (SRT or TXT) — strip filler words, fix recurring mistranscriptions via a per-project glossary, and (optionally) re-flow line…
Skill by danielrosehill
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielrosehill-clean-transcription
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/clean-transcription
Tools it pre-approves 15
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash(test*),Bash(mkdirBash(jqBash(realpathBash(basenameBash(dirnameBash(sedBash(awkBash(grepBash(wcBash(cp
Show 3 more
Read,Write,Edit
What's inside
- Skill name
clean-transcription- Description
- Clean up a raw whisper transcript (SRT or TXT) — strip filler words, fix recurring mistranscriptions via a per-project glossary, and (optionally) re-flow line breaks. Use when the user says "clean this transcript", "remove the ums", "fix the transcription", "tidy up the SRT before burning". Pairs with burn-subtitles (run before burning) and generate-deliverables.
- License
- MIT
- Allowed tools
- Bash(test, *),, Bash(mkdir, *),, Bash(jq, *),, Bash(realpath, *),, Bash(basename, *),, Bash(dirname, *),, Bash(sed, *),, Bash(awk, *),, Bash(grep, *),, Bash(wc, *),, Bash(cp, *),, Read,, Write,, Edit
- Instructions
- 98 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Clean Transcription
Two-stage cleanup:
1. **Heuristic** — regex pass over filler words, repeated stutters, all-caps shouting, and a per-project glossary of known mistranscriptions.
2. **LLM polish** (optional) — Claude rewrites cues for grammar/punctuation while preserving timing.
Output is a parallel file: `<basename>.clean.srt` (or `.clean.txt`). Original is never modified.
## Procedure
### 1. Inputs
| Field | Default |
|-------|---------|
| Source | required (`.srt` or `.txt`) |
| Mode | `heuristic` (default) / `llm` / `both` |
| Glossary | `<project>/subtitles/glossary.json` if present; or path supplied inline |
| Output | sibling `<basename>.clean.<ext>` |
### 2. Heuristic pass
#### Filler words
Default list (case-insensitive, word-boundary):
```
um, uh, erm, ah, like, you know, sort of, kind of, basically, literally, I mean, right
```
Don't blanket-strip — `like` and `right` have legitimate uses. Strip only when surrounded by sentence-internal commas / mid-cue ("..., um, ..."). For SRT input, operate per-cue text without touching the index or timing lines.
```bash
# Per-cue text only — preserve "N\n00:00:01,000 --> 00:00:03,000\n..." structure
awk 'BEGIN{RS="\n\n"; ORS="\n\n"} {
n=split($0, lines, "\n");
for(i=3;i<=n;i++) {
gsub(/\<(um|uh|erm)\>[ ,]*/, "", lines[i])
gsub(/ +/, " ", lines[i])
}
for(i=1;i<=n;i++) printf "%s%s", lines[i], (i==n?"":"\n")
}' "$SRC" > "$OUT"
```
#### Stutters
Collapse adjacent identical short tokens: `the the cat` → `the cat`. Only collapse 1–4 character tokens (don't merge `really really good`).
#### Glossary
`glossary.json` is a list of `{wrong, right}` pairs. Apply as literal substitutions (not regex) unless explicitly marked.
```json
{
"substitutions": [
{ "wrong": "claud", "right": "Claude" },
{ "wrong": "ml flow", "right": "MLflow" },
{ "wrong": "kdenlive", "right": "Kdenlive", "case_insensitive": true }
]
}
```
Walk the array and apply with `sed`. For SRT, again confine to text lines.
### 3. LLM polish (optional)
When mode is `llm` or `both`, ask Claude to rewrite cue text in place. Constraints:
- Preserve cue index and timestamps verbatim. Do not merge or split cues.
- Stay within the original cue's character budget × 1.1 (small leeway). If it must shrink, that's fine.
- Fix punctuation, capitalisation, obvious grammar. Don't paraphrase or summarise.
- Keep proper nouns and technical terms exactly as they appear in the glossary.
Process cues in batches of ~30 to keep context tight. After each batch, validate that cue count and timestamp lines are unchanged before writing.
### 4. Diff + report
Show before/after stats and a small sampled diff (5 random cues):
```
Source : in.srt — 142 cues, 8.2 KB
Output : in.clean.srt — 142 cues, 7.4 KB
Heuristic: removed 38 fillers, 6 stutters, applied 12 glossary subs
LLM polish: 142 cues rewritten
Sample diff (cue 27):
- Um, so the the thing is, you know, we want to..
+ The thing is, we want to..
```
Always validate cue count is unchanged. If it isn't, abort and keep `.tmp` for inspection.
## Notes
- For TXT input (plain transcript, no timing), skip the SRT-aware structure-preserving logic and run the same passes line-by-line.
- LLM polish on a long transcript is the slow step. For big files, run heuristic first, ask the user if they want to also LLM-polish.
- Glossary lives at the project level, not the data store — the right vocabulary is project-specific (one project's "Daniel" is another's "Daniela").From danielrosehill/Claude-Video-Editor-Plugin, MIT.
More from danielrosehill/Claude-Video-Editor-Plugin
- 0.418score
mkv-strip-tracks
danielrosehill
Remove unwanted tracks (audio, subtitle, video) from a Matroska container and save a new, smaller file.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
agentic-edit
danielrosehill
Run an agentic / LLM-driven cut-down on a long video — "make a 60-second highlight reel of this hour-long stream", "cut the boring parts from this lecture"…
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
audio-analysis
danielrosehill
Extract audio from a video (or analyze a standalone audio file) and report loudness — integrated LUFS, true peak (dBTP), loudness range — against a target…
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
audio-to-music-video
danielrosehill
Turn an audio file into a music video by compositing a waveform / spectrum / circular-CQT animation over cover art or a background.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
auto-cut-silences
danielrosehill
Remove silent / dead-air segments from a video or audio file using auto-editor.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
burn-graphics
danielrosehill
Overlay graphics onto a video — lower thirds, watermarks/logos, image overlays, or text titles — at specified timestamps.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
burn-subtitles
danielrosehill
Generate subtitles (whisper.cpp / faster-whisper) for a video and either save the SRT alongside or burn them into the picture.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
create-render-profile
danielrosehill
Build a named, reusable render profile (codec + resolution + bitrate/QP + container) by iterating on a 30-second test clip until file size and quality are…
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
cut-segment
danielrosehill
Extract one or more time-range segments from a video.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
dedupe-clips
danielrosehill
Find duplicate or near-duplicate clips in a folder.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
delete-render-profile
danielrosehill
Delete a saved render profile by name.
SkillCFreshness: C★ 6Claude Code +9 - 0.418score
deps-setup
danielrosehill
Install optional video-editing tools (moviepy, auto-editor, video-use, VideoAgent, vit, LosslessCut, editly) plus media-inspection helpers (exiftool…
SkillCFreshness: C★ 6Claude Code +9
Signals
- Stars
- 6
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 30, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from danielrosehill
- 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
onboard
danielrosehill
First-run onboarding for the adb-ops plugin.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
clean-transcription skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-clean-transcription (last updated 2026-10-24)