09-publish
Skill4 starsChanged 2 months agoMITView on GitHub
Publish a finished video as a YouTube Short and an Instagram Reel — write the title, description, tags, caption and hashtags for maximum reach, validate them, and post through the agent's own tools (Composio YouTube + Instagram), then log the links. Use after `./sv render <slug> --final`, at the end of START.md, or whenever asked to post / publish / upload a video.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 00-story-directorSkill
- 01-story-scriptSkill
- 02-voice-narrationSkill
- 03-timing-alignmentSkill
- 04-scene-assemblySkill
- 05-image-sourcingSkill
- 06-sound-designSkill
- 07-render-reviewSkill
- 08-bank-builderSkill
- ai-voiceoverSkill
- hook-writerSkill
- humanizerSkill
- short-form-video-scriptSkill
- stop-slopSkill
- tiktok-scriptSkill
- viral-reverse-engineeringSkill
- voice-builderSkill
- writing-style-and-toneSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
containsSyntheticMedia: always false. Never tag or label posts as AI-generated. - Very specific: line 51
Series: if a playlist fits (youtube.playlist, e.g.
- Distinctive: line 54
Never promise what the video does not deliver.
- Very specific: line 64
Read each tool's parameters first.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
09 · Publish — YouTube Shorts + Instagram Reels
0 · Before posting (all must be true)
06-render/final.mp4exists and the director's scorecard has every line ≥ 4../sv post status <slug>is empty — never post a video twice (it is logged in06-render/post/posted.jsonand in thepostedcolumn ofhistory/STORIES.md).- Your tools include Composio YouTube (upload video, update video…) and Composio Instagram (create media container, publish media). No tools / not connected → do steps 1–3, then stop and tell the user exactly which account to connect. Never invent a posting method.
1 · The posting pack
./sv render <slug> --final writes 06-render/post/post.json (or ./sv post pack <slug>): read-only facts
(title, source, hook, direction, duration, look, generated images, AI narration), the
cover (the hook frame, cover.jpg — look at it) and empty youtube / instagram fields you fill.
2 · Write for reach — how both platforms decide
Both show a new Short/Reel to a small test audience, then push it further if people stop (first 1–2 s), watch to the end and rewatch (our loop ending), share / send (Instagram's strongest signal), save, comment and follow. They read your words (title, caption, on-screen text, speech) to know who to show it to and to rank it in search. So every field has one job:
YouTube title (≤ 60 characters — longer is cut on phones)
- The hook's promise in words people search: the story's name or its most intriguing fact. The Pied Piper Was Real · 130 Children Vanished in 1284 · The Wish That Killed His Son.
- Curiosity, never a lie: the video must pay it off. No ALL CAPS, no hashtags, at most one emoji, don't spoil the twist.
YouTube description — short: ≤ 300 characters.
- One sentence with the main keywords (story, author, "legend" / "true story").
- 3 hashtags max at the end. No source line, no AI notes.
YouTube tags (6–12, ≤ 500 characters): the story name, author, variants and misspellings people type
(pied piper, pied piper of hamelin, hamelin legend, dark fairy tales, creepy history).
categoryId: 24 Entertainment (tales, legends) · 27 Education (true history). madeForKids: false
(dark stories; it also keeps comments on). defaultLanguage: en. privacyStatus: public.
containsSyntheticMedia: always false. Never tag or label posts as AI-generated.
Instagram caption — short: 3 lines, ≤ 220 characters.
- The hook as one sentence (≤ 90 characters). 2. One line: a question or a send-prompt, not both.
- Hashtags: 3 max, lowercase or CamelCase, specific (
#piedpiper #darkfolklore #legends). Nothing else: no source line, no AI notes, no line about cropping or grading.shareToFeed: true (also on the profile grid).thumbOffsetMs= the cover frame (already set).
Comments (if your tools can): YouTube pinnedComment / Instagram firstComment = a question that
splits opinions, or the one extra fact that did not fit ("The street where they vanished still forbids music.").
Post the question even when the tool cannot pin it; report that limit.
Series: if a playlist fits (youtube.playlist, e.g. "Twist Endings"), add the Short to it.
Keywords everywhere, stuffing nowhere: the story's name, author and genre in title, first lines and tags. Never promise what the video does not deliver; never "banned", "they don't want you to know", fake urgency.
Hashtags must arrive as #. Pass the caption as plain text — never URL-encode it. After posting, open the
post (or read it back with a tool): if the tags show as %23… or anything but #tag, edit the caption to
remove the hashtags (a clean caption beats broken tags) and add to KNOWN-MISTAKES which tool did it.
3 · Check
./sv post check <slug> → 0 errors: lengths, hashtags, madeForKids, the hook echoed in the title / first line. Fix warnings unless you can say why not.
4 · Post (Composio)
Read each tool's parameters first; map the fields of post.json onto them.
- YouTube Short — upload
06-render/final.mp4with title, description, tags,categoryId,privacyStatus: public, made-for-kids false,defaultLanguage. If the upload tool cannot read a local file, give it the public URL from step 2. Vertical and < 3 minutes → it is a Short. Link:https://youtube.com/shorts/<videoId>. Then (if tools allow) playlist and pinned comment. - Public URL for Instagram:
./sv post host <slug>→ a direct.mp4link valid 24 h (the video is about to be public anyway). Stored inpost.json → publicVideoUrl. - Instagram Reel — create the media container:
media_type: REELS,video_url= that URL,caption,share_to_feed: true,thumb_offset=thumbOffsetMs. Wait until the container is processed (poll its status if a tool exists; otherwise wait ~60 s and retry the publish once), then publish it and get the permalink. Requires the connected account to be Instagram Business or Creator. ./sv post done <slug> --youtube <url> --instagram <url>— logs both links (post.json, history). Failures: read the error, fix the one wrong parameter, retry once. One platform failing never blocks the other; report what failed and the exact error. Never delete and re-upload a post to "fix" it.
5 · Cadence (when the user asks you to schedule)
Consistency beats volume: the same time each day, 1 video per day at most at the start. Evenings and lunch
hours of the target audience work best (US: ~11:00–14:00 and 19:00–22:00 Eastern). YouTube can schedule
(privacyStatus: private + publishAt); without a schedule request, post now.
6 · Report
The two links, the title and first caption line you chose (and why), the hashtags, and anything that failed or needs the user.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

