Short Publish logo

Short Publish

Community
antoniolg
short-publish

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`.

Overview

Publisherantoniolg
Repositoryagent-kit
Skill nameshort-publish
Stars
97
Forks
16
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by antoniolg on GitHub. Read the source before you install it.

Installation

Install the Short Publish AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/antoniolg/agent-kit.git /tmp/agent-kit
mkdir -p .claude/skills
cp -r /tmp/agent-kit/skills/short-publish .claude/skills/short-publish
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Short Publish in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Short Publish on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Short Publish is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Short Publish

Overview

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.

Inputs & Prerequisites

  • Arguments:
    • 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.
  • Tooling: use the postflow CLI (postflow media upload, postflow posts create) and refer to postflow-cli for command details.
  • Script dependency: 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.
  • Timezone: default to Europe/Madrid. In winter assume UTC+01:00 (CET) when presenting final schedules if the date command does not provide the offset.

Workflow

  1. Collect inputs

    • Confirm the provided PATH exists; stop with a descriptive error if not.
    • Resolve 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.
  2. Transcribe and burn subtitles

    • Run the bundled helper: python3 scripts/transcribe_burn.py "$PATH".
    • Outputs (all written next to the original video):
      • <stem>.srt, <stem>.ass, <stem>.txt, <stem>_caption.txt, <stem>_subtitled.mp4.
    • The _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.
  3. 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.

  4. Upload the subtitled video

    • Upload the _subtitled.mp4 and capture media_id:
      bash
      postflow --json media upload --file "<stem>_subtitled.mp4" --kind video
    • Use the returned id as media_id for all posts.
  5. Schedule posts via postflow posts create

    • Accounts come from ~/.config/skills/config.json under postflow.groups.short_publish and postflow.accounts.
    • For X aliases, use postflow.defaults.x (default x-es) unless the user explicitly requests another account.
    • For each account, create a scheduled post with the same copy block and the uploaded media:
      bash
      postflow posts create \
        --account-id <acc_id> \
        --text "<copy_block>" \
        --media-id <media_id> \
        --scheduled-at <ISO8601>
    • If a thread is needed, use --segments-json instead of --text.
  6. Report completion

    • Confirm each scheduled post by echoing returned IDs and scheduled time in CET (UTC+01:00 during winter). Example: LinkedIn pst_... → 2025-01-11T10:00:00+01:00 (CET).

Resources

  • 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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Short Publish AI skill do?

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`.

Why use Short Publish on TypingMind?

Because you install it once and use it with any model. Short Publish is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Short Publish in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/antoniolg/agent-kit/tree/main/skills/short-publish. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Short Publish?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Short Publish?

As many as you like. As long as a model supports skills, you can use Short Publish with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Short Publish AI skill free?

It is published on GitHub by antoniolg. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇