/mikefluff-skills:post-publisherfrom Mikefluff Skills
Publishes media and text to Instagram, Threads, TikTok, X, YouTube, Telegram, LinkedIn, and syndicates articles to dev.to, Telegraph, or Hashnode. Dry-run by default with per-platform confirmation.
Ships in Mikefluff Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Input: an output directory from carousel-builder / reel-builder (or a single file, or just text). Output: a live post or a platform-side draft, plus a posted.json receipt.
This skill does NOT:
viral-text / essay-write / carousel-builder / reel-builder.Resolve a source directory → build one platform-neutral Post → preflight it against each target platform's real limits → show the user exactly what would go where → ask → publish → write a receipt.
Publication is irreversible. Dry-run is the default and --yes is what leaves it. Even with --yes, each platform is confirmed separately: approving an Instagram post is not approval to also post to X.
Resolve the source. A directory is inspected in this order: final.mp4 → video; several images → carousel (sorted numerically, so slide-2 precedes slide-10); one image → image; nothing → text post. Override with --kind.
Resolve the caption. From --text, else --text-file, else captions.md in the source directory. The parser looks for a ## Main post / ## Основной пост heading and takes everything up to the next heading; with no such heading it takes the whole file minus headings. Always check the extracted text in the dry-run preview — captions.md is written by an agent, so its shape is a convention, not a contract.
Preflight, per platform. Character limits including hashtags, media count, file size, extension, missing alt text, and each platform's own rules (Telegram's 1024-char caption ceiling that does not apply to text posts; Instagram's 24h posting cap; TikTok's audit caveat). A block finding means nothing is sent; a warn means it goes but you should know.
Preview + confirm. Full text, character count, every file with its size and alt text, and whether it is going out live or as a draft.
Publish, then record. The receipt (posted.json) is written immediately after each platform succeeds — a crash mid-fan-out cannot cause a re-post of the platforms already done. A later run with identical content is refused unless --force.
| Platform | Post kinds | Draft | The thing that will bite you |
|---|---|---|---|
telegram | text, image, carousel, video | — | Caption on media caps at 1024 chars (text-only gets 4096). Video ≤50 MB. The only one testable end-to-end without OAuth — start here. |
threads | text, image, carousel, video | container | 500 chars. Text-only posts need no S3 — the easiest real connection. |
instagram | image, carousel, video | container | Business/Creator account required. Media is fetched by URL, so S3 is mandatory. Video publishes as a Reel (≤300 MB, ≤15 min). 100 posts/24h. |
tiktok | video, image, carousel | inbox | Direct publishing needs an audited app; without one, posts are silently forced to SELF_ONLY. Use --draft. |
x | text, image, carousel, video | — | 280 chars. 10,000/24h per app, 100/15min per user; what you may spend depends on the plan. Threads publish incrementally — a failure mid-chain leaves earlier posts live. |
youtube | video | private | 100 uploads/day on their own allocation, drafts included. Cleanest draft of the seven. |
linkedin | text, image, carousel, video | — | 3000 chars. Member posts work with w_member_social; company pages need the partner-gated Community Management API. |
post-publisher <dir> — a carousel-builder / reel-builder output directorypost-publisher <file> — a single image or videopost-publisher --kind text --text "..." — no source at all--platform a,b,c — comma-separated; each is confirmed separately--draft — stage instead of publish. A platform without drafts is skipped, not published live--kind text|image|carousel|video|article — override auto-detection--text / --text-file — caption (overrides captions.md)--title — YouTube title / LinkedIn article title--hashtags "a,b,c" — kept separate from the body so preflight can count them--alt "..." — repeat once per media file, in order--link — attached where the platform supports it--kind article)--canonical <url> — the important one. The URL of the original on your own domain--description — SEO excerpt / subtitle--series — dev.to series name, Hashnode series id--cover-url — cover image, already hosted--packets <dir> — write submission packets for the platforms with no API--yes — leave dry-run. Still asks before each platform--force — publish despite a matching receipt in posted.json--publish-container <id> — publish a Meta container left by an earlier --draft--check --platform X — readiness: credentials present, token usable--list-platforms — everything, with what each is missing| Code | Meaning |
|---|---|
0 | Everything asked for happened, or was already done |
1 | At least one platform failed — blocked by preflight, missing credentials, or a platform error |
2 | Usage error: no --platform, unreadable source |
A skip is not a failure. A platform skipped because it has no drafts, or
because posted.json says this content already went out, leaves the code at
0 — in a mixed run (--platform telegram,instagram --draft) Instagram
drafting successfully should not be reported as an error because Telegram was
skipped. The summary line always states how many proceeded, were skipped and
were blocked.
python3 -m common.runners.cli.auth --platform <name> — OAuth in a browser... --paste-token — paste a token from the platform's own token tool (the supported route wherever loopback redirects are rejected)... --status / --verify / --revoke <name>skills-keys accounts — the same list, from the credentials skill| File | When to load |
|---|---|
| references/syndication.md | --kind article — why canonical decides whether syndication helps or hurts, which platforms have an API, and the order to publish in |
| references/oauth-setup.md | First — per-platform app registration, scopes, account type, which env vars go in ~/.skills.env |
| references/platform-limits.md | Step 3 — the limit matrix preflight enforces, with what to verify against live docs |
| references/browser-fallback.md | When the API path is closed: unaudited TikTok, personal Instagram, org LinkedIn pages |
| references/troubleshoot.md | A platform returned an error and the message is not self-explanatory |
| viral-text platform budgets | Writing to fit a platform before generating — character budgets and tone per network |
See examples/before-after.md — three calibration runs: an 8-slide carousel to Instagram as a draft, a reel to TikTok's inbox, and a text post fanned out to Threads + Telegram + X.
Dry-run is the default and must stay that way. Every other runner here is safely re-runnable because a wasted generation costs cents. A wasted publish costs an audience. --yes is the deliberate act.
Confirm per platform, never in bulk. A single "yes" must not fan out to seven networks.
--draft is a promise. If a platform cannot draft, skip it. Publishing live because the user asked for a draft is the worst possible reading of the flag.
Never print a token. Masked in --status, absent from errors, absent from logs. ~/.skills-tokens.json is chmod 600 and gitignored.
Preflight before bytes. Every check that can happen locally happens before the first network call. Staging a 200 MB reel to S3 and waiting a minute for ingestion, only to be refused on a caption length, is a bug.
Receipts are per (platform, content). Editing the caption makes it a new post and it goes through; re-running the identical command does not.
Report partial failure as partial. An X thread that publishes 3 of 6 posts is not a failed publish and must not be reported as one — the receipt records what actually went out.
Verify endpoints before first use. All seven APIs move. Versions are env-overridable (INSTAGRAM_API_VERSION, LINKEDIN_API_VERSION, THREADS_API_VERSION, X_UPLOAD_URL) precisely so a vendor change does not need a code change. references/platform-limits.md carries the last-verified date.
The browser path is a fallback, not a peer. It is best-effort, it is a grey area under some platforms' terms, and it requires explicit consent every single time. Never drive it silently.
No engagement automation. This skill posts what the user wrote. It does not follow, like, comment, DM, or run multiple accounts in concert.
Triggers:
carousel-builder or reel-builder finishes, when the user says "и выложи" / "and post it"Defaults: dry-run, no --draft, caption from captions.md. If the user names no platform, ask once — do not guess a destination.
If nothing is connected yet, route to references/oauth-setup.md and suggest starting with Telegram (no OAuth) or Threads (simplest OAuth), not Instagram.
Upstream: carousel-builder, reel-builder, viral-text, quote-card-maker, meme-card-maker — anything that lands assets in ./generated/.
examples/before-after.md (opens in a new tab)references/browser-fallback.md (opens in a new tab)references/oauth-setup.md (opens in a new tab)references/platform-limits.md (opens in a new tab)references/syndication.md (opens in a new tab)references/troubleshoot.md (opens in a new tab)scripts/run.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mikefluff/skills --plugin mikefluff-skills46 skills in this plugin
/audio-mix-makerMix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'./avatar-makerTurn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'./banner-makerBanner-ad / display-creative generator with standard-size presets: Google Display (leaderboard, medium rectangle, mobile, skyscraper), LinkedIn, OG image, Twitter card, Facebook ad, header. Text-heavy ad aesthetic, ideogram-3-quality default. Use when: 'banner ad', 'display ad', 'OG image', 'Twitter card', 'баннер для рекламы', 'OG-картинка'./bg-removerBackground removal utility — image in, transparent PNG out. Wraps Replicate-hosted models (851-labs/background-remover default; alternatives via --replicate-model). Use when: 'remove the background', 'cut out the subject', 'transparent PNG', 'убери фон', 'вырежи фон с фотки'./canon-checkRead-only story-bible auditor for fiction series with a documented canon. Cross-references character / artifact / location mentions in chapters against the bible and flags drift. Produces a drift report — never edits files. Use before opening or committing a chapter, or when reintroducing an established entity./carousel-builderTurn a topic or research brief into an N-slide Instagram / LinkedIn / TikTok carousel with consistent visual style and ready-to-post captions. Modes: --topic / --research; --slides 3-12; --platform; --aspect; --text-mode. Use when: 'make a carousel about X', 'turn this research into a post', '8 slides on Y', 'carousel for LinkedIn'.Other plugins' skills for the same job