skills/short-publish/SKILL.md
End-to-end workflow for turning a local video into transcripts, burned subtitles, and scheduled multi-network posts via PostFlow CLI. Use when given a video path and publication date/time to transcribe, create copy for LinkedIn/X/IG/YouTube, upload the subtitled MP4, and schedule the content with `postflow`.
npx skillsauth add antoniolg/agent-kit short-publishInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill automates the complete "video → subtitles → PostFlow" pipeline: run Whisper-based transcription, burn subtitles with the bundled Python script, turn the transcript into a multi-platform copy block, and schedule social posts through the PostFlow CLI.
PATH – absolute path to the source video (MOV/MP4/etc.).DATETIME – publication date/time (accepts natural language like "tomorrow 09:00"). Use date to confirm the current timestamp if needed.postflow CLI (postflow media upload, postflow posts create) and refer to postflow-cli for command details.scripts/transcribe_burn.py wraps Whisper, ffmpeg, and auto-gain. Requires Python 3.8+, ffmpeg, and openai-whisper installed for the user; no extra configuration is needed inside this skill.date command does not provide the offset.Collect inputs
PATH exists; stop with a descriptive error if not.DATETIME to an ISO timestamp. Use date -j -f or another deterministic macOS command when the input is natural language so PostFlow receives an unambiguous value.Transcribe and burn subtitles
python3 scripts/transcribe_burn.py "$PATH".<stem>.srt, <stem>.ass, <stem>.txt, <stem>_caption.txt, <stem>_subtitled.mp4._subtitled.mp4 is the media you will upload; everything else is transient reference material. Remove the generated artifacts (srt/ass/txt/caption/mp4_subtitled/normalized wav) once they have been read and the upload succeeds—never delete the original video.Generate the social copy
Read <stem>.txt for the full transcript.
Apply the exact copywriting prompt below to the transcript; do not improvise structure or tone beyond the template.
Act as an expert LinkedIn copywriter building authority content.
Transform the TRANSCRIPT into a case-study or practical-lesson post with this structure:
1. Hook headline with a leading emoji.
2. 2-3 sentence context introducing the situation.
3. Structured core (use 1️⃣/2️⃣/3️⃣ or ✅ and bold keywords per line).
4. Closing takeaway line.
5. Optional P.S. only when the transcript mentions an offer/event.
Style rules: short paragraphs (1-2 lines), intentional emoji usage, no invented facts, stay faithful to the transcript.
Reuse the single output block verbatim for LinkedIn, X, and Instagram, and as the YouTube description (light line breaks allowed). Craft a YouTube title ≤100 characters from the same content.
Upload the subtitled video
_subtitled.mp4 and capture media_id:
postflow --json media upload --file "<stem>_subtitled.mp4" --kind video
id as media_id for all posts.Schedule posts via postflow posts create
~/.config/skills/config.json under postflow.groups.short_publish and postflow.accounts.postflow.defaults.x (default x-es) unless the user explicitly requests another account.postflow posts create \
--account-id <acc_id> \
--text "<copy_block>" \
--media-id <media_id> \
--scheduled-at <ISO8601>
--segments-json instead of --text.Report completion
LinkedIn pst_... → 2025-01-11T10:00:00+01:00 (CET).scripts/transcribe_burn.py: Whisper + ffmpeg pipeline used in Step 2. Copy-safe to reuse elsewhere but do not edit unless the video workflow changes. Running the script produces all intermediate assets and the burned MP4 referenced throughout the workflow.tools
Use the private LearnWorlds CLI to inspect DevExpert Academy users, find students by email, list their enrolled courses/products, look up products, and perform safe enrollment workflows. Trigger when Antonio asks what courses a student has in LearnWorlds or academia.devexpert.io, whether someone belongs to the current or next AI Expert edition, or to use the LearnWorlds/academy CLI.
tools
Orchestrates Android development tasks including project creation, deployment, SDK management, and environment diagnostics using the `android` command-line tool.
development
Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards, generate fresh standalone images for sections or detail views instead of cropping old ones, avoid lazy under-generation, avoid cards-inside-cards-inside-cards UI, and keep the hero clean, spacious, readable, and visible on a small laptop.
development
Create, repair, validate, preview, and package Codex-compatible animated pet spritesheets from character art, screenshots, generated images, or visual references. Use when a user wants to hatch a Codex pet, create a custom animated pet, or build a built-in pet asset with an 8x9 atlas, transparent unused cells, row-by-row animation prompts, QA contact sheets, preview videos, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.