pb-social-pack
Installation
SKILL.md
Release social pack
Part of pb-content-studio (step f: social pack). What you get: posts per platform and clip cut-downs from your release recap, every claim traceable to a fact, handed off for publishing after your GO.
Inputs
- recap — release notes, or a pb-ship / pb-release-aos run log
- platforms — for example LinkedIn, X, Instagram, YouTube Shorts
- launch_video (optional) — an mp4 from pb-launch-video; without it the pack is posts only and step 4 is skipped; pb-launch-video renders with hyperframes when installed, else with the remotion skill
- formats (optional) — default 9:16 (1080x1920), 1:1 (1080x1080) and 16:9 (1920x1080)
Steps
- Preflight —
test -d ~/.claude/skills/content-engine; absent → log "content-engine not installed: copywriting fallback" and continue. With launch_video:command -v ffmpegandcommand -v ffprobe; either missing → stop with "Missing tool: . Install ffmpeg and rerun." and write nothing except the run log — probes answered - Ask — recap path, platforms, slug, launch_video, formats → run log — all answered, recap file exists
- quick-recap — recap →
social/<slug>/facts.md, one numbered fact per line with its source line in the recap; no fact without a source — file written - content-engine (if present) or copywriting — facts.md →
social/<slug>/posts.mdper platform, each claim tagged[F<n>]— every claim has a tag that exists in facts.md — stops for approval - ffmpeg — launch_video →
social/<slug>/clips/<name>_<WxH>.mp4per format and per requested cut, for exampleffmpeg -ss <start> -t <seconds> -i <video> -vf "scale=<W>:<H>:force_original_aspect_ratio=increase,crop=<W>:<H>" -c:a copy <out>, thenffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=p=0 <out>— ffprobe equals the asked WxH for every clip; on a mismatch stop with "clip has WxH, expected ...", do not publish - [GO] publish — platforms, post texts and the full clip list shown. The run stops here until the human types GO. No publish MCP exists, so the GO releases the hand-off: posts, clips and captions in
social/<slug>/publish.md; upload is manual unless the human named a tool in step 2 — hand-off file written
Run log: production_artifacts/pb-social-pack-<date>.md in the start directory, never committed