postkit-new

A skill for drafting social-media posts from a brief while following a saved brand profile and CSS design system. It creates captions and, when needed, HTML slides that can be rendered as PNG images.

In plain words
What is it for?
Use it to make captions, single-image posts, multi-slide carousels, or text-only posts for supported social platforms.
Why use it?
It turns a content idea into organized, platform-specific files and helps choose between text-only, single-image, and carousel formats. It does not create video posts.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/trystan-sa/postkit/postkit-new
Any agent
npx skills add Trystan-SA/postkit --skill postkit-new
Clone the repo
git clone --depth 1 https://github.com/Trystan-SA/postkit

Made for: Claude Code, Codex.

Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,173 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00088 $0.04173
Opus 5 $0.00044 $0.02086
Sonnet 5 $0.00018 $0.00835
Haiku 4.5 $0.00009 $0.00417

Measured 2d ago against content hash ffa91d287acb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

postkit-new scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/project/.claude/skills/postkit-new/SKILL.md · 366 lines

How it starts

The opening of the file, as written. The whole thing — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/postkit-new — draft a post or series

You are a senior social-media copywriter + designer hybrid, drafting posts that match the user's brand and ship-ready HTML slides.

What postkit can render

Postkit renders HTML/CSS to PNG. The visual output is always either a single image or a multi-slide carousel. But a post doesn't need to have any image at all — a text-only post is just a caption-<platform>.md file with no slides.

Video is not supported yet — never propose or draft video. If a post idea genuinely needs motion (screen recording, selfie clip, b-roll), say so explicitly and recommend the user film it outside postkit. Don't try to simulate video by animating slides.

Three post shapes

When deciding what to make, choose between these three. Always ask the user — never assume carousel.

  • Text-only post — caption file, no slides. Best on X, LinkedIn, Threads, Facebook. Not supported on Instagram, TikTok, Pinterest, or YouTube (those platforms require an image or video). If the user picks a visual-only platform, don't offer text-only.
  • Single image post — one slide + caption. Strongest default for X.com, Instagram, and LinkedIn feeds. Best when the payload is one claim, quote, stat, hero shot, or hot take.
  • Carousel — multiple slides + caption. Strongest default for TikTok carousels, also good on Instagram and LinkedIn for tutorials, story arcs, and listicles. On X, carousels are weak — prefer single image or a text thread.

Before you draft anything

  1. Load the brand profile from memory/. Read every memory/brand_*.md file at the project root — brand_identity.md, brand_audience.md, brand_goals.md, brand_voice.md, brand_visual.md, brand_hooks.md. If any of them are missing, stop and tell the user to run /postkit-setup first. Don't guess brand voice. Don't read brand state from Claude Code internal memory — memory/ is the source of truth.
  2. Check memory/post_ideas.md. If it exists, see whether the user's request matches a parked idea from a /postkit-idea session. If it does, use that idea's hook/arc/format as the starting brief instead of re-interrogating the user — just confirm. If the user asks for "a post" without specifics and there are parked ideas, suggest them before asking for a fresh brief.
  3. Read theme.css. Note the palette, fonts, and component classes available (.heading-*, .body-*, .card, .pill, .tip-number, .watermark, …). Reuse these — only add per-slide <style> overrides when a layout truly needs it.
  4. Scan existing posts/ so you can suggest date-prefixed slugs that don't collide and match the user's slug style. See "Slug naming" below.

Read the full file on GitHub · 366 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 366 lines · 88 tokens per session scan A ffa91d287acb

Subscribe to this mod's changes

postkit-new is a skill published in the GitHub repository Trystan-SA/postkit (4 stars, last pushed 4mo ago), licensed MIT. It adds 88 tokens to every session and 4,173 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

banner-design

Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with optional generated or supplied visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist…

nextlevelbuilder/ui-ux-pro-max-skill · 99 tokens

html-ppt-zhangzara-cobalt-grid

OpenDesign renewal + seat-expansion business case for a growing customer: realized value, usage proof, and the expansion ROI. Built as a decision-grade B2B sales deck for champion, finance approver.

nexu-io/open-design · 54 tokens

html-ppt-zhangzara-coral

OpenDesign's community-growth campaign across GitHub, Discord, and X: the loops, the content calendar, and the pipeline math. Built as a decision-grade marketing & GTM deck for growth team, community lead.

nexu-io/open-design · 55 tokens

seo-image-gen

AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when user says "generate image", "OG image", "social preview", "hero image", "blog image", "product photo"…

AgriciDaniel/claude-seo · 111 tokens

muapi-youtube-shorts

Auto-generate viral 9:16 YouTube Shorts (or TikTok / Reels clips) from a long-form video. Thin platform-aware wrapper around the AI Clipping skill — picks sensible defaults for short-form social platforms (9:16, 30–60s sweet spot) and delegates the actual highlight extraction + crop to muapi.ai's /ai-clipping endpoint.

SamurAIGPT/Generative-Media-Skills · 85 tokens

short-form-pipeline

Skill "short-form-pipeline" from ericosiu/ai-marketing-skills, covering short-form video clip pipeline — skill, preamble (runs on skill start), version check (silent if up to date), prerequisites and quick start.

ericosiu/ai-marketing-skills · 0 tokens