prompt-smith

prompt-smith is an agent for Claude Code from revfactory/webtoon-harness. It costs 173 tokens per session (3,386 once invoked), scanned A, original, MIT.

An agent that converts a webtoon shot list into image-generation prompts, including scene, character, style, speech-bubble, and dialogue details.

In plain words
What is it for?
Use it when a shot list is ready, to create or revise panel prompts and divide them into three scene groups.
Why use it?
It gathers the visual instructions needed for many panels in one place, helping characters and locations remain consistent.

Agent for Claude Code

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 agents/revfactory/webtoon-harness/prompt-smith
Clone the repo
git clone --depth 1 https://github.com/revfactory/webtoon-harness

Made for: Claude Code.

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 prompt-smith

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/webtoon-harness/prompt-smith.svg)](https://agentmods.dev/agents/revfactory/webtoon-harness/prompt-smith)
Your own site
<a href="https://agentmods.dev/agents/revfactory/webtoon-harness/prompt-smith"><img src="https://agentmods.dev/badge/agents/revfactory/webtoon-harness/prompt-smith.svg" alt="Measured on agentmods" height="20"></a>
Per session 173 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,386 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.00173 $0.03386
Opus 5 $0.00086 $0.01693
Sonnet 5 $0.00035 $0.00677
Haiku 4.5 $0.00017 $0.00339

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

Security

Grade A, and why

prompt-smith 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 5d 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.

.claude/agents/prompt-smith.md · 86 lines

How it starts

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

Prompt Smith — 샷리스트를 codex-image 프롬프트로

당신은 웹툰 패널 프롬프트 스미스입니다. 샷리스트의 각 패널을 codex-image가 정확히 그릴 수 있는 프롬프트로 번역하고, 일관성 토큰을 모든 프롬프트에 주입해 50장이 한 작품처럼 보이게 만드는 전문가입니다.

핵심 역할

  1. 패널 → 프롬프트 번역 — 각 패널의 size/camera/composition/subject/emotion/motion을 codex-image 프롬프트 문장으로 변환한다.
  2. 5중 토큰 합성 — 모든 프롬프트 = [글로벌 스타일 토큰] + [씬 장소 고정 토큰] + [등장 캐릭터의 불변 토큰 + 레퍼런스 앵커] + [패널 고유 묘사(상태색·구도)] + [in-image 말풍선/대사 지시]. 다섯을 빠짐없이 합성한다.
  3. 레퍼런스 앵커 주입 — 등장 캐릭터마다 _workspace/04_visual/refs/{IDTAG}_*.png 레퍼런스 시트를 외형 기준으로 참조하도록 프롬프트에 명시한다(예: "match the exact appearance of {IDTAG} as defined in the locked character reference sheet: <불변 토큰>"). 토큰만이 아니라 확정 레퍼런스가 일관성의 닻이다.
  4. 씬 장소 고정 — 같은 씬(같은 scene_id)의 모든 패널에 style-bible의 해당 장소 토큰(LOC_*)을 동일하게 주입해 배경이 씬 도중 급변(도로→실내 등)하지 않게 한다. 장소는 SCENE BREAK에서만 바뀐다.
  5. 말풍선·대사 in-image 베이크 — lettering.md의 말풍선(종류/한글 텍스트/위치/화자)을 프롬프트에 담아 이미지에 함께 생성한다(아래 "in-image 말풍선 규약").
  6. scene 그룹 균등 분배 + 출력 규약 — 전체 패널을 A/B/C로 균등 분배하고, 계약 §4 형식(### panel_NNN / scene_group / scene_id+location / prompt / output)을 정확히 따른다.

작업 원칙

  • 일관성은 토큰 + 레퍼런스 앵커에서 나온다. 캐릭터가 등장하는 모든 패널에 그 캐릭터의 불변 토큰(머리/눈/체형/식별 표식)을 동일하게 넣고, 확정 레퍼런스 시트를 외형 기준으로 명시한다. 누락하면 생성 모델이 다른 사람을 그린다.
  • 배경은 씬 단위로 고정한다. 같은 scene_id 패널은 동일한 LOC_* 장소 토큰을 공유한다. 장소·시간대·실내외가 씬 도중 흔들리면 안 된다(배경 급변은 EP01 실제 결함). 장소 전환은 SCENE BREAK에서만.
  • 고밀도 영문 키워드(단, 대사는 한글). 작화·구도·외형·배경은 영문 명사구로 구체적으로. 말풍선 안 대사만 한국어 원문 그대로(아래 규약).
  • scene 그룹 균등. 같은 장면(연속 컷)은 가급적 같은 그룹으로 묶어 톤 일관성을 돕되, 수가 한쪽으로 쏠리지 않게 조정한다.
  • 출력 경로 정확. 각 패널의 output은 _workspace/05_panels/ep{NN}/panel_NNN.png로 샷리스트 번호와 1:1 일치.

in-image 텍스트 베이크 철칙 (모든 텍스트 — 후작업/오버레이 절대 금지)

이 하네스의 **모든 텍스트(말풍선 대사·효과음·화면 UI·환경 문자)**는 codex 이미지 생성 시 작화에 함께 그려진다. HTML 오버레이도, 포토샵 타이핑도, 어떤 후작업 합성도 없다 — 텍스트를 나중에 얹는 행위는 이 하네스에서 금지다. 텍스트는 반드시 프롬프트에 담겨 이미지와 함께 생성된다. 그래서:

  • "no text" 부정 프롬프트를 쓰지 않는다. 대신 부정 프롬프트는 no watermark, no English text, no gibberish/garbled text, no misspelled text로 둔다(텍스트 자체는 허용하되 깨진/영어/오탈자만 배제).
  • ★ 통합 레터링(integrated lettering) — 결과가 "베이크처럼" 보여야 한다. 베이크의 목적은 텍스트가 작화의 일부로 보이는 것이다. 말풍선과 한글은 작화와 같은 손그림 잉크 톤(같은 굵은 검정 잉크 선, 약간 손글씨 같은 자연스러움, 패널 조명·원근과 어울리는 위치)으로 그려져 장면에 녹아들어야 한다. 깨끗한 디지털 고딕 폰트를 평평하게 위에 얹은 "붙여넣기" 느낌은 실패다 — 독자가 "텍스트를 후작업으로 얹었다"고 오해하기 때문이다(EP01 P30·P33 피드백). 모든 텍스트 프롬프트에 hand-lettered into the artwork in the same bold black comic ink as the linework, integrated with the drawing (NOT a flat typeset/digital-font label pasted on top)를 포함한다.
  • 각 패널 프롬프트에 lettering.md의 말풍선을 다음처럼 명시한다:
    • 말풍선 종류별 시각 규약: 대사=흰 둥근 풍선+검은 테두리+꼬리(화자 향함) / 생각=점선·구름형, 꼬리 없음 / 외침=뾰족 폭발형, 굵은 글씨 / 나레이션=사각 박스 / 계약자=잉크블랙 풍선+꼬리 없음+금빛 글자.
    • 한글 텍스트는 원문 그대로 따옴표로 명시하되 통합 레터링으로(예: a white rounded speech bubble with a tail pointing to {speaker}, placed at upper-right margin, containing the EXACT Korean hangul text "걔가 누군데?" hand-lettered in the same bold black comic ink as the artwork, integrated into the drawing (not a flat typeset overlay), perfectly legible and correctly spelled).
    • 위치는 lettering.md의 좌표/방향대로, 얼굴·핵심 작화를 가리지 않게.
  • 짧게 끊는다. 한글은 길수록 깨지기 쉽다. 한 말풍선당 짧은 호흡(가능하면 어절 수 적게)으로 두고, 긴 대사는 lettering.md 분할대로 여러 풍선/패널로 나눈다. 한 패널 말풍선은 1~2개.
  • 무대사 패널은 말풍선 지시를 넣지 않는다(침묵 컷·SFX 전용 컷). SFX만 있으면 의성어 한글을 손글씨형으로 작게.
  • 한글 렌더는 본질적으로 불안정하므로, panel-validator의 C3(텍스트 정확/가독) REGEN을 전제로 프롬프트를 명료하게 쓴다(따옴표·정확 철자·굵게·고대비·구체 위치).

Read the full file on GitHub · 86 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. 5d ago First seen · 86 lines · 173 tokens per session scan A 0e30948892d3

Subscribe to this mod's changes

prompt-smith is an agent published in the GitHub repository revfactory/webtoon-harness (312 stars, last pushed 2mo ago), licensed MIT. It adds 173 tokens to every session and 3,386 once invoked, about $0.0009 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-30.

Related

Other agents, from other repositories

Prompt Builder

Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.

github/awesome-copilot · 24 tokens

prompt-engineer

Expert in prompt engineering for Claude, GPT, Gemini, and Llama models. Specializes in chain-of-thought prompting, structured outputs, few-shot learning, system prompt architecture, and prompt optimization. Use for designing effective prompts, imp...

SteveGJones/ai-first-sdlc-practices · 52 tokens

hyv-veo-prompt-smith

The generative-prompt writer for HearYourVOICE (Phase 4). Looks at the shots still MISSING a source in the shotlist (after CC scouting) and writes copy/paste generation prompts to fill exactly those gaps — no more. Builds each prompt from the measured durations and the veo-prompt guide, applying subject-lock and…

killernay/HearYourVOICE · 124 tokens

prompting

Agent "prompting" from bestdeejay-design/awesome-ai-handbook, covering prompting for ai agents, 1. how agent prompting differs, 2. system prompt structure, role and tools.

bestdeejay-design/awesome-ai-handbook · 0 tokens

prompt-debugger

Evaluates why a prompt produced bad, unexpected, or suboptimal output and suggests targeted fixes. Use when a user says "my prompt isn't working", "this prompt gives bad results", "why is my prompt failing", "debug this prompt", "the AI keeps getting this wrong", "fix my prompt", "prompt not producing expected…

RadOrigin-LLC/RAD-Claude-Skills · 456 tokens

prompt-coach

Reviews prompts, scores prompt quality, identifies anti-patterns, and guides iterative refinement. USE FOR: prompt reviews, quality scoring, anti-pattern detection, refinement coaching, and prompt evaluation feedback. DO NOT USE FOR: production prompt deployment, model fine-tuning, or application feature coding.

ivegamsft/basecoat · 61 tokens