Transcript Cleaner — Turn Captions into Readable Prose

    by 程向阳

    1

    Feed it an SRT, a WebVTT, a YouTube transcript paste, or timestamped text; get back clean paragraphs — timestamps stripped, rolling-caption duplication undone, speakers labelled, every spoken word present exactly once.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Transcript Cleaner — Turn Captions into Readable Prose

    Example session with this skill installed

    Clean this YouTube transcript file sample/rolling.vtt and save it to the output folder. Ensure the max gap between paragraphs is 1.5 seconds.

    • Read your context and instructions
    • Compiled the transcript cleaner

    Turned the subtitle/transcript dump into readable prose: clean.md and clean.txt with timestamps stripped, rolling-caption duplication removed, paragraphs rebuilt from pauses and sentence ends, speakers labelled, plus summary.json with format, counts, duration and speakers.

    clean.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Nobody reads raw transcripts. A one-hour talk exports as 2,000 fragments, half of them timestamps, and if the captions came from YouTube's auto-captioner, every line is printed two or three times as the text rolls. The words are all there — they're just unusable.

    Transcript Cleaner rebuilds the document the recording was always supposed to be:

    • Four formats, auto-detected. SRT files, WebVTT (including header-less fragments), YouTube "Open transcript" copy-paste text, and plain text with a timestamp on each line. No flags, no conversion step — it recognises what you hand it.
    • Rolling duplication, undone properly. Auto-captions repeat the previous line and append a few words. The cleaner keeps only the new tail of each cue — string-prefix extensions trimmed, word-level overlaps merged — so every word survives exactly once, in order.
    • Paragraphs from the recording's own signals. New paragraphs start where the speaker paused longer than --max-gap seconds (default 2.0, adjustable), where a sentence actually ended, and where the speaker changed. Not every 40 words, not one giant block — where the talk itself breathes.
    • Speakers kept, if you want them. <v Name> tags in VTT and Name: prefixes elsewhere become paragraph labels (**Name:** in Markdown). --no-speakers drops the labels for a clean single-voice read.
    • A receipt, not just an output. Alongside clean.md and clean.txt you get summary.json: format detected, lines in → paragraphs out, character and word counts, duration, and the speaker list.

    Fully offline, zero dependencies. One Node.js program (Node 22+, standard library only). Your transcripts never leave your machine — which matters, because transcripts are usually of things that were never published. Runs in demo mode on the bundled samples (a rolling-caption VTT and an SRT interview); a license key unlocks your own files.

    Honest limits: paragraph breaks are heuristics — a dramatic mid-sentence pause will split a paragraph, and a speaker who never pauses produces a long one. It removes duplication and scaffolding; it does not fix mis-heard words, invent punctuation, or translate. Timestamps are discarded by design, and your original file is never modified.

    Paragraph breaks depend on existing punctuation and silence gaps. Speaker detection uses heuristics on prefixes. Deduplication might rarely merge adjacent non-duplicate cues sharing 2+ words.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    Software
    Node.jstranscriptsubtitlessrtvttyoutube-captionstext-cleanuppodcastaccessibilityoffline

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Listed9 days ago

    What's inside

    Creator

    程向阳

    程向阳

    9 skills on Agensi

    Frequently Asked Questions

    This skill handles SRT, WebVTT, and raw YouTube copy-pastes, and it is specifically designed to fix 'rolling captions' where text repeats every few seconds—a common issue that standard LLM prompts often fail to solve.

    It is an offline Node.js script (v22+) with zero external dependencies, making it compatible with any local environment or AI agent capable of executing shell commands and scripts.

    The skill uses deterministic logic to ensure every word from the source is preserved; unlike an LLM, it will never hallucinate, skip sentences, or summarize your content unless you tell it to.

    You receive the full Node.js source code for the skill, a detailed README for configuration, and lifetime access to any future updates or bug fixes released by the developer.

    No, this tool focuses on structural cleaning; it preserves the original text exactly as it appears, meaning it will not add missing periods or fix spelling errors made by the speech-to-text engine.

    Yes, you can use the `--max-gap` parameter to define how many seconds of silence should trigger a new paragraph, allowing you to customize the 'flow' of the output document.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.