marketing-asset

marketing-asset is a command for Claude Code from sodam-ai/SoDam-Design-Kit. It costs 42 tokens per session (1,576 once invoked), scanned A, original, Apache-2.0.

A command that turns supplied titles, subtitles, and optional business-card details into fixed-size promotional images.

In plain words
What is it for?
Use it to create Open Graph sharing images, portrait posters, horizontal banners, or business cards in the listed sizes.
Why use it?
It removes the need to design and export these common graphics manually or use an external image service.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the sodam-design-kit plugin — 1 skill, 5 commands, 1 hook shipped together

Good fit Use it to create Open Graph sharing images, portrait posters, horizontal banners, or business cards in the listed sizes.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add sodam-ai/SoDam-Design-Kit
Claude Code
/plugin install sodam-design-kit

Made for: Claude Code.

Or install sodam-design-kit, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 1 hook.

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 marketing-asset

README.md
[![agentmods](https://agentmods.dev/badge/commands/sodam-ai/sodam-design-kit/marketing-asset/github.svg)](https://agentmods.dev/commands/sodam-ai/sodam-design-kit/marketing-asset)
Your own site
<a href="https://agentmods.dev/commands/sodam-ai/sodam-design-kit/marketing-asset"><img src="https://agentmods.dev/badge/commands/sodam-ai/sodam-design-kit/marketing-asset/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 marketing-asset

Your own site · 80×15
<a href="https://agentmods.dev/commands/sodam-ai/sodam-design-kit/marketing-asset"><img src="https://agentmods.dev/badge/commands/sodam-ai/sodam-design-kit/marketing-asset.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,576 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.00042 $0.01576
Opus 5 $0.00021 $0.00788
Sonnet 5 $0.00008 $0.00315
Haiku 4.5 $0.00004 $0.00158

Measured 12d ago against content hash 40c02f4a456d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

marketing-asset 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 12d 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.

commands/marketing-asset.md · 43 lines

How it starts

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

/sodam-design-kit:marketing-asset

Phase 3 — 2026-08-17 1차 증분(OG) + 2026-08-20 2차 증분(포스터·배너·명함). 03_PHASES.md L104 범위를 실제 설치 스파이크(satori+sharp를 이 PC에서 실행해 한글 렌더까지 확인) 통과 후 og부터 최소 범위로 시작했고, 이후 나머지 규격을 하나씩 실제 픽스처 검증을 거쳐 추가했습니다(og 검증 결과를 다른 규격에 그대로 일반화하지 않는다는 1차 증분 자신의 경고를 지켜, 각 규격을 실제 CLI 실행으로 개별 확인). SNS 카드 등은 여전히 범위 밖 — ASSET_SPECS에 항목만 추가하면 되는 구조라 필요해지면 같은 방식으로 확장 가능합니다. ASSET-LEDGER.csv 이미지 확장은 이 명령과 무관한 별도 명령(asset-ledger.mjs --assetGate)으로 이미 완료돼 있습니다.

목적

제목(+선택 부제, 명함은 추가 정보까지)을 받아 4가지 규격 중 하나로 이미지를 생성합니다. 코드 기반(Satori: JSX→SVG, Sharp: SVG→PNG)이라 외부 API·API 키가 필요 없습니다.

assetType 규격 용도
og 1200x630 Open Graph 공유 이미지
poster 1080x1350 인스타그램 세로형 포스트/포스터
banner 1200x400 가로형 프로모션 배너
businessCard 1050x600 명함(3.5x2인치 @300dpi 실제 인쇄 표준) — --extraLines로 회사·전화·이메일 등 추가

절차 (에이전트가 수행)

  1. [에이전트] 소재 문구 작성: 대상 내용을 바탕으로 제목(간결하게)과 선택적으로 부제를 작성합니다. 명함(businessCard)이면 회사·전화·이메일 등 구조화된 정보를 --extraLines용으로 따로 정리합니다. 원본 정보에 없는 사실을 지어내 광고하지 마세요commands/detail-page.md와 동일한 원칙입니다.
  2. [스크립트] 렌더+검증+배치+AI 생성 이력 기록 (한 명령): node "${CLAUDE_PLUGIN_ROOT}/scripts/marketing-asset-pipeline.mjs" --project <경로> --assetType <og|poster|banner|businessCard> --title "<제목>" [--subtitle "<부제>"] [--extraLines "<줄1>|<줄2>|..."] [--output <상대경로>] — 이 한 명령이 다음을 전부 수행합니다:
    • P2 폰트 파이프라인의 Pretendard를 재사용(없으면 자동 다운로드, 있으면 재사용 — 무료·로컬)
    • Satori로 SVG 렌더 → Sharp로 PNG 변환
    • 규격(assetType별 고정 크기)·포맷(png)·용량(5MB 이하) 검증 — 실패 시 파일을 쓰지 않고 에러로 중단
    • 기본 위치 public/design-kit-assets/<assetType>-<제목-slug>.png에 저장(경로는 항상 프로젝트 루트 하위로 정규화 검증됨)
    • .design-kit/AI-GENERATION-LOG.md에 시크릿 필터를 거친 프롬프트·부제·추가 정보·모델·날짜 자동 append
  3. 출력 JSON의 outputPath를 사용자에게 안내하고, 실제로 열어서 텍스트가 잘렸거나 깨지지 않았는지(특히 긴 제목·긴 extraLines 목록) 육안 확인을 권합니다 — 자동 줄바꿈/글자 크기 조절을 하지 않습니다(아래 "안 한 것" 참조).

검증 게이트와의 관계 (중요 — 다른 명령과 다름)

이 파이프라인은 verify-runner.mjs(Playwright+axe-core)를 쓰지 않습니다. 이미지 산출물에는 브라우저 렌더·접근성 검사가 적용되지 않기 때문입니다(01_PRD.md·03_PHASES.md가 이미 명시한 원칙 — "웹 코드용 게이트와 별도"). 대신 validateAsset()이 이 소재 전용 기준(규격·포맷·용량)으로 판정하며, 이 기준을 통과하지 못하면 파일이 아예 만들어지지 않습니다 — "검증 없이 완료 아님"이라는 이 킷의 핵심 원칙은 여기서도 동일하게 적용됩니다.

Read the full file on GitHub · 43 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. 12d ago First seen · 43 lines · 42 tokens per session scan A 40c02f4a456d

Subscribe to this mod's changes

marketing-asset is a command published in the GitHub repository sodam-ai/SoDam-Design-Kit (7 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 1,576 once invoked, about $0.0002 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 commands, from other repositories

design-reel

Record naksha's design team working — turn a /design run into a share-able vertical + landscape video reel (the 26-role team redesigning a screen, live).

Adityaraj0421/naksha-studio · 35 tokens

gen-video

Generate video output in one of three modes: Remotion (programmatic React-based video), Gen-AI (shot prompt pack for Runway/Kling/Sora/Pika/Luma), or Remotion+Gen-AI (programmatic scaffold with AI footage embedded).

Adityaraj0421/naksha-studio · 56 tokens

gen-audio

Generate an AI audio brief — voiceover (ElevenLabs, Murf) or music/jingle (Suno), with tool selection, voice/music brief template, timing cues for video sync, and synthetic voice compliance note.

Adityaraj0421/naksha-studio · 49 tokens

gen-image

Generate a brand-aligned AI image — tool selection, full prompt (subject, style, lighting, camera, mood, negatives), variation prompts, and seed strategy. Works across Midjourney, DALL-E, Ideogram, Firefly, and Stable Diffusion.

Adityaraj0421/naksha-studio · 57 tokens

gen-moodboard

Generate 3 AI moodboard directions for a concept or campaign — brand personality extraction, visual style definition, and 4–6 ready-to-paste image prompts per direction with rationale.

Adityaraj0421/naksha-studio · 42 tokens

wp-cinematic-scene

Author, replace, or regenerate a single cinematic scene. Updates the matching cinematicscenes repeater row (eyebrow, headline, body, CTA, videos, poster) and — if the scene needs a non-default layout — emits a per-scene template fragment override at template-parts/cinematic/scene- .php. Cinematic equivalent of…

yojahny55/claude-wp-builder · 0 tokens