anton-abyzov/postiz-marketing-pipeline/postiz-marketing-pipeline

Claude Code and agent skill by anton-abyzov/postiz-marketing-pipeline

Trust tier 4
  • vendor
Source check pending

Checking that the SKILL.md file is still in the repository.

Short-form video and ad production plus the Postiz internal-API mechanics behind it, for Anton's self-hosted Postiz (postiz.easychamp.com). Covers cookie-auth Postiz calls (showorg and User-Agent headers, upload, per-platform settings, in-place update and bulk media swap, delete-by-group, >100MB uploads over SSH, Instagram covers), rights-safe real-player imagery (CC Wikimedia photos, never ripped broadcast footage), fact checks before render, no-repeat B-roll, ElevenLabs Sarah voiceover, music…

Install

npx vskill@latest install anton-abyzov/postiz-marketing-pipeline/postiz-marketing-pipeline

SKILL.md

The same SKILL.md was published earlier as anton-abyzov/postiz-marketing-pipeline/postiz-marketing-pipeline.

Postiz Marketing Pipeline

Production playbook from the World Cup 2026 launch runs (WC-26 app and the @aabyzov bilingual football clips).

Load social-media-posting first. It owns routing (X and TikTok go through Blotato, everything else through Postiz), the Blotato and Postiz account IDs, YouTube channel routing (AI content goes to @antonabyzov, never the family channel), preview links and the per-post approval gate. Nothing in this skill relaxes that gate. For Kie image and video generation (/api/v1/jobs/createTask, GPT Image 2, Nano Banana Pro, Seedance), use kie-gemini-omni. Use hyperframes* and remotion-best-practices for general composition work.

Postiz also carries Bluesky, dev.to and Pinterest (business accounts only). Postiz-side YouTube channels include SkillUp Football @skillupfootballapplication. Out of scope: Postiz TikTok and X (removed; use Blotato), LinkedIn Company Pages (no route), long-form YouTube editing, and running paid ad campaigns.

Blotato dedup (used by schedule_specs.py): key TikTok posts under platform tiktok, not twitter; GET /v2/accounts returns 401, so derive accounts from /v2/schedules; /v2/media re-ingest returns a new UUID each call, so dedup by (account, caption), not media basename.

Postiz internal API (cookie auth)

Use this API for bulk work the public API key can't do. Details are in references/postiz-api.md.

  • Base $POSTIZ_BASE_URL (https://postiz.easychamp.com). Log in with scripts/postiz-login.sh: POST /api/auth/login with {"email","password","provider":"LOCAL"}. Since the June 2026 build the field is provider, not providerName. The JWT comes back as the auth cookie and lasts about a month. Credentials: vault note Postiz creds.md.
  • Send showorg: true and a Mozilla User-Agent on every call. Without showorg, org-scoped endpoints return [] silently. Without the UA, Cloudflare WAF returns 403 with error 1010.
  • POST /api/posts body: type (schedule or now), date, shortLink: false, top-level tags: [] (not inside posts[]), and posts: [{integration:{id}, value:[{content, image:[{id, path}]}], group:<uuid>, settings}]. image[] items need both id and path (otherwise: "image.0.id must be a string").
  • Platform settings (a missing required key gives a 400):
Platformsettings
Instagram / instagram-standalone{"post_type":"post"} (or "story"). Never "reel": it fails with a generic error, and video becomes a Reel anyway
YouTube`{"title":"<≤60 chars>","type":"public"\"private"\"unlisted","tags":[{label,value}]}, optional category (22 People & Blogs, 27 Education, 28 Sci & Tech, 17 Sports), optional thumbnail:{id,path,name}`
Discord{"channel":"<numeric channel id>"}. List channels with POST /api/integrations/function {"id":"<integration>","name":"channels","data":{}}
Pinterest{"title":"...","board":"<board>"}
LinkedIn{} or {"post_as":"user"}
Facebook, Threads, Telegram{}
  • No PUT; PUT /api/posts/{id} returns 404. To update in place, POST /api/posts again with the existing post id in value[0].id and the existing group; the schedule is kept. scripts/postiz-swap-media.py does this for N posts. Get the group first with GET /api/posts/{id}.
  • Delete with DELETE /api/posts/{group_uuid} (the group UUID, not the post ID). The {"error":true} reply is misleading: the delete worked. Confirm with GET /api/posts/{id}, which returns 500 once the post is gone. Published posts cannot be deleted through Postiz.
  • Files over ~100MB get a 413 from the Cloudflare Tunnel. Upload them from the Postiz host to http://localhost:4242/api/media/upload-simple over SSH; the host and SSH key are in vault note Postiz on Hetzner. See references/postiz-api.md.
  • An ERROR post is retried on the next cron tick once the cause is fixed, for example after swapping in a smaller file.

Instagram covers (mandatory, 2026-10-02)

Postiz publishes a reel with thumb_offset = image[0].thumbnailTimestamp || 0. If unset, frame 0 (a grey fade, black, or a shared template) lands on the profile grid.

  1. Pick a sharp, finished frame that says what the reel is about, with the hook text inside the centre 3:4, and not used as a cover elsewhere on the account.
  2. Send it as "image":[{"id":...,"path":...,"thumbnailTimestamp":<ms>}].
  3. instagram channels (Facebook Login) honour the offset. instagram-standalone channels (Instagram Login, e.g. @aabyzov) ignore it and show frame 0, so put the cover in frame 0 there.
  4. After scheduling, run python3 ~/Projects/github/marketing/scripts/covers/covers.py check (must report 0 failing); covers.py sheet <postId> shows labelled frames and covers.py set <postId>=<ms> fixes a queued post. After publishing, run covers.py verify. check alone does not prove the cover is right.

Rights and facts (hard rules)

  • Never rip broadcast or social match video, even when Anton pushes for it ("it's on TikTok, just add labels"). FIFA owns it, and Content ID and Meta Rights Manager match it at upload. Three strikes in 90 days terminates the channel and every linked channel, with no reinstatement. Adding labels doesn't clean it. Duet, Stitch and reshares are not a monetized lane (reshare ≠ license, credit ≠ license).
  • Real players, legally: scripts/fetch_cc_photos.py "<name>" <slug> pulls CC BY / CC BY-SA / PD photos from Wikimedia Commons (skips (cropped) duplicates, prefers current-tournament titles, sends a UA, sleeps ≥1.3s to avoid 429). Every caption that uses one carries Photo: <author> / Wikimedia Commons, <license>. Editorial commentary is fine; never use a likeness to sell a product, and never AI-generate a real player's face. Order of preference: animated CC photos → licensed editorial stills (non-match) → own footage → generic AI B-roll (no likeness, no logos) → diagrams.
  • No celebrity or announcer likeness or voice in ads, AI-generated included (US right of publicity, ECHR Art. 8). Use generic personas ("Marcus, fan from Brooklyn") and kits that don't match a real team's colours.
  • Verify before you render. Every score, date, venue or record needs two independent primary sources (FIFA, Wikipedia, major outlets, venue sites) before it goes into a frame. Real misses: "Argentina opens at AT&T Stadium June 11" (Mexico vs South Africa opened at Azteca; Argentina's first match was June 16 in Kansas City), "Canada won on home soil" (it was Los Angeles), "Messi's 7th World Cup" (6th, 19 goals). Fix the spec, delete the stale VO, re-render.
  • Never post brand A creative to a dormant brand B channel (no posts in 30+ days). Personal channels can carry anything.

Footage

  • Never reuse a B-roll bed across clips; repeats look like mirrored images and hurt reach. Generate or source fresh footage per clip even when it costs more, and keep a clip inventory.
  • Stills alone read as "no video". Intercut CC photos with Ken Burns (ffmpeg zoompan, alternating zoom in and out) with AI B-roll, under a ducked music bed.
  • Stock: Pexels, Pixabay and Mixkit are free for commercial use with no attribution. Anything marked editorial-only can't be used in ads. More in references/stock-sourcing.md.
  • Kie result URLs return 403 to plain urllib (Cloudflare). Download with curl and a browser UA.
  • HyperFrames fails with 7+ simultaneous video layers at 1920x1080. Use at most 3 in landscape; vertical 1080x1920 handles more.
  • Remotion: use OffthreadVideo, never <video>. Use --concurrency=4 on M-series Macs. Presets are in references/remotion-recipes.md.
  • zsh does not word-split an unquoted $var, so pass explicit arguments in shell loops.

Spec-driven football pipeline (marketing repo generated-assets/aabyzov-football/): trending-scout → polished spec → fact-verify → build_from_spec.py (VO EN+RU, Ken Burns photos, AI beds from gen_beds_v2.py, music) → Remotion FootballPromo (mixed video and photo beds, music prop) via render_promo.py → schedule_specs.py (Postiz Threads/YT/IG/LinkedIn + Blotato TikTok, per-platform captions, dedup guard). To add a storyline, add one spec entry. What goes viral at a World Cup is fan culture, memes and underdogs rather than highlights: bilingual RU+EN, the hook pays off in under a second, debate-bait CTA.

Voice and music

  • VO: ElevenLabs Sarah EXAVITQu4vr4xnSDxMaL. English with eleven_turbo_v2_5, Russian with eleven_multilingual_v2. Stability 0.5–0.55, similarity 0.75, style 0–0.15, speaker boost on. Generate one clip per section so timing is controllable. See references/ai-assets.md.
  • Generated bed: ElevenLabs Music POST /v1/music with {prompt, music_length_ms}, ducked to about 0.16 under the VO. A library bed (e.g. Skybound Circuits) sits at 0.14 with a 0.5s fade-in and a 2s fade-out at the end.
  • Music selection: for each destination account, shortlist from that account's actual eligible catalog or current trend evidence. Pick for the hook, the mood and speech clarity first, popularity second. A famous artist or a search hit proves neither availability, permission nor reach. Keep a clean master. Native catalog previews may be listened to but never ripped or baked into a cross-platform video. Embedded music needs a separate licence for the recording and the composition, covering that destination, territory and organic or paid use. Honour an explicit no-music request. Follow the social music workflow (local: ~/Projects/sw-easychamp/docs/15-marketing/social-music-workflow.md) and its scripts/social-music/preflight.py. If the checkout lacks them, read the authenticated GitHub source, and leave that checkout's active owners alone. Instagram API music needs supported Facebook Login and a single-video Reel; the native app's library can differ. For TikTok, YouTube or a track the API can't use, you need a verified connector, separately licensed embedded music, or an explicitly prepared native-app finish. Never send a payload that silently drops the selected music. The approval draft names the audio ID, title, artist, segment (or the platform's limitation), the mix, the rights scope and current account evidence. Re-check near publication, and after publishing confirm attribution and that the music is audible; "queued" or "uploaded" is not proof.

Audio mix

Simple 3-input mix (video ambience + VO + music; set st to the video length minus 2s):

bash
ffmpeg -y -i VIDEO -i VO -i MUSIC \
-filter_complex "[0:a]volume=0.08[vid];[1:a]adelay=500|500,volume=1.0,apad[vo];[2:a]volume=0.14,afade=t=in:d=0.5,afade=t=out:st=28:d=2[music];[vid][vo][music]amix=inputs=3:duration=first[out]" \
-map 0:v -map "[out]" -c:v copy -c:a aac -b:a 192k OUTPUT

Paid placement gets the 6-input recipe (VO + sidechain-ducked music + 4 timed stadium drops, then alimiter=limit=0.95,loudnorm=I=-14:LRA=7:tp=-1.5) in references/audio-mix.md. Every platform targets -14 LUFS / -1.5 dBTP.

Delivery rules

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 17 Nov 2026.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

  • SKILL.md in the repositoryCheckingSKILL.md

Popularity

7-day trend score
0

Refreshed 9 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/anton-abyzov/postiz-marketing-pipeline/postiz-marketing-pipeline/badge)](https://verified-skill.com/skills/anton-abyzov/postiz-marketing-pipeline/postiz-marketing-pipeline)

Something wrong with this skill or its page? Tell us.