CommunityProductivity & Collaborationgithub.com

pre-post-check

Check a short video, its cover and its per-platform captions before posting. Checks that promises in captions and cover text are delivered in the transcript, that the call to action matches across platforms, that caption length, hashtag count, title length, video duration and aspect ratio fit each platform (Instagram, TikTok, YouTube Shorts, Facebook, Threads, X, LinkedIn), and that AI-label, music and real-people or logo rules are handled. Prints a PASS/FIX table per platform. Use when the user says "check this before I post", "pre-post check", "is this ready to post", "will this fit on TikTok and Instagram", "do I need an AI label", "check my captions".

What is pre-post-check?

pre-post-check is a Claude Code agent skill that check a short video, its cover and its per-platform captions before posting. Checks that promises in captions and cover text are delivered in the transcript, that the call to action matches across platforms, that caption length, hashtag count, title length, video duration and aspect ratio fit each platform (Instagram, TikTok, YouTube Shorts, Facebook, Threads, X, LinkedIn), and that AI-label, music and real-people or logo rules are handled. Prints a PASS/FIX table per platform. Use when the user says "check this before I post", "pre-post check", "is this ready to post", "will this fit on TikTok and Instagram", "do I need an AI label", "check my captions".

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/umerdarazkha-debug/pre-post-check/tree/HEAD

Installed? Explore more Productivity & Collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Pre-post check

Run this once per video, right before scheduling. The script does the counting. You do the reading.

Inputs

  • Video file (mp4/mov).
  • Transcript (.srt, .vtt or .txt). If there is none, make one: uv run --python 3.12 --with faster-whisper --with "av<19" python3 -c "from faster_whisper import WhisperModel as M; [print(s.text) for s in M('small',device='cpu',compute_type='int8').transcribe('VIDEO.mp4')[0]]" > transcript.txt
  • Cover image path (optional).
  • captions.json: one caption per platform. Keys: instagram, tiktok, youtube_shorts, facebook, threads, x, linkedin. A value is a string, or {"title": "...", "description": "..."} (use this for youtube_shorts). Ask the user for any missing platform. Leave out platforms they do not post to.

Steps

  1. Read the cover image with the Read tool. Write down the text printed on it (one line per phrase) for --cover-text.
  2. Read the transcript. List, for yourself: every real person named or shown, every brand name or logo mentioned or visible on the cover, any music mentioned, and whether the voice or face is synthetic (AI voice, cloned voice, AI-generated or edited realistic footage).
  3. Write rights.json in the shape in references/rights-shape.md. Ask the user about anything you cannot tell (is the voice cloned? is the music licensed? do they have permission from the person on screen?). Do not guess "cleared": leave it false.
  4. Run from the skill folder:
python3 scripts/pre_post_check.py --video clip.mp4 --captions captions.json \
  --transcript transcript.srt --cover cover.png --cover-text "LINE ONE | LINE TWO" \
  --rights rights.json [--x-premium] [--json]

Exit code 0 means all PASS, 1 means at least one FIX, 2 means bad input. 5. Do the semantic consistency check yourself. The script only counts shared keywords, so it can miss a promise that is half kept.

  • For each caption and cover claim ("3 tips", "free template", "in 30 seconds", "the secret is..."), find the place in the transcript that delivers it. Quote the line.
  • A promised number must match the number delivered. A promised freebie must be shown or linked.
  • Check that the call to action means the same thing everywhere (follow, save, link in bio). A link in bio does not exist on X or LinkedIn captions: say so.
  • Add your findings to the script's "UNMATCHED" list. Mark each as delivered, missing or only partly delivered.
  1. Show the PASS/FIX table. Under each FIX say what to change, with the exact new text where you can (shorten caption, cut hashtags, re-export 9:16, tick the AI label).
  2. Print the rights checklist: what to label, what to swap, what to license.

What the script checks

  • Consistency: keyword overlap between each claim and the transcript (default 60 percent). Lists unmatched claims. Compares CTA families across platforms.
  • Limits: caption length, hashtag count, YouTube title length, duration, aspect ratio (via ffprobe, rotation aware). Values come from references/platform-limits.json.
  • Disclosure: references/disclosure-rules.json says which AI cases need a label on each platform. A label is a FIX unless rights.json lists the platform in disclosed_on.
  • Rights: uncleared real people or logos and unclear music licences are FIX on every platform.

Limits and honesty

  • Most platform limits are marked verified: false in references/platform-limits.json. Platforms change them. The script prints "UNVERIFIED RULE: check " whenever it relies on one. Tell the user to confirm those in the platform's own upload screen.
  • Verified from official pages (2026-11-26): YouTube Shorts length and shape, YouTube altered or synthetic content rules, Meta AI info label scope. TikTok's AI label page could not be read in full.
  • Keyword overlap does not understand meaning. Your reading is the real check.
  • This is a helper, not professional advice. Check the figures before you act.

Related Skills