Skip to content

106 social media skills for AI agents - strategy, writing, video, design, platform growth, publishing, and analytics. Works with Claude, Cursor, OpenClaw, Hermes & 40+ agents.

Revert "Add instagram-reel-remake, the first standalone workflow skill"

FH3WEf28cef2b7067
diff --git a/AGENTS.md b/AGENTS.md
index 4a77295..8d98294 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -39,17 +39,6 @@ banned claim patterns. CI runs the same script on every PR.
- Reference-file pattern: `scope-and-connections.md`, a `<topic>-2026-reality.md`, a named
framework file, a recipes/templates file.
-## Standalone workflow skills
-
-Skills listed under "Workflows" in `scripts/site-taxonomy.json` ship one at a time and must
-produce their full result with no other skill installed:
-
-- Everything they need lives in their own folder (scripts included). No steps that route to,
- or tell the user to install, another skill; no backticked skill names in their files.
-- Each carries `references/woopsocial.md`, generated from `tools/integrations/woopsocial.md` by
- `python3 scripts/sync-standalone.py`. Edit the master, then re-run the script.
-- The validator (step 9) fails if a copy is stale or a sibling skill is named.
-
## Build tooling
- `scripts/build-skill-zips.sh` — one self-contained ZIP per skill into `dist/` (embeds each
diff --git a/scripts/build-skill-zips.sh b/scripts/build-skill-zips.sh
index 3230ea3..bc7a022 100755
--- a/scripts/build-skill-zips.sh
+++ b/scripts/build-skill-zips.sh
@@ -22,8 +22,7 @@ for dir in skills/*/; do
cp -R "skills/$name" "$stage/$name"
# Find referenced integration guides and embed them so the skill is self-contained.
- # (standalone skills already carry references/woopsocial.md, so that copy is skipped)
- guides=$(grep -rhoE --exclude=woopsocial.md 'integrations/[a-z0-9-]+\.md' "skills/$name" 2>/dev/null | sed 's#integrations/##' | sort -u || true)
+ guides=$(grep -rhoE 'integrations/[a-z0-9-]+\.md' "skills/$name" 2>/dev/null | sed 's#integrations/##' | sort -u || true)
if [ -n "$guides" ]; then
mkdir -p "$stage/$name/references/tools"
for g in $guides; do
diff --git a/scripts/packs.json b/scripts/packs.json
index beeb8ce..49eeb54 100644
--- a/scripts/packs.json
+++ b/scripts/packs.json
@@ -79,7 +79,6 @@
"instagram-growth",
"instagram-seo",
"reels-script",
- "instagram-reel-remake",
"instagram-reels-publishing",
"story-writer",
"carousel-writer",
@@ -289,23 +288,6 @@
"ai-music-and-sound",
"scheduling-and-queue"
]
- },
- {
- "name": "workflows",
- "title": "Done-for-You Workflows",
- "description": "Skills that do the whole job end to end: watch what's working, rebuild it as your own, publish it, and learn from the results.",
- "skills": [
- "brand-profile",
- "voice-builder",
- "instagram-reel-remake",
- "viral-reverse-engineering",
- "hook-writer",
- "caption-writer",
- "instagram-reels-publishing",
- "tiktok-video-publishing",
- "scheduling-and-queue"
- ],
- "tagline": "From someone else's hit to your own post"
}
]
-}
+}
\ No newline at end of file
diff --git a/scripts/site-taxonomy.json b/scripts/site-taxonomy.json
index ad931e9..acb267c 100644
--- a/scripts/site-taxonomy.json
+++ b/scripts/site-taxonomy.json
@@ -132,8 +132,5 @@
"viral-reverse-engineering",
"cross-platform-repurposing",
"content-recycling"
- ],
- "Workflows": [
- "instagram-reel-remake"
]
-}
+}
\ No newline at end of file
diff --git a/scripts/sync-standalone.py b/scripts/sync-standalone.py
deleted file mode 100644
index 69d6e5e..0000000
--- a/scripts/sync-standalone.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/usr/bin/env python3
-"""Keep standalone workflow skills self-contained.
-
-Standalone skills are the ones listed under "Workflows" in scripts/site-taxonomy.json. They
-ship one at a time (npx skills add -s, ClawHub, a single claude.ai upload), so they can't lean
-on other skills or on files outside their own folder. Two rules:
-
-1. Each one carries references/woopsocial.md: a copy of tools/integrations/woopsocial.md
- (the master), minus the pointer to the library's scheduling skill. This script writes it.
-2. None of its files name another skill in backticks (the validator enforces this).
-
-Usage:
- python3 scripts/sync-standalone.py # write the copies
- python3 scripts/sync-standalone.py --check # exit 1 if any copy is missing or stale
-"""
-import json
-import os
-import re
-import sys
-
-ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-MASTER = os.path.join(ROOT, "tools", "integrations", "woopsocial.md")
-HEADER = ("<!-- Copy of tools/integrations/woopsocial.md, generated by "
- "scripts/sync-standalone.py. Edit the master, then re-run the script. -->\n\n")
-
-
-def standalone_skills():
- tax = json.load(open(os.path.join(ROOT, "scripts", "site-taxonomy.json")))
- return tax.get("Workflows", [])
-
-
-def standalone_copy():
- text = open(MASTER, encoding="utf-8").read()
- # Drop the bullet that routes to the library's scheduling skill (and its wrapped lines).
- text = re.sub(r"^- Skill that operationalizes this contract:.*?(?=^- |^\S|\Z)", "",
- text, flags=re.M | re.S)
- # Drop any other sentence that routes to a library skill.
- skills = {d for d in os.listdir(os.path.join(ROOT, "skills"))
- if os.path.isdir(os.path.join(ROOT, "skills", d))}
- for name in skills:
- text = re.sub(r"[^.\n]*`" + re.escape(name) + r"`[^.\n]*\.[ \t]?", "", text)
- return HEADER + text
-
-
-def main():
- check = "--check" in sys.argv
- want = standalone_copy()
- bad = []
- for name in standalone_skills():
- dest = os.path.join(ROOT, "skills", name, "references", "woopsocial.md")
- have = open(dest, encoding="utf-8").read() if os.path.exists(dest) else None
- if have == want:
- continue
- if check:
- bad.append(f" ✗ {name}: references/woopsocial.md is "
- f"{'missing' if have is None else 'out of date'} "
- "(run python3 scripts/sync-standalone.py)")
- else:
- os.makedirs(os.path.dirname(dest), exist_ok=True)
- open(dest, "w", encoding="utf-8").write(want)
- print(f"synced skills/{name}/references/woopsocial.md")
- if check:
- bad += sibling_mentions()
- if bad:
- print("\n".join(bad))
- sys.exit(1)
-
-
-def sibling_mentions():
- """Rule 2: a standalone skill never names another skill in backticks."""
- skills = {d for d in os.listdir(os.path.join(ROOT, "skills"))
- if os.path.isdir(os.path.join(ROOT, "skills", d))}
- pat = re.compile(r"`([a-z0-9]+(?:-[a-z0-9]+)+)`")
- bad = []
- for name in standalone_skills():
- for dirpath, _, files in os.walk(os.path.join(ROOT, "skills", name)):
- for f in files:
- if not f.endswith((".md", ".json")) or f == "woopsocial.md":
- continue
- p = os.path.join(dirpath, f)
- for m in sorted(set(pat.findall(open(p, encoding="utf-8").read()))):
- if m in skills and m != name:
- bad.append(f" ✗ {os.path.relpath(p, ROOT)}: names another skill "
- f"`{m}`; workflow skills must stand alone")
- return bad
-
-
-if __name__ == "__main__":
- main()
diff --git a/scripts/validate-skills.sh b/scripts/validate-skills.sh
index 085ef9c..1c703bc 100755
--- a/scripts/validate-skills.sh
+++ b/scripts/validate-skills.sh
@@ -8,7 +8,7 @@ cd "$(dirname "$0")/.."
FAIL=0
err() { echo " ✗ $1"; FAIL=1; }
-echo "1/9 Skill structure (SKILL.md + references/ + evals/evals.json per skill)"
+echo "1/8 Skill structure (SKILL.md + references/ + evals/evals.json per skill)"
for d in skills/*/; do
n=$(basename "$d")
[ -f "$d/SKILL.md" ] || err "$n: missing SKILL.md"
@@ -16,7 +16,7 @@ for d in skills/*/; do
[ -f "$d/evals/evals.json" ] || err "$n: missing evals/evals.json"
done
-echo "2/9 Frontmatter (name matches directory, description present)"
+echo "2/8 Frontmatter (name matches directory, description present)"
for d in skills/*/; do
n=$(basename "$d")
fm=$(awk '/^name:/{print $2; exit}' "$d/SKILL.md" 2>/dev/null)
@@ -24,19 +24,18 @@ for d in skills/*/; do
grep -q '^description:' "$d/SKILL.md" || err "$n: missing description"
done
-echo "3/9 Evals are valid JSON"
+echo "3/8 Evals are valid JSON"
for f in skills/*/evals/evals.json; do
python3 -c "import json,sys; json.load(open(sys.argv[1]))" "$f" 2>/dev/null \
|| err "$f: invalid JSON"
done
-echo "4/9 Cross-references resolve (every \`skill-name\` mention is a real skill)"
+echo "4/8 Cross-references resolve (every \`skill-name\` mention is a real skill)"
python3 - <<'EOF' || FAIL=1
import os, re, sys
# Backticked kebab-case terms that are NOT skill names (API fields, model ids, regions, packages).
ALLOW = {"platform-inputs", "gemini-3-pro-image", "lumaai-python", "x-goog-api-key",
- "asia-northeast1", "europe-west4", "us-central1", "us-east4",
- "yt-dlp", "faster-whisper", "whisper-cli", "imageio-ffmpeg"}
+ "asia-northeast1", "europe-west4", "us-central1", "us-east4"}
skills = {d for d in os.listdir("skills") if os.path.isdir(f"skills/{d}")}
pat = re.compile(r"`([a-z0-9]+(?:-[a-z0-9]+)+)`")
bad = []
@@ -53,7 +52,7 @@ if bad:
print("\n".join(sorted(set(bad)))); sys.exit(1)
EOF
-echo "5/9 Description length (Agent Skills spec: max 1024 chars — claude.ai uploads enforce this)"
+echo "5/8 Description length (Agent Skills spec: max 1024 chars — claude.ai uploads enforce this)"
python3 - <<'EOF' || FAIL=1
import os, re, sys
bad = []
@@ -73,7 +72,7 @@ if bad:
print("\n".join(bad)); sys.exit(1)
EOF
-echo "6/9 Plugin manifests (valid JSON, versions in sync)"
+echo "6/8 Plugin manifests (valid JSON, versions in sync)"
python3 - <<'EOF' || FAIL=1
import json, sys
try:
@@ -86,7 +85,7 @@ if p["version"] != m["plugins"][0]["version"]:
" — plugin users won't see updates until these match"); sys.exit(1)
EOF
-echo "7/9 Pack manifest (every pack skill exists; JSON valid)"
+echo "7/8 Pack manifest (every pack skill exists; JSON valid)"
python3 - <<'EOF' || FAIL=1
import json, os, sys
m = json.load(open("scripts/packs.json"))
@@ -98,7 +97,7 @@ for p in m["packs"]:
if bad: print("\n".join(bad)); sys.exit(1)
EOF
-echo "8/9 Banned patterns (claims the repo must never make)"
+echo "8/8 Banned patterns (claims the repo must never make)"
# WoopSocial stores lifetime post analytics for one fixed platform list.
# Skills may say that. They must not deny the surface, and they must not
# name a different coverage list.
@@ -142,9 +141,6 @@ EOF
hits=$(grep -rn "(forthcoming)" skills/ tools/ --include='*.md' 2>/dev/null | grep -v suno || true)
[ -z "$hits" ] || { echo "$hits"; err "found a stale (forthcoming) marker"; }
-echo "9/9 Standalone workflow skills (no other skills needed; WoopSocial guide bundled and current)"
-python3 scripts/sync-standalone.py --check || FAIL=1
-
echo ""
if [ "$FAIL" -eq 0 ]; then
echo "OK — $(ls -d skills/*/ | wc -l | tr -d ' ') skills validated."
diff --git a/skills/instagram-reel-remake/SKILL.md b/skills/instagram-reel-remake/SKILL.md
deleted file mode 100644
index 1f92cbd..0000000
--- a/skills/instagram-reel-remake/SKILL.md
+++ /dev/null
@@ -1,189 +0,0 @@
----
-name: instagram-reel-remake
-description: >-
- Remake a viral Instagram Reel (or TikTok / YouTube Short) as your own original video, end to
- end, in one skill: the agent actually watches the saved video (frames, cuts and transcript via
- the bundled free video-eyes script), maps its beat sheet, finds why it worked, and rebuilds it
- for your niche and voice as a beat-matched script, shot list, on-screen text, caption and
- cover, then publishes it with WoopSocial (Instagram Reel, or a TikTok draft so you can add a
- trending sound) and reads the results back. Use when someone says "remake this reel,"
- "recreate this viral video," "copy this format," "do this but for my niche," "make my version
- of this TikTok," or drops a reel file or link and wants their own. Never reposts or reuses the
- source footage, audio or text; built for Instagram's 2026 originality rule. Standalone: needs
- no other skills, paid tools, API keys or accounts to watch and rebuild (works with a shell, a
- code sandbox, or just screenshots).
-metadata:
- version: 1.0.0
-license: MIT
----
-
-# Instagram Reel Remake
-
-People already do this by hand: save a reel that blew up, watch it ten times, scribble the
-structure, then try to make "their version." Most versions flop because they copy the
-**surface** (the same words, sound, shots) instead of the **mechanism** (the hook, the pacing,
-the payoff that made people stay and share). And since April 2026 a near-copy is also punished:
-Instagram only recommends the original of duplicate content, and a credit tag doesn't make a
-repost original.
-
-This skill does the whole job by itself: it **watches** the video, maps it beat by beat, finds
-the real driver, rebuilds it as **your** original video, publishes it, and checks how it did.
-Everything it needs is in this folder.
-
-Three commitments:
-
-1. **Watch it for real, or say what you couldn't see.** Run the bundled `scripts/video-eyes.py`
- when the agent has a shell; otherwise use the best available level. Never describe frames or
- lines you didn't observe.
-2. **Same mechanism, new substance.** The remake keeps the timing and the psychological lever,
- and replaces the topic, footage, words and audio with the user's own.
-3. **Ship it.** The output is filmable today and ends in a confirmed publish, not a lecture.
-
-## Step 0: Know who it's for
-
-If a `brand-profile.md` (or similar brand/voice notes) exists in the workspace, read it.
-Otherwise ask three questions and continue:
-
-1. What's your niche, in one line?
-2. Who is it for (one specific person)?
-3. How do you talk? Paste a caption you wrote, or describe it in one sentence.
-
-## Step 1: Retrieve (get the video in)
-
-Pick the highest level the runtime supports (details: `references/capability-levels.md`):
-
-| Level | When | Input |
-|---|---|---|
-| **3: shell** | Claude Code, OpenClaw, Codex, Hermes, any agent that can run commands | The saved video file. TikTok/YouTube URLs work if yt-dlp is installed. |
-| **2: sandbox** | claude.ai and other code sandboxes | The uploaded video file, processed in the sandbox |
-| **1: eyes only** | No code execution | 4 to 6 screenshots (hook frame, each new scene, the end) + the caption |
-
-**Getting the file:** on Instagram, **Share > Download** saves a public reel when the creator
-allows it. Otherwise a screen recording works. Don't ask users to export Instagram cookies or
-log in anywhere; that's an account risk for a convenience.
-
-Also capture what the video can't show: **views, likes, comments, the creator's follower count,
-the post date, and the top 3 comments.** Views compared with the creator's usual views tells
-you whether this was an outlier worth remaking (Step 3).
-
-## Step 2: Examine (watch it)
-
-At level 3 or 2:
-
-```bash
-python3 scripts/video-eyes.py path/to/reel.mp4 --out remake/
-```
-
-Then read `remake/timeline.json` and **look at the frames** (start with `contact-sheet.jpg`,
-then the hook-window frames individually). You get shots with timings, cut rate, what was said
-per shot, the first 3 seconds in detail, and audio silences. Build the **beat sheet**:
-
-| Beat | Time | What we see | What's said | On-screen text | Job |
-|---|---|---|---|---|---|
-
-Jobs are: hook, tension/setup, payoff(s), proof, turn, CTA, loop. Name any gap the tools can't
-fill (the song, motion between frames) instead of guessing. Format: `references/remake-recipes.md`.
-
-## Step 3: Mechanism (why it worked, and is it worth copying?)
-
-- **Outlier check:** views vs the creator's usual views and follower count. A reel at its
- account's normal level isn't proof of anything; say so and suggest finding a real outlier.
-- **Counterfactual:** remove each feature in your head. Whatever the reel can't lose is a
- **driver** (usually the hook + one emotional or practical lever); the rest is incidental.
-- **Share trigger:** read the top comments: why did people send it to someone?
-- **Confounds:** huge account, a one-time news moment, a celebrity, pure luck. If the success is
- mostly confound, say it isn't replicable and stop before writing a remake built on nothing.
-
-## Step 4: Adapt (rebuild it as yours)
-
-Pick one mode with the user (default: A):
-
-- **A. Same format, new topic.** Keep the beat timing and structure; swap in their subject.
-- **B. Same topic, new angle.** Same subject, their contrarian or first-hand take.
-- **C. Stitch / react.** Their commentary on the original, using Instagram's or TikTok's native
- remix so the creator is credited. This counts as original only if the commentary carries it.
-
-Write the remake **beat-matched**: each beat lands at the same second as the source beat, so the
-pacing that held attention survives. Deliver, using `references/writing-and-publishing.md` for
-the hook, caption, cover and audio rules:
-
-- the **hook**: spoken line, on-screen line and first frame, plus 3 alternatives
-- the **script** per beat, in the user's voice
-- a **shot list** someone can film on a phone in about 20 minutes
-- **on-screen text** per beat
-- the **caption** and the **cover**
-- an **audio direction** (a sound from the platform's own library, added in-app)
-
-## Step 5: Keep it original (the gate)
-
-Before anything ships, check (full list in `references/remake-framework.md`):
-
-- No source footage, audio, voice or images reused (stitch mode uses the platform's remix).
-- No sentence or on-screen line copied verbatim; the structure is shared, the words are theirs.
-- The substance (examples, proof, story) comes from the user, not the original creator.
-- A viewer who saw both would call it "the same format," not "the same video."
-
-If it fails, rewrite the failing beat. Don't ship and hope.
-
-## Step 6: Export and publish
-
-1. **Produce:** the user films from the shot list and edits with the edit plan in
- `references/remake-recipes.md` (any editor works). If they hand you finished clips and you have
- a shell, cutting them together with ffmpeg on the beat timestamps is fine.
-2. **Publish with WoopSocial** (`references/woopsocial.md`: how to connect, upload, validate and
- post). Always show the exact post and get an explicit yes first:
- - **Instagram:** a Reel with caption and cover.
- - **TikTok:** upload as a **draft** (`MEDIA_UPLOAD`) so the user adds a trending sound in the
- app, then publishes.
- - **YouTube Shorts:** the same file with its own title.
- Platform settings: `references/writing-and-publishing.md`. Not connected yet? Hand over the
- finished files and post text, explain how to connect for next time, and never claim
- something was posted when it wasn't.
-3. **Close the loop:** after 48 to 72 hours, read the post's metrics back from WoopSocial
- (`social_account_posts_list`) and compare with the user's usual numbers and the source's
- outlier score. Report the `collectedAt` date with every number; watch time and retention come
- from the platform's own insights. Log one lesson (hook kept or changed, which mode) so the next
- remake starts smarter. Never invent a number.
-
-## Quality bar
-
-- Did the agent **observe** the video (frames + transcript) or clearly state which level it ran
- at and what it couldn't see?
-- Is the source a **real outlier**, or did we say it isn't?
-- Does the beat sheet name **the driver**, not just list everything?
-- Is the remake **beat-matched**, in the user's voice, with their substance?
-- Did it pass the **originality gate**?
-- Is the output **filmable today** and the publish **confirmed** before it happened?
-- Are all numbers **real** (visible counts, post metrics with dates), none invented?
-
-## Edge cases
-
-- **Only a link, no file, no shell:** explain the agent can't watch a link; ask for the saved
- video (Share > Download) or screenshots. Don't pretend.
-- **"Just repost it with credit":** say no plainly: it's the creator's copyright, and Instagram
- won't recommend a duplicate. Offer mode C (native remix with commentary) instead.
-- **Music-only reel with no speech:** the on-screen text and the visual sequence are the script;
- the beat sheet uses those. The trending sound is added in-app, never pulled from the file.
-- **Other people's faces or kids in the source:** never reuse; the remake uses the user's own
- footage.
-- **Paid partnership or product reel:** remake the format only; any claim about their own product
- needs their own proof.
-- **Batch ("remake these 10"):** run Steps 1 to 3 on all, drop the non-outliers, then remake the
- best 3. Quality over volume.
-- **A long video (several minutes):** pick the 15 to 60 second segment that carries the idea,
- run the skill on that segment, and say you did.
-
-## References
-
-- `references/capability-levels.md`: getting the video in at each level, running video-eyes,
- installing the optional pieces. **Start here.**
-- `references/remake-framework.md`: the REMAKE framework in depth, including the originality gate.
-- `references/remake-recipes.md`: beat sheet, remake script, shot list, edit plan and publish
- templates, plus a worked example.
-- `references/writing-and-publishing.md`: hook, caption, cover and audio rules, and the
- Instagram / TikTok / Shorts publish settings.
-- `references/woopsocial.md`: connecting WoopSocial and the publish + metrics steps.
-- `references/reel-remake-2026-reality.md`: the originality rule, downloading realities, what the
- platforms allow (verify-quarterly).
-- `references/scope-and-connections.md`: what this skill does and doesn't do.
-- `scripts/video-eyes.py`: the free helper that turns a video into frames, cuts and a transcript.
diff --git a/skills/instagram-reel-remake/evals/evals.json b/skills/instagram-reel-remake/evals/evals.json
deleted file mode 100644
index 889a807..0000000
--- a/skills/instagram-reel-remake/evals/evals.json
+++ /dev/null
@@ -1,109 +0,0 @@
-{
- "skill": "instagram-reel-remake",
- "version": "1.0.0",
- "description": "Scenario tests for instagram-reel-remake. A run passes only when every item in 'expect' is satisfied.",
- "evals": [
- {
- "name": "happy-path-shell",
- "input": "Here's a reel that blew up in my niche: ~/Downloads/reel.mp4. It has 410k views and the creator has 18k followers. Make my version, I'm a freelance designer.",
- "expect": [
- "reads the workspace's brand notes if present, otherwise asks the three quick questions, before writing",
- "runs scripts/video-eyes.py on the file and reads timeline.json plus the frames",
- "computes an outlier score from views vs followers and treats it as a real outlier",
- "produces a beat sheet with timestamps and a job per beat, and names the driver",
- "writes a beat-matched remake script, shot list, on-screen text, caption and audio direction in the user's voice",
- "runs the originality gate before offering to publish",
- "offers to publish with WoopSocial using its bundled references/woopsocial.md and asks for explicit confirmation"
- ]
- },
- {
- "name": "link-only-no-shell",
- "input": "https://www.instagram.com/reel/ABC123/ remake this for me",
- "expect": [
- "says plainly that it cannot watch a video from a link",
- "asks for the saved video (Share > Download) or screenshots plus the caption and stats",
- "does not ask for Instagram cookies, a password or a logged-in session",
- "does not describe the video's content as if it had seen it"
- ]
- },
- {
- "name": "repost-request",
- "input": "Can you just download this reel and repost it on my account with credit to the creator?",
- "expect": [
- "declines to repost the original video",
- "explains that credit doesn't make it original and that Instagram recommends only the original of duplicate content",
- "notes it is the creator's copyright",
- "offers a remake or a native remix/stitch with real commentary instead"
- ]
- },
- {
- "name": "not-an-outlier",
- "input": "This reel from a 3M-follower account got 900k views, their usual is about 1.1M. Remake it.",
- "expect": [
- "computes that the reel performed below the creator's usual",
- "says the views came from the audience, not the content, so it doesn't prove the format",
- "does not produce a full remake by default",
- "suggests finding a real outlier (a reel at 3x+ the creator's usual or a smaller account's hit)"
- ]
- },
- {
- "name": "screenshots-level-1",
- "input": "I can't upload video here. Here are 5 screenshots of the reel and the caption. What would my version look like?",
- "expect": [
- "states it is working from screenshots and that cut timing and pacing are estimates",
- "builds a beat sheet from the screenshots without inventing frames it wasn't given",
- "still delivers a filmable remake script and shot list"
- ]
- },
- {
- "name": "originality-gate-catches-copy",
- "input": "Use the exact same hook line and on-screen text as the original, just with my face.",
- "expect": [
- "flags that copying lines verbatim fails the originality gate",
- "keeps the hook's structure and mechanism while rewriting the words in the user's voice",
- "explains the risk briefly (duplicate detection, copyright) without lecturing"
- ]
- },
- {
- "name": "tiktok-publish-draft",
- "input": "Remake is filmed. Post it on Instagram and TikTok, I want the trending sound on TikTok.",
- "expect": [
- "publishes with WoopSocial using the bundled references/woopsocial.md, without requiring any other skill",
- "sets Instagram as a Reel with caption and cover",
- "uploads TikTok as a draft (MEDIA_UPLOAD) and tells the user to add the trending sound in-app before posting",
- "shows the exact posts and waits for an explicit yes before publishing",
- "does not claim the posts went out unless the bridge confirms it"
- ]
- },
- {
- "name": "results-read-back",
- "input": "It's been 3 days since we posted the remake. How did it do compared to the original?",
- "expect": [
- "reads the post's metrics back with social_account_posts_list when connected",
- "reports each number with its collectedAt date",
- "compares against the user's usual results and the source's outlier score, not raw view counts",
- "states which metrics come from native analytics (e.g. watch time) and never invents missing ones",
- "logs one lesson for the next remake"
- ]
- },
- {
- "name": "no-transcription-engine",
- "input": "I ran video-eyes and it says no transcription engine found. Is the remake still possible?",
- "expect": [
- "says yes and explains the options: install faster-whisper, use a subtitle file, paste the platform's captions, or work from on-screen text",
- "continues with the beat sheet from frames and timings instead of stopping",
- "does not fabricate what was said"
- ]
- },
- {
- "name": "standalone-install",
- "input": "I only installed instagram-reel-remake, nothing else. Remake this reel and post it: ~/Downloads/reel.mp4",
- "expect": [
- "completes every step (watch, beat sheet, remake, originality gate, publish) using only files in its own folder",
- "does not tell the user to install or run any other skill",
- "writes hooks, caption and cover from references/writing-and-publishing.md",
- "connects and publishes using references/woopsocial.md, or hands over the files if WoopSocial isn't connected"
- ]
- }
- ]
-}
diff --git a/skills/instagram-reel-remake/references/capability-levels.md b/skills/instagram-reel-remake/references/capability-levels.md
deleted file mode 100644
index 78d44cc..0000000
--- a/skills/instagram-reel-remake/references/capability-levels.md
+++ /dev/null
@@ -1,100 +0,0 @@
-# Capability Levels: getting the video in and watching it
-
-The skill runs in very different agents: Claude Code and OpenClaw can run commands, claude.ai
-runs code in a sandbox, and some chat agents can only read images. Same skill, three levels.
-Detect the level, say which one you're at, and never claim to have seen more than that level
-allows.
-
-## How to detect the level
-
-1. Can you run a shell command? Try `ffmpeg -version`.
- - Works: **level 3** (or level 2 if you're in a sandbox without access to the user's files;
- the difference only matters for where the file comes from).
- - Command runs but ffmpeg is missing: offer the install line below, or drop to level 1.
-2. No code execution at all: **level 1**.
-
-## Getting the file (all levels)
-
-| Platform | Easiest way to get the video | Notes |
-|---|---|---|
-| Instagram | Share > Download on the reel | Only when the creator allows downloads; a watermark is added. Otherwise screen-record. |
-| TikTok | Share > Save video, or the URL with `yt-dlp` | Saved videos carry a watermark; fine for analysis. |
-| YouTube Shorts | The URL with `yt-dlp` | Usually works without login. |
-| Any | Screen recording | Always works. Trim the start/end so the timings line up. |
-
-Don't ask for Instagram cookies, passwords or a logged-in browser export to make `yt-dlp` work.
-It's fragile (cookies expire), and it puts the user's account at risk for a convenience the
-Share > Download button already gives them.
-
-## Level 3: shell (Claude Code, OpenClaw, Codex, Hermes)
-
-Requirements: Python 3.8+ and ffmpeg. Everything else is optional.
-
-```bash
-# install ffmpeg if missing
-brew install ffmpeg # macOS
-sudo apt install ffmpeg # Debian / Ubuntu
-
-# run (from the skill folder, or pass the full path to the script)
-python3 scripts/video-eyes.py ~/Downloads/reel.mp4 --out remake/
-python3 scripts/video-eyes.py "https://www.tiktok.com/@user/video/123" --out remake/ # needs yt-dlp
-```
-
-Optional extras, picked up automatically:
-
-| Extra | What it adds | Install |
-|---|---|---|
-| `faster-whisper` | Transcript with word timings, so speech maps to the exact shot | `pip install faster-whisper` (downloads a small model on first run; `WHISPER_MODEL=tiny` for speed) |
-| `whisper` CLI or `whisper.cpp` | Same, different engines | See their docs; whisper.cpp needs `WHISPER_CPP_MODEL=/path/to/ggml-model.bin` |
-| A `.vtt`/`.srt` next to the video | Uses the platform's own captions; no model needed | `yt-dlp --write-auto-subs` writes these for TikTok/YouTube |
-| `tesseract` | An OCR hint per frame | `brew install tesseract`; the agent should still read the frames itself |
-| `yt-dlp` | URL input | `pip install yt-dlp` or `brew install yt-dlp` |
-
-Useful flags: `--scene 0.2` finds more cuts (soft transitions), `--scene 0.45` fewer (shaky
-handheld footage); `--no-transcript` skips speech.
-
-### Reading the output
-
-`timeline.json` holds:
-
-- `video`: duration, size, aspect (9:16 expected), fps.
-- `pacing`: number of shots, average shot length, cuts per 10 seconds.
-- `hook_window`: cuts and words in the first 3 seconds, when speech starts.
-- `shots[]`: start/end, frames inside it, what was said during it.
-- `frames[]`: time, file, why it was sampled (shot start, held shot, hook window), OCR hint.
-- `audio`: silent stretches, loudness, when sound first starts. It measures audio; it can't
- name a song or tell speech from music.
-- `transcript`: source engine, segments, word timings when available.
-- `limits`: read these back to the user when they matter.
-
-Then **look at the frames**. `contact-sheet.jpg` shows them all at once in the order of
-`contact_sheet_order`; open individual hook-window frames to read small on-screen text. The JSON
-gives timing; only the images show what's on screen.
-
-## Level 2: sandbox (claude.ai)
-
-The user uploads the video into the chat. In the code sandbox:
-
-1. Check ffmpeg: `ffmpeg -version`. If it's missing, try installing it (`pip install
- imageio-ffmpeg` provides a binary; point the script at it by putting its folder on PATH).
-2. Run `video-eyes.py` on the uploaded file with `--no-transcript` if a whisper model can't be
- downloaded in that sandbox.
-3. No transcript? Ask the user to paste the reel's captions (Instagram shows auto-captions on
- most reels) or work from the on-screen text in the frames.
-
-If uploads of video files aren't accepted in that client, drop to level 1.
-
-## Level 1: eyes only (screenshots)
-
-Ask for, in order of value:
-
-1. The **first frame** (what shows before anyone taps).
-2. A screenshot at **1 to 2 seconds** (the hook's on-screen text).
-3. One screenshot **per new scene** (3 to 6 total).
-4. The **last frame** (CTA or loop).
-5. The **caption** (pasted) and, if spoken, what's said in the first sentence.
-6. A screenshot of the **stats** and the **top comments**.
-
-Build the beat sheet from these, and say plainly: "I'm working from 5 screenshots, so cut timing
-and pacing are estimates." The remake can still be strong; the timing just comes from the
-user's description instead of measured cuts.
diff --git a/skills/instagram-reel-remake/references/reel-remake-2026-reality.md b/skills/instagram-reel-remake/references/reel-remake-2026-reality.md
deleted file mode 100644
index 6dbfa6a..0000000
--- a/skills/instagram-reel-remake/references/reel-remake-2026-reality.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# Reel Remakes: the 2026 reality (verify-quarterly)
-
-What changed, what's allowed, and what breaks. Re-check every quarter; platforms move fast.
-
-## Instagram's originality rule (announced April 30, 2026)
-
-- Instagram extended its Reels originality policy to photos and carousels. **Original** means
- wholly created or **materially altered** by the poster. Commentary, voiceover or real editing
- on a third-party clip can qualify; **cropping, resizing, adding a watermark or a credit tag
- does not.**
-- When Instagram finds **two or more identical pieces of content, it recommends only the
- original.** Reposts can still reach the poster's followers but stop being pushed to
- non-followers, and may carry attribution labels.
-- Some marketing blogs claim a hard threshold (for example "10+ reposts in 30 days removes you
- from recommendations"). That number was **not** in Instagram's announcement or major tech
- coverage at the time of writing; treat it as unconfirmed.
-
-What this means for remakes: a remake that passes the originality gate (new footage, new words,
-the user's substance, shared structure only) is original content. A re-upload with credit is
-not, and it gives the reach to the original creator.
-
-Sources: PetaPixel (2026-04-30), TechCrunch coverage of the update, Planoly's summary.
-
-## Copyright and terms
-
-- Reposting someone else's reel without permission is the creator's copyright, credit or not.
-- Formats, structures and hook patterns ("3 signs your…", POV, before/after) are not owned by
- anyone; specific footage, recordings and text are.
-- Bulk automated downloading conflicts with Instagram's terms. This skill works one reel at a
- time from a file the user saved with the app's own download button or a screen recording.
-- This is general information, not legal advice. For paid campaigns or anything contested,
- check with someone qualified.
-
-## Getting the video (what actually works)
-
-- **Instagram:** Share > Download saves public reels when the creator hasn't turned downloads
- off (with a watermark). `yt-dlp` and similar tools usually need a logged-in session for
- Instagram, even for public reels, and sessions expire; this skill doesn't use that path.
-- **TikTok and YouTube:** `yt-dlp` generally works without a login, and can save the platform's
- auto-captions as a subtitle file, which `video-eyes.py` uses before running whisper.
-- **Screen recording** works everywhere and is the reliable fallback.
-
-## What agents can actually do
-
-- An agent **cannot watch a video from a link**. It sees frames and text it's given. That's why
- this skill extracts frames and a transcript first.
-- **Shell agents** (Claude Code, OpenClaw, Codex, Hermes) can run ffmpeg and a local whisper
- model: free, private, no keys.
-- **Sandboxed agents** (claude.ai) can run code on uploaded files; network access for model
- downloads varies by settings, so transcription may need the reel's own captions instead.
-- **Chat-only agents** work from screenshots.
-
-## Publishing realities
-
-- **TikTok:** trending sounds can't be attached through the API. Upload as a draft
- (`MEDIA_UPLOAD`) and add the sound in the app before posting.
-- **Instagram:** Reels publish with caption and cover through WoopSocial; the
- trending audio library, Share-to-Feed tweaks and tagging stay in the app.
-- **AI disclosure:** if the remake uses AI-generated footage or voice, disclose it. On TikTok
- WoopSocial applies the AI label automatically; elsewhere, label it in-app.
-
-## What the platforms reward in 2026 (verify-quarterly)
-
-- Watch time and completion, then shares and saves, matter more than likes for recommendations
- on both Instagram and TikTok.
-- Originality is now an explicit ranking factor on Instagram (above).
-- Search keywords in the caption and on-screen text help discovery (caption rules: `writing-and-publishing.md`).
diff --git a/skills/instagram-reel-remake/references/remake-framework.md b/skills/instagram-reel-remake/references/remake-framework.md
deleted file mode 100644
index a3d4784..0000000
--- a/skills/instagram-reel-remake/references/remake-framework.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# The REMAKE Framework
-
-Six steps, in order. Skipping one is how remakes become either flops (skipped M) or copies
-(skipped K).
-
-| | Step | Question it answers | Output |
-|---|---|---|---|
-| **R** | Retrieve | What exactly are we looking at? | The video at the highest capability level + its stats and top comments |
-| **E** | Examine | What happens, second by second? | Beat sheet |
-| **M** | Mechanism | Why did it work, and will it work for us? | Outlier score, 1 to 2 drivers, share trigger, go/no-go |
-| **A** | Adapt | What's our version? | Beat-matched script, shot list, on-screen text, caption, cover, audio direction |
-| **K** | Keep original | Is it ours? | Passed originality gate |
-| **E** | Export | How does it get out and what did it teach us? | Confirmed publish, metrics read-back, a logged lesson |
-
-## R: Retrieve
-
-Minimum viable input: the video (or screenshots) plus **views and follower count**. Without the
-numbers, you can't tell an outlier from an average post, and you'll remake noise.
-
-**Outlier score** = views / follower count, compared with the creator's other recent reels.
-Rules of thumb (verify per niche): a reel at roughly 1x the creator's usual views is just a post;
-3x or more is worth studying; 10x or more is a real outlier. A small account with a big hit is
-more useful to copy than a big account's routine post: its success came from the content, not
-the audience.
-
-## E: Examine
-
-Build the beat sheet from `timeline.json` + frames. Label each beat with its **job**:
-
-- **Hook** (0 to 3s): the first frame, the first words and the on-screen line. Note what
- creates the open loop: a question, a claim, a conflict, a visual surprise.
-- **Setup / tension**: why should I care, what's at stake.
-- **Payoff(s)**: the value, reveal or punchline. Many reels pay off in small steps to hold
- attention.
-- **Proof**: a result, a screen, a before/after, a credible face.
-- **Turn**: the twist that makes it shareable.
-- **CTA**: what it asks (often nothing, or "follow for part 2").
-- **Loop**: does the ending flow back into the start (rewatches)?
-
-Measure what the tools give you: cuts per 10 seconds, when speech starts, how many cuts land in
-the hook window. A 2026 reel that opens on a talking head with no on-screen text and no cut for
-4 seconds is rare among outliers; note it when you see it, because it means something else is
-carrying the hook.
-
-## M: Mechanism
-
-Use the counterfactual test: for each feature (sound, topic, face, edit style, the hook line,
-the text overlay), ask "if this were gone, would it still have popped?" What it can't lose is a
-driver. Usually it's the hook plus one lever:
-
-- **Practical value**: saves ("I need this later").
-- **Identity**: shares ("this is so me / so you").
-- **High-arousal emotion**: awe, anger, humor.
-- **Social currency**: knowing it makes you look smart.
-- **Story with a turn**: people stay to see how it ends.
-
-**Go/no-go:** if the outlier score is low, or the success is mostly a confound (huge account,
-news moment, celebrity, luck), stop and say so. A remake built on a non-mechanism wastes a
-filming session.
-
-## A: Adapt
-
-**Beat-matching:** keep each beat at the same timestamp (within about half a second) as the
-source. Pacing is part of the mechanism; a remake that takes 6 seconds to land a hook the source
-landed in 2 has removed the thing that worked.
-
-**Choose the mode:**
-
-| Mode | Use when | Watch out for |
-|---|---|---|
-| A. Same format, new topic | The structure is the driver (list, reveal, POV, before/after) | The topic must matter as much to your audience as the original's did to theirs |
-| B. Same topic, new angle | The topic is the driver and you have a real take | Must be a real position or experience, not a reworded copy |
-| C. Stitch / react | The original is so known that reacting is the content | Must carry real commentary; native remix only, never re-upload |
-
-**Write in the user's voice** (their brand notes, or the Step 0 answers). Their examples, their numbers,
-their story. If they have none for this topic, mode A on a topic where they do is better than a
-hollow remake.
-
-## K: Keep original (the gate)
-
-Pass every line before publishing:
-
-1. **Footage:** none of the source video, images or faces appear (except through the platform's
- native remix in mode C).
-2. **Audio:** the source's voice and original audio are not reused. A trending library sound
- is added in-app by the user, not extracted from the file.
-3. **Words:** no sentence or on-screen line is copied verbatim. Shared structure ("3 signs
- your…") is fine; shared sentences are not.
-4. **Substance:** the examples, proof and story are the user's own.
-5. **Viewer test:** someone who saw both would say "same format," never "same video."
-6. **Claims:** any result, number or promise in the remake is true for this user.
-
-Fail any line: rewrite that beat. This gate is also what keeps the remake eligible for
-recommendations under Instagram's 2026 originality rule.
-
-## E: Export
-
-Produce (film and edit), then publish with WoopSocial (`woopsocial.md`) after explicit
-confirmation. TikTok goes as a draft (`MEDIA_UPLOAD`) so the trending sound is added in-app.
-
-After 48 to 72 hours, read the metrics back and write one line to the user's remake log:
-
-```
-2026-10-20 | source: @creator reel (12x outlier) | mode A | hook kept | 3.1k views at 48h (collectedAt 2026-10-22) vs usual 900 | lesson: list format works, my face in frame 1 beat text-only
-```
-
-Over a few weeks the log shows which formats and modes work for this account. That log is
-worth more than any single remake.
diff --git a/skills/instagram-reel-remake/references/remake-recipes.md b/skills/instagram-reel-remake/references/remake-recipes.md
deleted file mode 100644
index 99769d2..0000000
--- a/skills/instagram-reel-remake/references/remake-recipes.md
+++ /dev/null
@@ -1,110 +0,0 @@
-# Remake Recipes: templates and a worked example
-
-Copy these shapes. Every deliverable fits on one screen so the user can film from a phone.
-
-## 1. Source card (after Retrieve)
-
-```
-SOURCE @creator, Instagram Reel, posted 2026-10-02, 0:24, 9:16
-STATS 410k views | creator has 18k followers | their usual: ~6k views -> ~68x outlier
-LEVEL 3 (video-eyes: 9 shots, 3.4 cuts/10s, speech from 0.2s, transcript: faster-whisper)
-COMMENTS "sending this to my sister", "why does no one teach this", "part 2??"
-GAPS can't identify the background song (no label visible)
-```
-
-## 2. Beat sheet (after Examine)
-
-```
-| # | Time | We see | Said | On-screen text | Job |
-|---|-----------|---------------------------------|-----------------------------------|-----------------------|---------|
-| 1 | 0.0-1.8 | Face close-up, holding a letter | "My landlord tried this on me." | "he didn't expect #3" | Hook |
-| 2 | 1.8-4.1 | Letter close-up | "Rent up 18%, two weeks' notice." | | Tension |
-| 3 | 4.1-8.0 | Laptop screen, scrolling law | "One: check the cap..." | "1. the cap" | Payoff |
-| … | | | | | |
-| 9 | 21.5-24.0 | Face, smiling | "He took it back." | "save this" | Turn+CTA|
-```
-
-Driver line under the table:
-
-```
-DRIVER hook = a conflict with a common enemy + a promise ("#3") that forces a watch-through
-LEVER practical value with identity ("this is so us") -> saves + shares to family
-NOT IT the song, the kitchen background, her outfit (counterfactual: still works without)
-VERDICT go: small account, ~68x outlier, mechanism transfers to any "you're being overcharged" niche
-```
-
-## 3. Remake script (after Adapt)
-
-Same beat timings, user's substance.
-
-```
-MODE A (same format, new topic) | for: freelance designer account
-HOOK 0.0-1.8 Face close-up holding a phone with an email open.
- SAY: "A client tried this on me last week."
- TEXT: "he didn't expect #3"
-BEAT 2 1.8-4.1 Phone close-up: the email. SAY: "Unlimited revisions, same price."
-BEAT 3 4.1-8.0 Screen: your contract template. SAY: "One: the revision clause..." TEXT: "1. the clause"
-...
-BEAT 9 21.5-24.0 Face. SAY: "He signed the new scope." TEXT: "save this"
-LOOP Last line sets up the first ("...and that's why I always check what clients try first")
-CAPTION keyword first line + one question that invites stories
-COVER Frame 1 with the hook text, readable in the profile grid crop
-AUDIO Add a trending sound from the in-app library at low volume under the voice
-```
-
-## 4. Shot list (film it in 20 minutes)
-
-```
-[ ] 1 Face close-up, phone in hand, natural light from a window (2 takes of the hook line)
-[ ] 2 Phone screen close-up with the email (blur the client's name)
-[ ] 3 Screen recording: scroll the contract to the revision clause
-[ ] 4 Screen recording: the scope document
-[ ] 5 Face, reaction to the client's reply
-[ ] 6 Face, final line + "save this" gesture
-Settings: 9:16, 1080x1920, keep text inside the center safe zone (away from the caption and buttons)
-```
-
-## 5. Edit plan (CapCut or any editor)
-
-```
-- Cut on every beat timestamp above; total 24s
-- Captions: auto-captions on, 2 to 4 words per line, center-low but above the caption area
-- On-screen text on beats 1, 3, 5, 7, 9, appears 0.2s after the cut
-- No gap longer than 0.4s of silence (trim breaths)
-- Export 1080x1920, 30fps
-```
-
-## 6. Publish block (WoopSocial)
-
-```
-PLATFORM Instagram | postType REEL | file: remake-final.mp4 | cover: cover.jpg
-CAPTION <final caption>
-WHEN Thu 2026-10-22 18:30 (user's audience time zone)
-
-PLATFORM TikTok | MEDIA_UPLOAD (lands in drafts; add a trending sound in-app, then post)
-CAPTION <TikTok caption with 1 to 2 keywords>
-
--> Show both to the user. Publish only after an explicit yes.
-```
-
-## 7. Read-back (48 to 72 hours later)
-
-```
-REMAKE 3,140 views, 212 saves, 41 shares (collectedAt 2026-10-24 09:00 UTC)
-USUAL ~900 views per reel (last 10 reels, same source)
-SOURCE 68x outlier for its creator; ours: ~3.5x our usual
-LESSON the conflict hook transfers; saves were high, so the practical payoff landed
-NEXT remake the next outlier from the same list in mode A; test face vs text-only frame 1
-```
-
-Numbers in these templates are illustrative placeholders for the shape only. Real runs use
-the visible counts and metrics with their dates, never estimates.
-
-## Worked example: when to say no
-
-Source: a 9-second reel from an account with 3.2M followers, 900k views (their usual ~1.1M).
-Outlier score: below their normal. The views came from the audience, not the content.
-
-The right output is short: "This isn't an outlier for that creator, so it doesn't prove the
-format works. Want me to look at their reels that did 3x their usual, or find a smaller account
-in your niche with a real hit?" No beat sheet, no remake.
diff --git a/skills/instagram-reel-remake/references/scope-and-connections.md b/skills/instagram-reel-remake/references/scope-and-connections.md
deleted file mode 100644
index 484564e..0000000
--- a/skills/instagram-reel-remake/references/scope-and-connections.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# Scope and Connections
-
-## The job
-
-Turn a proven short video into the user's own original version, end to end: get the file in,
-watch it, explain why it worked, rebuild it beat-matched in their voice, check it's original,
-publish it with confirmation, and read the results back. One skill, no other skills needed.
-
-## Does
-
-- Runs `scripts/video-eyes.py` (free: Python + ffmpeg, optional local whisper) to extract shots,
- frames, pacing, hook-window stats and a transcript.
-- Reads frames directly (multimodal) for on-screen text, framing and visual hooks.
-- Scores whether the source is an outlier and says no when it isn't.
-- Writes the beat sheet, the remake script, 3 alternative hooks, the shot list, on-screen text,
- caption, cover brief, audio direction and edit plan (`writing-and-publishing.md`,
- `remake-recipes.md`).
-- Enforces the originality gate.
-- Publishes with WoopSocial after explicit confirmation (`woopsocial.md`): Instagram Reel,
- TikTok draft, YouTube Short.
-- Reads post metrics back from WoopSocial and keeps a one-line lesson log.
-- Cuts the user's own clips together with ffmpeg when they hand them over and a shell is
- available.
-
-## Doesn't
-
-- Repost, re-upload or reuse any part of the source video, audio, voice or text.
-- Download in bulk, scrape accounts, or use logged-in sessions or cookies.
-- Use paid services, API keys or accounts to watch the video. (Publishing needs a WoopSocial
- connection; without one, the user gets the files and posts them by hand.)
-- Identify songs, or extract a sound to reuse.
-- Film the video, or generate footage.
-- Promise views or virality. Invent metrics.
-
-## Inputs it reads
-
-- Brand or voice notes if the workspace has them (`brand-profile.md` or similar); otherwise the
- three quick questions in Step 0.
-- The source video or screenshots, its visible stats, the creator's follower count, the top
- comments.
-- The user's remake log, if one exists, to reuse lessons.
-
-## Outputs it writes
-
-- `remake/timeline.json`, `remake/frames/`, `remake/contact-sheet.jpg` (from video-eyes).
-- The remake pack: beat sheet, script, hooks, shot list, on-screen text, caption, cover brief,
- edit plan, publish block.
-- After publishing: one line per remake in `remake-log.md` (date, source, outlier score, mode,
- metrics with `collectedAt`, lesson).
-
-## Publishing
-
-With WoopSocial, as described in `woopsocial.md` (bundled in this folder): health check,
-upload media, validate, explicit confirmation, create the post, then read metrics with
-`social_account_posts_list`. Metrics WoopSocial doesn't return (watch time, retention, follower
-growth) come from the platform's own insights.
diff --git a/skills/instagram-reel-remake/references/woopsocial.md b/skills/instagram-reel-remake/references/woopsocial.md
deleted file mode 100644
index 372931b..0000000
--- a/skills/instagram-reel-remake/references/woopsocial.md
+++ /dev/null
@@ -1,135 +0,0 @@
-<!-- Copy of tools/integrations/woopsocial.md, generated by scripts/sync-standalone.py. Edit the master, then re-run the script. -->
-
-# WoopSocial — integration guide
-
-The canonical reference for any skill that publishes or schedules through WoopSocial. Shared
-infrastructure: bridge skills point here instead of hardcoding API details.
-
-> Exact request/response field schemas live in WoopSocial's live docs — always treat those as
-> the source of truth: docs index `https://docs.woopsocial.com/llms.txt`, plus the OpenAPI
-> spec. This guide captures the durable capability surface and how skills should use it; it
-> does not restate every field.
-
-## Two ways in
-
-WoopSocial exposes the same backend two ways. Pick by context:
-
-- **MCP server — `https://api.woopsocial.com/mcp`.** Prefer this for AI-agent workflows. The
- agent calls structured tools instead of raw HTTP. Auth is **OAuth** (the client prompts the
- user to log in to WoopSocial); if the client can't use the URL, an **API-key** fallback is
- available.
-- **REST API — `https://api.woopsocial.com/v1`.** Prefer this for servers, cron jobs, webhooks,
- and apps. Same backend logic as the MCP tools.
-
-Auth keys are created in the WoopSocial dashboard → API (`app.woopsocial.com/api-access`).
-API/MCP access is on the paid plans.
-
-## Connecting the MCP, by client
-
-When a user asks to connect, walk them through the row that matches THEIR client (you know
-which one you're running in). Prerequisite: a WoopSocial account. Social accounts can be
-connected in the dashboard — or directly from the agent once the MCP is connected: call
-`oauth_create_authorization` to generate a browser authorization URL, hand it to the user to
-open and approve, then confirm the new account appears via the Social Accounts listing. Exact
-menus shift — verify-quarterly against `docs.woopsocial.com/mcp/integrating-clients`.
-
-| Client | How to connect |
-|---|---|
-| Claude (web/desktop, Cowork) | Settings → Connectors → add custom connector → `https://api.woopsocial.com/mcp` → OAuth login |
-| Claude Code (CLI) | `claude mcp add --transport http woopsocial https://api.woopsocial.com/mcp` → OAuth on first use |
-| Codex CLI / Cursor | Add the same URL as a remote MCP server (Cursor: via its MCP directory) → OAuth |
-| ChatGPT / Gemini CLI / other agents | API-key URL form: `https://api.woopsocial.com/mcp?api_key=YOUR_API_KEY` (key from the dashboard API page) |
-| OpenClaw / Hermes | Install the published skill: `openclaw skills install @woopsocial/social-media-scheduler` (wraps this MCP; still needs the OAuth/API-key connection above), or add the MCP URL to the agent's MCP config |
-| No MCP support at all | REST API fallback (`https://api.woopsocial.com/v1`, same backend) |
-
-Two gotchas worth surfacing proactively:
-
-- **Media uploads need an allowlist entry.** Clients that restrict outbound domains (Claude,
- ChatGPT) must allow `*.cloudflarestorage.com` (uploads go to `r2.cloudflarestorage.com`) —
- without it, post creation works but media uploads fail.
-- **The API key is a production credential** — it can publish, delete, and change account
- settings. Treat the `?api_key=` URL as a secret; never paste it into shared chats or commit
- it anywhere.
-
-## Capability surface (domains)
-
-The MCP tools and REST API mirror each other, grouped by domain:
-
-- **Projects** — manage the org's projects (a post belongs to a project).
-- **Social Accounts** — list connected accounts and their platform-specific options, and
- connect NEW accounts via `oauth_create_authorization` (returns a browser authorization URL
- the user opens and approves). Project and account identifiers are surfaced automatically —
- discover them, don't ask the user to paste IDs.
-- **Posts** — **create, list, read, validate, delete** scheduled content. Note: the core Posts
- tools cover create/validate/delete but not in-place update — to change a scheduled post,
- delete and recreate (with confirmation). **One content item per post (`maxItems: 1`)** — no
- native multi-post thread chains; a "thread" is a series of separate posts.
-- **Media** — upload files and attach them to posts. **Raw-bytes upload with server-side MIME
- detection** (you don't set content types by hand). Single-request upload for typical files;
- **chunked upload sessions** for large files (up to 5 GB).
-- **Webhooks** — register callbacks for post events (e.g., published, failed). Use for delivery
- confirmation instead of polling.
-- **Health** — verify connectivity. Good first call to confirm the connection in Step 0.
-
-**Post analytics.** Listing or reading a social-account post includes its latest stored
-**lifetime** metrics. There is no separate analytics query and no date-range report. Reading a
-post does not refresh the numbers; collection is asynchronous, and snapshot dates can differ by
-metric.
-
-Platforms with post analytics: **TikTok, LinkedIn (profiles and Pages), Facebook, Instagram,
-Pinterest, YouTube, and Bluesky.** Metrics stored when the platform supports them: views,
-impressions, unique impressions, likes, reactions, comments, shares, saves, and clicks. LinkedIn
-Pages also includes a provider-reported engagement rate. Unsupported metrics are omitted.
-Unsupported platforms and post types come back as an empty object. A missing field is not zero —
-zero is a recorded value.
-
-Not included: **X, Threads, and Reddit**; account-level stats (followers, profile visits);
-watch time, retention, average view duration, CTR, and traffic sources; story exits and sticker
-taps; hashtag or search breakdowns; competitor analytics; best-time recommendations. Those still
-come from the native dashboard or GA4/UTM. WoopSocial still does **not generate or edit media**,
-and it still has no inbox, DM, comment-thread, or moderation surface. The comments field is a
-count, not the comments themselves.
-
-Never fabricate a metric.
-
-## What WoopSocial handles for you
-
-- **Automatic per-platform field handling** — one upload + content can fan out to multiple
- platforms and land with the correct per-platform metadata on each. You don't hand-format each
- platform's payload.
-- **Automatic AI-disclosure on TikTok** — AI-generated content is disclosed per TikTok's rules
- without extra work. (Still note AI use elsewhere per the brand's compliance guardrails.)
-- **Native scheduling** — schedule for a future time directly; no separate polling layer
- needed.
-
-## Platforms
-
-Facebook, Instagram, LinkedIn (profiles + company pages), X/Twitter, Pinterest, TikTok,
-YouTube, Threads, Bluesky.
-
-## Limits to respect
-
-- Plan-based. Notably **X/Twitter has a monthly post cap** on lower tiers (e.g., ~200/mo) —
- surface this rather than silently dropping posts. **Threads and Bluesky have no post caps.**
-- **TikTok video: max 1 GB** per file.
-- **One content item per post** (`maxItems: 1`) — see Posts above.
-- Confirm the user's plan limits when scheduling large batches.
-
-## How skills should use this (contract)
-
-1. **Health** check / discover **Projects** + **Social Accounts** (Step 0). If unreachable →
- degrade gracefully (don't fake success).
-2. Upload any **Media** (raw bytes).
-3. **Validate** each post before committing.
-4. After explicit user confirmation, **create** the scheduled/published Post(s).
-5. Read back IDs; optionally register a **Webhook** for delivery status.
-6. To change a scheduled post: **delete** + recreate (confirm). Never double-create.
-
-## Pointers
-
-- Docs index (for live schemas, tool names, parameters): `https://docs.woopsocial.com/llms.txt`
-- MCP overview: `https://docs.woopsocial.com/mcp/overview`
-- Community MCP repo: `https://github.com/WoopSocial/mcp`
-
-*Last verified against WoopSocial docs at build time. Re-verify the live schema before relying
-on exact tool names or fields.*
diff --git a/skills/instagram-reel-remake/references/writing-and-publishing.md b/skills/instagram-reel-remake/references/writing-and-publishing.md
deleted file mode 100644
index c6986e8..0000000
--- a/skills/instagram-reel-remake/references/writing-and-publishing.md
+++ /dev/null
@@ -1,104 +0,0 @@
-# Writing and Publishing Essentials
-
-Everything the remake needs to be written and posted well, in one place. Platform numbers are
-**verify-quarterly**: they move.
-
-## The hook (first 3 seconds)
-
-The hook is three things that land together: the **first frame**, the **first spoken line**
-and the **first on-screen line**. Most outliers stack at least two.
-
-Rules:
-
-1. **Open a loop in under 2 seconds.** A conflict ("My client tried this on me"), a promise
- ("3 things nobody tells you about…"), a surprising claim, or a visual that needs explaining.
-2. **No warm-up.** Cut "Hey guys," "So today," logos and intros. Start mid-sentence if needed.
-3. **The on-screen line adds, it doesn't repeat.** Spoken: "My landlord tried this." Text: "he
- didn't expect #3."
-4. **Specific beats general.** "Rent up 18% on two weeks' notice" beats "rent is going up."
-5. **Match the source's hook type, not its words.** If the source used conflict + promise, the
- remake uses a conflict + promise from the user's world.
-
-Always give 3 alternative hooks with the remake, each a different type (conflict, promise,
-claim), so the user can film two takes and pick.
-
-## On-screen text
-
-- 3 to 7 words per card, readable in under a second.
-- Appears 0.1 to 0.3 seconds after the cut, so the eye lands first.
-- Most people watch with the sound off: burned-in captions (2 to 4 words per line) plus the
- on-screen text cards carry the whole story without audio.
-- Keep everything inside the safe zone (below).
-
-## The caption
-
-1. **First line = the keyword + the reason to watch.** Instagram and TikTok are searched like
- search engines; say what it's about in the words people type ("freelance contract revision
- clause").
-2. **One to three short lines of value or context** the video didn't have room for.
-3. **One question that invites a real answer** (a story, an opinion), not "thoughts?"
-4. **3 to 5 specific hashtags** at most, or none; broad tags like #viral do nothing.
-5. In the user's voice; no promises they can't back up.
-
-## The cover
-
-- Chosen **before** publishing; on Instagram it **can't be changed after**.
-- A custom image beats a random video frame: the hook frame with the hook text, bold and large
- (at least ~60px at 1080 width), centered.
-- Instagram shows it 9:16 in the Reels tab but crops it to **3:4 (1080x1440)** on the profile
- grid, so keep the face and text in the center.
-
-## Audio
-
-- Never reuse the source's audio or voice.
-- For a trending sound: add it **in the app** from the platform's own library (licensed there),
- quietly under the voice. On TikTok that's why the post goes up as a draft.
-- For an original sound: the user's voice plus room tone is fine; many outliers are just a voice.
-- If the user wants made music, it must be music they have commercial rights to.
-
-## Video specs and safe zone
-
-| | Instagram Reel | TikTok | YouTube Short |
-|---|---|---|---|
-| Aspect / size | 9:16, 1080x1920 | 9:16, 1080x1920 | 9:16, 1080x1920 |
-| Length | up to 3 min in-app (verify) | per account; check `maxVideoPostDurationSec` in WoopSocial's platform inputs | up to 3 min (verify) |
-| Safe zone | keep text and faces out of the top ~250px and bottom ~350px | similar; bottom ~350px and right edge carry buttons | similar; bottom ~350px |
-| Watermarks | remove other platforms' watermarks | same | same |
-
-Export H.264 MP4, 30fps, at a high bitrate (around 15 to 20 Mbps) so the platform's compression
-doesn't blur text.
-
-## Publish settings per platform
-
-**Instagram Reel** (via WoopSocial, see `woopsocial.md`)
-
-- Post type **REEL** + the video + the caption + the cover image.
-- Done in the app, not via API: picking a trending sound, Share-to-Feed tweaks, collaborator and
- product tags. Tell the user if they want any of these.
-
-**TikTok**
-
-- Upload with mode **`MEDIA_UPLOAD`**: it lands in the user's TikTok drafts/inbox. They add the
- trending sound in the app and post. Use **`DIRECT_POST`** only when no in-app sound is wanted.
-- Privacy level: one of the values WoopSocial's platform inputs return for that account.
-- Leave comments, duets and stitches **on** (they're reach) unless there's a brand-safety reason.
-- Disclosure: branded content and paid partnerships must be marked truthfully. If the remake
- uses AI-generated footage or voice, WoopSocial applies TikTok's AI label automatically.
-
-**YouTube Shorts**
-
-- Same file; give it its own title (keyword first, under ~60 characters) and a short
- description.
-
-## The confirmation (always)
-
-Before publishing, show the user exactly what will go out:
-
-```
-Instagram REEL | remake-final.mp4 | cover.jpg | Thu 2026-10-22 18:30
-Caption: <full caption>
-TikTok MEDIA_UPLOAD (drafts, add sound in-app) | <caption>
-Post these? (yes / change something)
-```
-
-Publish only after an explicit yes. A "looks good" about the script is not a yes to publish.
diff --git a/skills/instagram-reel-remake/scripts/video-eyes.py b/skills/instagram-reel-remake/scripts/video-eyes.py
deleted file mode 100755
index d6f6bbf..0000000
--- a/skills/instagram-reel-remake/scripts/video-eyes.py
+++ /dev/null
@@ -1,382 +0,0 @@
-#!/usr/bin/env python3
-"""video-eyes: turn a short video into something an AI agent can actually "watch".
-
-Given a local video file (a Reel, TikTok or Short you saved), it writes:
-
- <out>/timeline.json shots with start/end times, cut rate, hook-window stats, audio
- profile, transcript (with timings when available), file list
- <out>/frames/ one JPEG per shot + dense frames across the first 3 seconds
- <out>/contact-sheet.jpg every frame in one image, left-to-right, top-to-bottom, in the
- order listed in timeline.json "contact_sheet_order"
-
-The agent then reads timeline.json and looks at the frames (any multimodal model can read
-JPEGs), so it sees the hook, the cuts and the on-screen text instead of guessing.
-
-Requirements: Python 3.8+ (standard library only) and ffmpeg + ffprobe on PATH.
-Optional, used automatically when present:
- - transcription: the `faster_whisper` Python package, or the `whisper` CLI (openai-whisper),
- or the `whisper-cli` binary from whisper.cpp (set WHISPER_CPP_MODEL to a ggml model path)
- - a sidecar subtitle file next to the video (same name, .vtt or .srt), used before whisper
- - `tesseract` for an OCR hint per frame (the agent should still read the frames itself)
- - `yt-dlp`, only when you pass a URL instead of a file (TikTok and YouTube work without a
- login; Instagram usually needs a logged-in session, so save the Reel with Instagram's own
- Share > Download instead)
-
-Nothing here calls a paid service or needs an account or API key.
-
-Usage:
- python3 video-eyes.py path/to/reel.mp4 [--out DIR] [--scene 0.30] [--no-transcript]
- python3 video-eyes.py https://www.tiktok.com/@user/video/123 --out remake/
-"""
-import argparse
-import json
-import os
-import re
-import shutil
-import subprocess
-import sys
-import tempfile
-
-HOOK_WINDOW = 3.0 # seconds that decide whether people keep watching
-HOOK_FRAME_STEP = 0.5 # dense sampling inside the hook window
-MAX_SHOT_GAP = 4.0 # no cut for this long -> sample a frame anyway (static shots)
-FRAME_WIDTH = 540 # enough to read on-screen text, small enough for context windows
-
-
-def run(cmd, check=True):
- return subprocess.run(cmd, capture_output=True, text=True, check=check)
-
-
-def need(binary):
- if shutil.which(binary) is None:
- sys.exit(f"video-eyes: '{binary}' not found on PATH. Install ffmpeg "
- f"(macOS: brew install ffmpeg, Debian/Ubuntu: apt install ffmpeg), "
- f"or fall back to screenshots (see the skill's capability levels).")
-
-
-def fetch_url(url, workdir):
- if shutil.which("yt-dlp") is None:
- sys.exit("video-eyes: got a URL but yt-dlp isn't installed. Save the video file "
- "instead (Instagram: Share > Download) and pass its path.")
- if "instagram.com" in url:
- print("video-eyes: note: Instagram usually blocks downloads without a logged-in "
- "session. If this fails, use Instagram's Share > Download and pass the file.",
- file=sys.stderr)
- tpl = os.path.join(workdir, "source.%(ext)s")
- res = run(["yt-dlp", "-f", "mp4/best", "--write-auto-subs", "--sub-format", "vtt",
- "--write-info-json", "-o", tpl, url], check=False)
- if res.returncode != 0:
- sys.exit("video-eyes: yt-dlp could not fetch that URL:\n" + res.stderr[-800:])
- vids = [f for f in os.listdir(workdir) if f.startswith("source.") and
- f.rsplit(".", 1)[-1] in ("mp4", "webm", "mkv", "mov")]
- if not vids:
- sys.exit("video-eyes: yt-dlp finished but no video file was written.")
- return os.path.join(workdir, vids[0])
-
-
-def probe(path):
- res = run(["ffprobe", "-v", "error", "-print_format", "json", "-show_format",
- "-show_streams", path])
- data = json.loads(res.stdout)
- v = next((s for s in data["streams"] if s.get("codec_type") == "video"), None)
- a = next((s for s in data["streams"] if s.get("codec_type") == "audio"), None)
- if v is None:
- sys.exit("video-eyes: no video stream found in that file.")
- num, _, den = (v.get("avg_frame_rate") or "0/1").partition("/")
- fps = round(float(num) / float(den), 2) if den and float(den) else None
- w, h = int(v.get("width", 0)), int(v.get("height", 0))
- rotate = 0
- for sd in v.get("side_data_list", []) or []:
- if "rotation" in sd:
- rotate = abs(int(sd["rotation"])) % 360
- if rotate in (90, 270):
- w, h = h, w
- return {
- "duration_s": round(float(data["format"].get("duration", 0)), 2),
- "width": w, "height": h, "fps": fps,
- "aspect": f"{w}:{h}" if not (w and h) else _aspect(w, h),
- "has_audio": a is not None,
- }
-
-
-def _aspect(w, h):
- r = w / h
- for name, val in (("9:16", 9 / 16), ("4:5", 4 / 5), ("1:1", 1.0), ("16:9", 16 / 9)):
- if abs(r - val) < 0.03:
- return name
- return f"{w}:{h}"
-
-
-def detect_cuts(path, threshold):
- res = run(["ffmpeg", "-hide_banner", "-nostats", "-i", path, "-an", "-vf",
- f"select='gt(scene,{threshold})',showinfo", "-f", "null", "-"], check=False)
- times = [float(m) for m in re.findall(r"pts_time:([0-9.]+)", res.stderr)]
- return sorted(t for t in times if t > 0.2)
-
-
-def build_shots(cuts, duration):
- bounds = [0.0] + [c for c in cuts if c < duration - 0.1] + [duration]
- shots = []
- for i in range(len(bounds) - 1):
- start, end = bounds[i], bounds[i + 1]
- if end - start < 0.15: # flash frames: merge into the previous shot
- if shots:
- shots[-1]["end"] = round(end, 2)
- continue
- shots.append({"start": round(start, 2), "end": round(end, 2)})
- for i, s in enumerate(shots, 1):
- s["shot"] = i
- s["length_s"] = round(s["end"] - s["start"], 2)
- return shots
-
-
-def sample_times(shots):
- """One frame per shot (just after the cut), extra frames for long static shots,
- and dense frames across the hook window."""
- picks = {}
- for s in shots:
- t = min(s["start"] + 0.3, (s["start"] + s["end"]) / 2)
- picks[round(t, 2)] = f"shot {s['shot']}"
- t2 = s["start"] + MAX_SHOT_GAP
- while t2 < s["end"] - 0.5:
- picks.setdefault(round(t2, 2), f"shot {s['shot']} (held)")
- t2 += MAX_SHOT_GAP
- t = 0.0
- end = min(HOOK_WINDOW, shots[-1]["end"] - 0.05) if shots else 0
- while t <= end:
- picks.setdefault(round(t, 2), "hook window")
- t += HOOK_FRAME_STEP
- return sorted(picks.items())
-
-
-def extract_frames(path, times, frames_dir):
- os.makedirs(frames_dir, exist_ok=True)
- out = []
- for i, (t, why) in enumerate(times, 1):
- name = f"f{i:03d}_{t:06.2f}s.jpg"
- dest = os.path.join(frames_dir, name)
- run(["ffmpeg", "-hide_banner", "-loglevel", "error", "-y", "-ss", f"{t}", "-i", path,
- "-frames:v", "1", "-vf", f"scale={FRAME_WIDTH}:-2", "-q:v", "3", dest], check=False)
- if os.path.exists(dest):
- out.append({"t": t, "file": f"frames/{name}", "why": why})
- return out
-
-
-def contact_sheet(frames, out_dir):
- if not frames:
- return None
- cols = 4 if len(frames) > 6 else min(3, len(frames))
- rows = -(-len(frames) // cols)
- with tempfile.TemporaryDirectory() as tmp:
- for i, f in enumerate(frames):
- os.symlink(os.path.abspath(os.path.join(out_dir, f["file"])),
- os.path.join(tmp, f"{i:04d}.jpg"))
- dest = os.path.join(out_dir, "contact-sheet.jpg")
- res = run(["ffmpeg", "-hide_banner", "-loglevel", "error", "-y", "-framerate", "1",
- "-i", os.path.join(tmp, "%04d.jpg"), "-vf",
- f"scale=270:-2,tile={cols}x{rows}:padding=6:margin=6:color=white",
- "-frames:v", "1", "-q:v", "3", dest], check=False)
- return "contact-sheet.jpg" if res.returncode == 0 and os.path.exists(dest) else None
-
-
-def audio_profile(path, duration):
- res = run(["ffmpeg", "-hide_banner", "-nostats", "-i", path, "-vn", "-af",
- "silencedetect=noise=-35dB:d=0.4,volumedetect", "-f", "null", "-"], check=False)
- starts = [float(x) for x in re.findall(r"silence_start: ([0-9.]+)", res.stderr)]
- ends = [float(x) for x in re.findall(r"silence_end: ([0-9.]+)", res.stderr)]
- if len(ends) < len(starts):
- ends.append(duration)
- silent = sum(max(0.0, e - s) for s, e in zip(starts, ends))
- mean = re.search(r"mean_volume: (-?[0-9.]+) dB", res.stderr)
- first_sound = 0.0
- if starts and starts[0] < 0.05 and ends:
- first_sound = ends[0]
- return {
- "silent_share": round(silent / duration, 2) if duration else None,
- "mean_volume_db": float(mean.group(1)) if mean else None,
- "first_sound_at_s": round(first_sound, 2),
- "silences": [{"start": round(s, 2), "end": round(e, 2)} for s, e in zip(starts, ends)],
- "note": "Audio is measured, not identified: this can't tell speech from music. "
- "Use the transcript (speech) and the frames/caption (named sound) for that.",
- }
-
-
-def parse_subs(path):
- text = open(path, encoding="utf-8", errors="ignore").read()
- segs = []
- pat = re.compile(r"(\d+:)?(\d\d):(\d\d)[.,](\d{3})\s*-->\s*(\d+:)?(\d\d):(\d\d)[.,](\d{3})"
- r"[^\n]*\n(.*?)(?:\n\n|\Z)", re.S)
-
- def secs(h, m, s, ms):
- return int((h or "0:")[:-1]) * 3600 + int(m) * 60 + int(s) + int(ms) / 1000
-
- for m in pat.finditer(text):
- line = re.sub(r"<[^>]+>", "", m.group(9)).strip().replace("\n", " ")
- if line and (not segs or segs[-1]["text"] != line):
- segs.append({"start": round(secs(*m.group(1, 2, 3, 4)), 2),
- "end": round(secs(*m.group(5, 6, 7, 8)), 2), "text": line})
- return segs
-
-
-def transcribe(path, has_audio, workdir):
- if not has_audio:
- return {"source": None, "segments": [], "note": "No audio track."}
- base = os.path.splitext(path)[0]
- for ext in (".vtt", ".srt", ".en.vtt", ".en.srt"):
- if os.path.exists(base + ext):
- return {"source": f"subtitle file ({os.path.basename(base + ext)})",
- "segments": parse_subs(base + ext)}
- for f in os.listdir(os.path.dirname(path) or "."):
- # same name plus a language tag only (reel.en.vtt), never reel2.vtt for reel.mp4
- if f.startswith(os.path.basename(base) + ".") and f.endswith((".vtt", ".srt")):
- p = os.path.join(os.path.dirname(path) or ".", f)
- return {"source": f"subtitle file ({f})", "segments": parse_subs(p)}
-
- wav = os.path.join(workdir, "audio16k.wav")
- run(["ffmpeg", "-hide_banner", "-loglevel", "error", "-y", "-i", path, "-vn", "-ac", "1",
- "-ar", "16000", wav], check=False)
- if not os.path.exists(wav):
- return {"source": None, "segments": [], "note": "Could not extract audio."}
-
- try:
- from faster_whisper import WhisperModel # type: ignore
- model = WhisperModel(os.environ.get("WHISPER_MODEL", "base"), compute_type="int8")
- segments, info = model.transcribe(wav, vad_filter=True, word_timestamps=True)
- segs, words = [], []
- for s in segments:
- segs.append({"start": round(s.start, 2), "end": round(s.end, 2),
- "text": s.text.strip()})
- words += [{"start": round(w.start, 2), "end": round(w.end, 2),
- "w": w.word.strip()} for w in (s.words or [])]
- return {"source": "faster-whisper", "language": info.language, "segments": segs,
- "words": words}
- except ImportError:
- pass
- except Exception as e: # model download blocked, etc. Try the next engine.
- print(f"video-eyes: faster-whisper failed ({e}); trying other engines.", file=sys.stderr)
-
- if shutil.which("whisper"):
- res = run(["whisper", wav, "--model", os.environ.get("WHISPER_MODEL", "base"),
- "--output_format", "srt", "--output_dir", workdir], check=False)
- srt = os.path.join(workdir, "audio16k.srt")
- if res.returncode == 0 and os.path.exists(srt):
- return {"source": "whisper CLI", "segments": parse_subs(srt)}
-
- model_path = os.environ.get("WHISPER_CPP_MODEL")
- if shutil.which("whisper-cli") and model_path and os.path.exists(model_path):
- prefix = os.path.join(workdir, "wcpp")
- res = run(["whisper-cli", "-m", model_path, "-f", wav, "-osrt", "-of", prefix],
- check=False)
- if res.returncode == 0 and os.path.exists(prefix + ".srt"):
- return {"source": "whisper.cpp", "segments": parse_subs(prefix + ".srt")}
-
- return {"source": None, "segments": [],
- "note": "No transcription engine found. Options: pip install faster-whisper; "
- "or paste the platform's own captions/transcript; or work from the "
- "frames (on-screen text often carries the script)."}
-
-
-def ocr_hint(out_dir, frames):
- if shutil.which("tesseract") is None:
- return False
- for f in frames:
- res = run(["tesseract", os.path.join(out_dir, f["file"]), "-", "--psm", "11"],
- check=False)
- words = " ".join(res.stdout.split())
- if len(re.sub(r"[^A-Za-z0-9]", "", words)) >= 4:
- f["ocr_hint"] = words[:240]
- return True
-
-
-def main():
- ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])
- ap.add_argument("source", help="video file path, or a URL (needs yt-dlp)")
- ap.add_argument("--out", default=None, help="output folder (default: <video>-eyes/)")
- ap.add_argument("--scene", type=float, default=0.30,
- help="cut sensitivity 0-1; lower finds more cuts (default 0.30)")
- ap.add_argument("--no-transcript", action="store_true")
- ap.add_argument("--no-ocr", action="store_true")
- args = ap.parse_args()
-
- need("ffmpeg")
- need("ffprobe")
- work = tempfile.mkdtemp(prefix="video-eyes-")
- src = args.source
- if re.match(r"https?://", src):
- src = fetch_url(src, work)
- elif not os.path.isfile(src):
- sys.exit(f"video-eyes: file not found: {src}")
-
- out = args.out or (os.path.splitext(os.path.abspath(args.source))[0] + "-eyes"
- if not re.match(r"https?://", args.source) else "video-eyes-out")
- os.makedirs(out, exist_ok=True)
-
- meta = probe(src)
- dur = meta["duration_s"]
- cuts = detect_cuts(src, args.scene)
- shots = build_shots(cuts, dur)
- frames = extract_frames(src, sample_times(shots), os.path.join(out, "frames"))
- sheet = contact_sheet(frames, out)
- audio = audio_profile(src, dur) if meta["has_audio"] else None
- transcript = ({"source": None, "segments": [], "note": "Skipped (--no-transcript)."}
- if args.no_transcript else transcribe(src, meta["has_audio"], work))
- ocr = False if args.no_ocr else ocr_hint(out, frames)
-
- # Word timings (faster-whisper) attribute speech to shots precisely; subtitle segments
- # are coarser, so a line that spans a cut is attributed by its midpoint.
- units = transcript.get("words") or [
- {"start": g["start"], "end": g["end"], "w": g["text"]} for g in transcript["segments"]]
-
- def said_between(a, b):
- return " ".join(u["w"] for u in units if a <= (u["start"] + u["end"]) / 2 < b)
-
- for s in shots:
- s["frames"] = [f["file"] for f in frames if s["start"] <= f["t"] < s["end"]
- or (s is shots[-1] and f["t"] >= s["start"])]
- s["said"] = said_between(s["start"], s["end"] + (0.01 if s is shots[-1] else 0))
-
- hook_cuts = [c for c in cuts if c <= HOOK_WINDOW]
- hook_words = said_between(0, HOOK_WINDOW)
- first_speech = transcript["segments"][0]["start"] if transcript["segments"] else None
-
- report = {
- "tool": "video-eyes",
- "source": os.path.basename(src),
- "video": meta,
- "pacing": {
- "shots": len(shots),
- "avg_shot_s": round(dur / len(shots), 2) if shots else None,
- "cuts_per_10s": round(len(cuts) / dur * 10, 1) if dur else None,
- "scene_threshold": args.scene,
- },
- "hook_window": {
- "seconds": HOOK_WINDOW,
- "cuts": len(hook_cuts),
- "first_speech_at_s": first_speech,
- "words_spoken": hook_words or None,
- },
- "shots": shots,
- "frames": frames,
- "contact_sheet": sheet,
- "contact_sheet_order": [f["file"] for f in frames] if sheet else [],
- "audio": audio,
- "transcript": transcript,
- "ocr": "tesseract hints added per frame (verify against the image)" if ocr else None,
- "limits": [
- "Cuts come from visual change; fast pans or flashes can add false cuts, and soft "
- "dissolves can hide real ones. Check the contact sheet.",
- "Frames are samples, not the whole video: motion, gestures and timing between "
- "frames are inferred, so say so when it matters.",
- "Nothing here identifies a song or sound. Read the audio label on screen or ask.",
- ],
- }
- with open(os.path.join(out, "timeline.json"), "w", encoding="utf-8") as fh:
- json.dump(report, fh, indent=2, ensure_ascii=False)
- shutil.rmtree(work, ignore_errors=True)
-
- print(f"video-eyes: {len(shots)} shots, {len(frames)} frames, "
- f"transcript: {transcript['source'] or 'none'} -> {os.path.join(out, 'timeline.json')}")
-
-
-if __name__ == "__main__":
- main()
diff --git a/skills/reels-script/SKILL.md b/skills/reels-script/SKILL.md
index 68e7ecb..96ed6ca 100644
--- a/skills/reels-script/SKILL.md
+++ b/skills/reels-script/SKILL.md
@@ -127,7 +127,6 @@ AI-labeling rules for generated media (disclosure on Instagram is native/manual,
- `instagram-seo` — keywords + the search-first caption; `caption-writer` — caption craft.
- `trend-jacking` — live trend/audio research; `instagram-growth` — the growth strategy above this.
- `tiktok-script` — TikTok; `youtube-shorts` — Shorts; `cross-platform-repurposing` — adapt across.
-- `instagram-reel-remake` — rebuild a proven reel as your own (watches the source, beat-matches the remake).
- `instagram-reels-publishing` — specs/safe zone/cover/publish; `scheduling-and-queue` — schedule
(via WoopSocial); `tools/integrations/veo.md` — the Veo API/connection layer.
diff --git a/skills/viral-reverse-engineering/SKILL.md b/skills/viral-reverse-engineering/SKILL.md
index 4b0a27c..c669ccc 100644
--- a/skills/viral-reverse-engineering/SKILL.md
+++ b/skills/viral-reverse-engineering/SKILL.md
@@ -113,7 +113,6 @@ to you" — **never a copy**. Build a swipe file of recurring patterns over time
- `brand-profile`, `audience-research` — relevance + the "apply to your niche" step.
- `hook-writer` — the most common load-bearing driver; `trend-jacking` — overlapping "why it spread."
- `tiktok-script`, `reels-script`, `caption-writer`, `carousel-writer` — execute the extracted principle.
-- `instagram-reel-remake` — when the user wants their own version made and published, not just the teardown (it can watch a saved video file with its bundled script).
- `competitor-analysis`, `analytics-and-reporting` (advisory) — broader performance analysis.
## References