SkillsGrove
SkillsGrove/Видеопроизводство/phwannaseeu/video-copywriter-distill/video-copywriter-distill

video-copywriter-distill

Установка

$npx skills add https://github.com/phwannaseeu/video-copywriter-distill --skill video-copywriter-distill
$git clone --depth 1 https://github.com/phwannaseeu/video-copywriter-distill.git /tmp/video-copywriter-distill && mkdir -p ~/.claude/skills && cp -r /tmp/video-copywriter-distill/. ~/.claude/skills/video-copywriter-distill
Пожалуйста, установи для меня этот Agent Skill: https://github.com/phwannaseeu/video-copywriter-distill/tree/0d77a624a7b2eb589b4cd6fdc145134946906929/ — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MITExtract spoken copy from short-video share links or direct media URLs, normalize transcripts, analyze multi-sample short-video copywriting patterns, and generate similar-but-not-copied oral scripts. Use when the user provides Douyin/Xiaohongshu/Bilibili/Kuaishou links, direct video URLs, pasted transcripts, subtitles, CSV/JSON/Markdown sample notes, or batches of short-video materials and wants transcript extraction, hook analysis, style DNA, script formulas, imitation drafts, or a reusable short-video copywriting system.
Приведённый ниже SKILL.md воспроизведён из phwannaseeu/video-copywriter-distill (коммит 0d77a62) под лицензией MIT. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 phwannaseeu. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

Video Copywriter Distill

Core Purpose

Turn short-video samples into a reusable spoken-copywriting system. Preserve the creator's structure, rhythm, hook logic, audience pressure, and conversion intent while avoiding close copying of protected wording.

Use this skill as an orchestration layer:

  • Treat share links and direct media URLs as extractable inputs when runtime dependencies are available.
  • Treat transcripts, subtitles, and pasted spoken copy as first-class inputs.
  • Define "copy extraction" as full spoken-audio transcription, not title/caption/hashtag extraction.
  • Do not ask the user to paste transcripts before attempting bundled link extraction.
  • Do not direct the user to open a mobile app, expand captions, copy subtitles, or use a separate skill before attempting bundled audio transcription.
  • Analyze each sample separately before synthesizing cross-sample rules.
  • Generate new scripts from reusable patterns, not from distinctive lines.

Link Transcription Contract

This skill is self-contained for link-to-copy extraction. It vendors the parser under scripts/vendor/parse_video_py and transcribes audio with local Whisper through scripts/extract_copy.py.

When a user provides a video link or direct media URL and asks for copy extraction, transcript extraction, analysis, distillation, imitation, or generation:

  1. Run the bundled extraction command first.
  2. Use the current skill directory, not any external skill directory.
  3. Treat only corrected_transcript or transcript as spoken copy.
  4. Never satisfy the request with title, caption, description, hashtags, or platform labels.
  5. Never ask the user to provide subtitles/transcripts until the bundled extraction command has actually failed.
  6. Before presenting any transcript, correct obvious ASR errors using context (product and tool names, numbers, common phrases). Keep the speaker's wording and sentence structure; do not rewrite into a polished article. Mark any uncertain names, numbers, or claims as needs_verification.

Use these commands from the skill directory:

python scripts/extract_copy.py --url "<share text or URL>" --mode both --model tiny --json

For WorkBuddy/CodeBuddy runtimes that support skill directory placeholders, use:

python "${CODEBUDDY_SKILL_DIR}/scripts/extract_copy.py" --url "<share text or URL>" --mode both --model tiny --json

For metadata troubleshooting only:

python "${CODEBUDDY_SKILL_DIR}/scripts/extract_copy.py" --url "<share text or URL>" --mode parse

Do not use metadata troubleshooting as a substitute for spoken-audio transcription.

ASR Correction

Whisper tiny output is raw ASR and often contains homophone or entity errors. Before delivering a transcript, correct obvious errors using the video's context: titles, captions, platform names, tool names, numbers, and repeated phrases are reliable clues.

  • Fix obvious homophones and entity errors only when context makes the correction clear (for example, a tools-review video discussing "Codex" should not keep GOTX, COTX, or Cardex).
  • Keep the speaker's spoken wording and structure. Do not polish, reorder, or expand the content.
  • If a word is unclear and context is insufficient, keep the raw text and mark it needs_verification instead of guessing.
  • Present the corrected transcript as the spoken copy; retain the raw ASR as a reference when useful.

Speed and Model Policy

  • Use Whisper tiny by default for link extraction. This matches the bundled parser/transcriber workflow and keeps short-video extraction responsive.
  • Do not automatically retry with a larger Whisper model just because the first transcript has ASR noise.
  • Do not run --mode both more than once for the same URL in one task unless the user explicitly asks for a higher-quality word-for-word transcript.
  • If the tiny transcript is noisy but usable, correct obvious ASR errors using context before presenting or analyzing it, then continue with analysis and mark unclear names, numbers, and phrases as needs_verification. Do not retry with a larger model just because of ASR noise.
  • If the user explicitly asks for higher quality, warn that larger Whisper models are much slower, then run one deliberate retry with the requested model.

Workflow

  1. Normalize inputs.

    • Accept short-video share links, direct media URLs, pasted transcripts, subtitles, Markdown notes, JSON records, text files, CSV-like tables, or link-plus-transcript bundles.
    • For link-only inputs, run scripts/extract_copy.py first. Do not ask for pasted copy before this attempt. Also do not ask for subtitles, App-expanded captions, or another skill before this attempt.
    • If required dependencies are missing, tell the user to run pip install -r requirements.txt and to install ffmpeg with the platform command (Windows: winget install Gyan.FFmpeg; macOS: brew install ffmpeg; Linux: sudo apt update && sudo apt install -y ffmpeg), restart the terminal if needed, verify with ffmpeg -version, then retry extraction.
    • If extraction fails because the post is image-only, private, expired, region-limited, login-gated, or blocked by platform changes, report that specific failure and keep the URL as source metadata.
    • For raw text, label the source as manual_transcript.
  2. Extract copy from links when needed.

    • If the user asks to extract copy, transcript, spoken script, oral script, or full video copy, run full extraction with python scripts/extract_copy.py --url "<share text or URL>" --mode both --model tiny --json.
    • In WorkBuddy/CodeBuddy, prefer python "${CODEBUDDY_SKILL_DIR}/scripts/extract_copy.py" --url "<share text or URL>" --mode both --model tiny --json so the command works no matter where the conversation is opened.
    • Do not automatically switch to base, small, medium, or large after a successful tiny transcription. Larger models may be used only after the user explicitly asks for higher-quality transcription.
    • Use metadata-only parsing with python scripts/extract_copy.py --url "<share text or URL>" --mode parse only when the user explicitly asks for metadata, video URL, title, cover, author, or troubleshooting.
    • Use --mode transcribe when the input is already a direct .mp4, .m3u8, or platform play URL.
    • Do not treat title, caption, description, hashtags, series names, or platform labels as the extracted copy.
    • A successful extract output must include a non-empty corrected_transcript or transcript field produced from the audio.
    • Treat extracted text as raw ASR. Correct obvious punctuation, segmentation, and entity errors only when context makes the correction clear.

No Manual Transcript First

When the user gives one or more video links and asks to extract, analyze, distill, imitate, or generate from them:

  1. Attempt bundled extraction before requesting any pasted transcript.

  2. For each link, produce one of these statuses:

    • transcribed: audio was converted into corrected_transcript.
    • metadata_only: only title/author/video URL was resolved; this is not usable as spoken copy.
    • failed: extraction or transcription failed; include the actionable reason.
  3. Continue analysis only for samples with non-empty corrected_transcript or transcript.

  4. Ask the user for pasted copy only after extraction has failed or dependencies cannot be installed in the current runtime.

  5. If the runtime lacks Bash/Python execution, state that the installed skill runtime cannot execute its bundled transcription script. Do not tell the user that this skill requires another skill.

  6. Build a sample corpus.

    • If the user provides many samples, create a compact table with source, topic, audience, hook type, core promise, structure, and conversion goal.
    • If a workspace corpus is useful, use scripts/prepare_corpus.py to merge .txt, .md, or .json sample files into one reviewable Markdown corpus.
  7. Analyze each sample.

    • Use references/analysis-schema.md when producing per-sample extraction.
    • Correct obvious ASR punctuation and entity errors using context before analysis, but do not rewrite the speaker's wording into polished prose.
    • Mark uncertain names, numbers, claims, and case details as needs_verification.
  8. Distill cross-sample rules.

    • Compare hooks, narrative order, sentence length, rhetorical devices, emotional curve, proof style, and closing pattern.
    • Separate reusable style from factual claims.
    • Extract formulas that can generate new scripts in the same genre without copying unique phrasing.
  9. Generate similar copy.

    • Ask for the target topic, audience, platform, desired duration, and conversion goal if missing and materially needed.
    • If the user wants immediate output, assume a 45-60 second Chinese short-video oral script.
    • Use references/output-templates.md when the user wants a structured deliverable, reusable prompt, or repeatable generation package.
    • Follow the distilled formulas and include a brief rule trace after the draft unless the user asks for final copy only.
  10. Quality check.

    • Use references/generation-rubric.md.
    • Check: hook strength, spoken rhythm, structural similarity, originality, factual uncertainty, platform fit, and conversion clarity.

Output Modes

  • extract: full spoken-audio transcript plus source metadata. Never satisfy this mode with only title, caption, hashtags, or table metadata.
  • inspect: metadata only, used for troubleshooting source URL, title, author, cover, and resolved video URL.
  • analyze: per-sample structured analysis.
  • distill: cross-sample style DNA, formulas, phrase banks, anti-patterns.
  • generate: new oral script based on distilled rules.
  • package: a reusable prompt/template or Skill-ready ruleset for future writing.

Choose the smallest useful output for the user's request.

Per-Sample Minimum Fields

source:
platform:
title:
author:
corrected_transcript:
topic_tags:
target_audience:
opening_hook:
core_claim:
script_structure:
emotion_curve:
proof_style:
conversion_goal:
notable_phrases:
reusable_rules:
needs_verification:

If corrected_transcript is empty, do not analyze the sample as spoken copy. Mark the transcript as missing and either retry transcription or ask for the spoken text.

Generation Rules

  • Write for spoken delivery, not essay reading.
  • Keep sentence groups short and easy to say aloud.
  • Preserve the learned rhythm and structure, but avoid copying rare metaphors, signature catchphrases, or highly distinctive lines.
  • Reuse formulas, not surface wording.
  • Do not invent statistics, cases, policies, prices, or named sources. Use placeholders or mark needs_verification when facts are missing.
  • For Chinese social content, prefer clear stance, concrete pain point, quick contradiction, stepped explanation, and a memorable close.

Resources

  • Read references/analysis-schema.md when extracting sample-level features or building a sample table.
  • Read references/input-formats.md when normalizing links, pasted samples, subtitle text, JSON records, or link-plus-transcript bundles.
  • Read references/generation-rubric.md before finalizing generated scripts or reusable writing templates.
  • Read references/output-templates.md when packaging analysis, distilled rules, generated scripts, or reusable prompts.
  • Read references/platform-workflows.md when adapting scripts for Douyin, Xiaohongshu, Bilibili, Kuaishou, or generic short-video channels.
  • Use scripts/prepare_corpus.py when the user provides multiple local transcript files and wants them merged into one analysis corpus.
  • Use scripts/extract_copy.py before asking for manual transcripts when the user provides supported share links or direct media URLs and wants spoken copy extracted.
Полный текст лицензии (MIT)
MIT License

Copyright (c) 2026 phwannaseeu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.