executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
analyze-socialUse when the user shares a social video/post link or local video and wants it understood — an Instagram (instagram.com), TikTok (tiktok.com), YouTube or YouTube Shorts (youtube.com/youtu.be), or X/Twitter (x.com/twitter.com) URL, or a local .mp4/.mov file, OR when they say "analyze/watch/transcribe this video/reel/post." Downloads it, transcribes the audio,…
Independent GitHub snapshot · Automated classification · Original documentation governs
Turns a social link (or local video) into material you can actually read: sampled frames you view with native vision, a full transcript, and the post's caption. Then you write a thorough breakdown. A bundled cross-platform Python pipeline does the fetching/transcribing; you do the understanding.
Run the pipeline (use the Bash tool):
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/analyze.py" "<URL or local file path>"
--no-transcribe (frames + caption only, faster), --target-frames N, --lang <code>.Read the printed result block. It ends with ERROR_CODE, BUNDLE, TYPE, FRAMES, TRANSCRIPT. Handle the error code:
NEEDS_LOGIN → the content is private/login-walled. Ask the user: "Which browser are you logged into that platform on? (chrome / firefox / safari / edge / brave)" then re-run with --cookies-from-browser <browser>. Only do this when the user has opted in — reading browser cookies is sensitive and may trigger a keychain prompt.RATE_LIMITED → tell them to wait a few minutes, or retry with --cookies-from-browser to use their logged-in session.SETUP_FAILED → show the MESSAGE (usually a one-line command to install ffmpeg) and offer to run it.none → success, continue.Load the bundle. Read manifest.json (the contract) from the BUNDLE path, then:
meta.txt (caption + metadata) and, if present, transcript.txt.Write the analysis using the template below.
transcript.srt. Do not summarize or drop lines. The only allowed cleanup is collapsing obvious hallucinated repeat-lines (e.g. "Okay. Okay. Okay."), never real speech. If there's no audio/speech, say so.Adapt per type: a plain text tweet skips transcript/frames; an image carousel leans on the visuals section.
Then stay open for follow-ups ("just the hook," "list every stat," "summarize in 3 bullets," etc.).