x-post

x-post is a skill for Claude Code from roslove44/brand-artisan. It costs 110 tokens per session (1,238 once invoked), scanned A, original, MIT.

A guide for creating PNG images sized for posts on X, formerly known as Twitter, using a project’s existing templates, brand assets, and visual rules.

In plain words
What is it for?
Use it to make landscape, square, or portrait visuals for X posts when the project template, brand information, and guidelines are available.
Why use it?
It keeps the image’s orientation and design consistent with the selected project instead of starting without the required dimensions or branding guidance.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the brand-artisan plugin — 15 skills shipped together

Good fit Use it to make landscape, square, or portrait visuals for X posts when the project template, brand information, and guidelines are available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roslove44/brand-artisan/x-post
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.

Any agent
npx skills add roslove44/brand-artisan --skill x-post
Clone the repo
git clone --depth 1 https://github.com/roslove44/brand-artisan

Made for: Claude Code.

Or install brand-artisan, the plugin that ships this one along with the rest of its 15 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for x-post

README.md
[![agentmods](https://agentmods.dev/badge/skills/roslove44/brand-artisan/x-post/github.svg)](https://agentmods.dev/skills/roslove44/brand-artisan/x-post)
Your own site
<a href="https://agentmods.dev/skills/roslove44/brand-artisan/x-post"><img src="https://agentmods.dev/badge/skills/roslove44/brand-artisan/x-post/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for x-post

Your own site · 80×15
<a href="https://agentmods.dev/skills/roslove44/brand-artisan/x-post"><img src="https://agentmods.dev/badge/skills/roslove44/brand-artisan/x-post.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00110 $0.01238
Opus 5 $0.00055 $0.00619
Sonnet 5 $0.00022 $0.00248
Haiku 4.5 $0.00011 $0.00124

Measured 9d ago against content hash 2632af386e57, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

x-post 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 9d 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.

skills/x-post/SKILL.md · 111 lines

How it starts

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

x-post: X / Twitter post image

Goal: produce the PNG asset of a tweet image, at the chosen ratio, aligned with the guidelines.

This is a specialization of new-template with the X constraints hard-coded. Same conventions: the Template contract, assets through brand(), fonts discovered in fonts/, export default ... satisfies Template.

Status of the dimensions. X documents no dimensions for organic tweet images; only the weight (5 MB) is official. The sizes below are conventions aligned with the ratios X lists for its advertising formats.

0. Prerequisites (blocking)

The chain project -> template folder -> guidelines must exist:

  • Resolve <project> (from the arguments, otherwise ask).
  • Check templates/<project>/ and brands/<project>/brand.md.
  • Missing guidelines or project -> STOP: ask for /new-project <project> first. No visual without guidelines (CLAUDE.md rule).

1. Frame it

  • Which orientation? Ask. Default: 16:9 landscape (the classic format of the X feed). Otherwise square (1:1) or portrait (4:5).
  • Default slug x-post (or x-post-<orientation> if there are several). Check that the target .tsx does not exist.
  • Read brands/<project>/brand.md: palette, type, logo variants, don'ts.
  • Read brands/<project>/project.md if it exists: set the tone and the claims (don't invent figures or promises). If absent -> ask for the tone and the message rather than guessing.
  • Ask for the message: short headline + standfirst (1 sentence). No paragraph.

2. X constraints (to respect)

Orientation Size (px) Ratio Status
Landscape (default) 1600x900 16:9 Convention (X ads ratio)
Square 1080x1080 1:1 Convention (X ads ratio)
Portrait 1080x1350 4:5 Convention (X ads ratio)
  • Format: PNG or JPG, opaque background, ≤ 5 MB (the official limit for tweet images; trivial with flat rendering).
  • The tweet's text lives outside the image, in the post: don't write everything into the visual. One idea per image.
  • Legible when small: the X feed scrolls fast and narrow on mobile. Large headline, short standfirst, strong contrast, safe area of about 80 px.
  • X tone: direct, punchy, concise. The feed rewards a sharp line.

Read the full file on GitHub · 111 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. 9d ago First seen · 111 lines · 110 tokens per session scan A 2632af386e57

Subscribe to this mod's changes

x-post is a skill published in the GitHub repository roslove44/brand-artisan (4 stars, last pushed 12d ago), licensed MIT. It adds 110 tokens to every session and 1,238 once invoked, about $0.0006 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

build-startup-brand

Turn a startup idea, product, URL, pitch, or existing visual identity into a distinctive startup brand system and a polished standalone HTML report. Use when Codex needs to create or refine startup positioning, a salient brand idea, brand promise, tagline, messaging, voice, creative territories, logo or symbol…

Kappaemme-git/build-startup-brand · 105 tokens

collateral-design

Apply a brand's defined visual system to any fixed-format piece that isn't a website — decks and presentations, one-pagers and sales sheets, social posts and graphics, blog/OG thumbnails, business cards, brochures, flyers, posters, banners, billboards, and paid ads. Use when the user mentions 'design a deck,' 'pitch…

zstvns/design-skills · 184 tokens

frame-logo-outro

Segmented logo assembly, glow bloom, and tagline reveal for video outros or brand closing frames.

wolfenazz/YzPzCode · 24 tokens

recording

Capture screen recordings and screenshots on any registered computer (macOS, Windows, Linux, HarmonyOS) and manage the recording library.

Hmbown/Codewhale · 29 tokens

ffmpeg

Process audio and video with the ffmpeg / ffprobe CLIs — convert, trim, extract audio, resize, change format, make GIFs, inspect media. Use for any audio/video transformation.

AtomicBot-ai/atomic-agent · 47 tokens

record-demo

Record or regenerate the mcpc demo GIFs (the README hero docs/images/mcpc-demo.gif and the focused tapes in docs/vhs/) with VHS. Use whenever asked to create, refresh, restyle, shorten, or fix a terminal demo/animation/GIF of mcpc. The tapes drive real mcpc commands; for the authenticated step this skill ALWAYS…

apify/mcpc · 114 tokens