imagine-og

imagine-og is a skill for Claude Code from Mineru98/imagine. It costs 142 tokens per session (2,077 once invoked), scanned A, original, MIT.

A social-preview image generator for blog posts and links. It creates platform-sized background artwork and adds titles and tags afterward with a real font, producing cards for services such as Twitter, Instagram, LinkedIn, and Open Graph previews.

In plain words
What is it for?
It helps create blog thumbnails, link-preview images, and social cards. It can produce several platform versions in one run and render cards for hundreds of posts in bulk.
Why use it?
It removes the need to prepare separate image sizes and layouts for each social platform. Rendering text afterward helps prevent unreadable or misspelled titles.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./images/og/<slug>/.

Part of the imagine plugin — 8 skills, 10 agents shipped together

Good fit It helps create blog thumbnails, link-preview images, and social cards. It can produce several platform versions in one run and render cards for hundreds of posts in bulk.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Mineru98/imagine
agentmods
npx agentmods add skills/mineru98/imagine/imagine-og

Made for: Claude Code.

Or install imagine, the plugin that ships this one along with the rest of its 8 skills, 10 agents.

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 imagine-og

README.md
[![agentmods](https://agentmods.dev/badge/skills/mineru98/imagine/imagine-og/github.svg)](https://agentmods.dev/skills/mineru98/imagine/imagine-og)
Your own site
<a href="https://agentmods.dev/skills/mineru98/imagine/imagine-og"><img src="https://agentmods.dev/badge/skills/mineru98/imagine/imagine-og/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 imagine-og

Your own site · 80×15
<a href="https://agentmods.dev/skills/mineru98/imagine/imagine-og"><img src="https://agentmods.dev/badge/skills/mineru98/imagine/imagine-og.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,077 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.00142 $0.02077
Opus 5 $0.00071 $0.01038
Sonnet 5 $0.00028 $0.00415
Haiku 4.5 $0.00014 $0.00208

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

Security

Grade A, and why

imagine-og 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 10d 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/imagine-og/SKILL.md · 108 lines

How it starts

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

imagine-og

소셜 링크 프리뷰용 이미지를 플랫폼별 사이즈·세이프존·폰트 가독성까지 맞춰 일괄 출력한다. 제목은 실제 폰트로 렌더해서 한글 깨짐이 없다.

트리거

  • imagine-og "<제목>" / imagine-og --title "..." (명시 호출)
  • imagine-og bulk ./posts/*.md (bulk 모드)
  • "OG 이미지", "오픈그래프 이미지"
  • "소셜 카드", "소셜 미디어 카드"
  • "Twitter 카드", "링크 프리뷰 이미지"
  • "블로그 썸네일", "링크 프리뷰" — 블로그/소셜/링크 프리뷰 맥락의 카드형 썸네일은 모두 여기로 라우팅.

플랫폼 프리셋 (config.json)

key generate_size final(final.jpg) crop
og 1536×1024 1200×630 center
twitter 1536×1024 1200×628 center
instagram-post 1024×1024 1080×1080 center
instagram-story 1024×1024 1080×1920 extend-vertical
linkedin 1536×1024 1200×627 center
  • 기본 플랫폼은 og 한 장. --platforms og,twitter,instagram-post 로 다중 선택 시 한 번 호출로 전부 저장.
  • 기본 포맷: jpeg, quality: medium.

파이프라인

  1. 배경 일러스트만 AI 생성. size는 플랫폼별 generate_size 사용(16:9 계열은 1536×1024, 정방형은 1024×1024).
  2. 프롬프트 가공: 사용자 <title>·--tag모델 프롬프트에 포함하지 않는다. 태그는 config.tag_palette_map으로 배경 톤 매핑에만 사용(예: 튜토리얼warm orange gradient, pencil texture). negative prompt에 text, watermark, logo, typography, letters, characters, readable words, deformed, blurry 강제 포함.
  3. 크롭·리사이즈: generate_size 결과를 플랫폼 final 규격으로 center-crop(Instagram story는 세로 확장). 원본 배경은 _source_bg.png로 별도 보존해 재합성 가능.
  4. 텍스트 합성: 공용 scripts/lib/compose-text.jscompositeText(bgPath, textOptions, outPath) 재사용. 이 스킬 안에 별도 텍스트 합성 로직은 두지 않는다.
  5. 세이프존 적용: OG/Twitter는 하단 20% 트리밍에 대비해 제목을 상/중앙에 배치. Instagram Post는 중앙 90% 세이프존.
  6. 출력 저장: ./images/og/<slug>/<platform>.jpg + _source_bg.png.

공용 모듈 계약

  • 텍스트 합성은 전적으로 scripts/lib/compose-text.js 호출로 끝낸다. 이 스킬의 스크립트에서 SVG·canvas·satori 코드를 직접 작성하지 않는다.
  • 세이프존·자동 색상(어두우면 흰색, 밝으면 검정)·폰트 스택(Pretendard → Noto Sans KR → Apple SD Gothic Neo → sans-serif fallback)은 공용 모듈 설정 그대로 사용.

bulk 모드 (--bulk <glob>)

  • 입력 예: imagine-og --bulk ./posts/*.md --from-frontmatter --platforms og,twitter
  • 동작:
    1. 각 파일의 frontmatter(title, tags, hero_color)를 읽어 --title / --tag / 팔레트 시드로 매핑 (config.bulk.from_frontmatter_keys 참고).
    2. 같은 --template은 동일 배경 프리셋 + 변주(색·질감 고정, 레이아웃만 변화)로 렌더 → 시리즈 스타일 일관성 유지.
    3. 동시 실행 제한: config.bulk.concurrency (기본 2) — 쿼터·레이트리밋 보호.
    4. 출력은 각 포스트별로 ./images/og/<post-slug>/<platform>.jpg. 기존 파일 덮어쓰기 금지(이미 있으면 skip + 로그).
  • 실패 1건이 전체 bulk를 중단시키지 않는다. 개별 실패 항목을 Run Manifest에 집계하고 나머지는 계속 진행.

Read the full file on GitHub · 108 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 108 lines · 142 tokens per session scan A 612fb94bbb39

Subscribe to this mod's changes

imagine-og is a skill published in the GitHub repository Mineru98/imagine (5 stars, last pushed 11d ago), licensed MIT. It adds 142 tokens to every session and 2,077 once invoked, about $0.0007 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

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens