character-visual-prompter

character-visual-prompter is a skill for Claude Code from zhiliyouxian/claude-novel-writer. It costs 54 tokens per session (1,429 once invoked), scanned A, original, MIT.

A character-description tool that turns character profiles into English prompts for image-generation tools such as Midjourney and DALL-E. It creates reusable appearance details and prompts for portraits and full-body images.

In plain words
What is it for?
Use it with character files from a project blueprint to create consistency tags, portrait prompts, full-body prompts, and optional pose prompts saved in the project's release folder.
Why use it?
It reduces inconsistencies when generating the same character across multiple images. It also turns stored visual references into a format that can be copied into image tools.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the novel-writer plugin — 9 skills, 11 commands, 9 agents shipped together

Good fit Use it with character files from a project blueprint to create consistency tags, portrait prompts, full-body prompts, and optional pose prompts saved in the project's release folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhiliyouxian/claude-novel-writer/character-visual-prompter
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 zhiliyouxian/claude-novel-writer --skill character-visual-prompter
Clone the repo
git clone --depth 1 https://github.com/zhiliyouxian/claude-novel-writer

Made for: Claude Code.

Or install novel-writer, the plugin that ships this one along with the rest of its 9 skills, 11 commands, 9 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 character-visual-prompter

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhiliyouxian/claude-novel-writer/character-visual-prompter/github.svg)](https://agentmods.dev/skills/zhiliyouxian/claude-novel-writer/character-visual-prompter)
Your own site
<a href="https://agentmods.dev/skills/zhiliyouxian/claude-novel-writer/character-visual-prompter"><img src="https://agentmods.dev/badge/skills/zhiliyouxian/claude-novel-writer/character-visual-prompter/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 character-visual-prompter

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhiliyouxian/claude-novel-writer/character-visual-prompter"><img src="https://agentmods.dev/badge/skills/zhiliyouxian/claude-novel-writer/character-visual-prompter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,429 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.00054 $0.01429
Opus 5 $0.00027 $0.00714
Sonnet 5 $0.00011 $0.00286
Haiku 4.5 $0.00005 $0.00143

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

Security

Grade A, and why

character-visual-prompter 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.

skills/character-visual-prompter/SKILL.md · 216 lines

How it starts

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

角色视觉提示词生成器

从蓝图角色档案生成 AI 图像生成提示词,确保角色视觉一致性。

目录结构规范: specs/directory-structure.md

工作流程

blueprints/{project_id}/characters/character-{name}.md
    ↓ 读取外貌描述
    ↓ 转换为英文提示词
    ↓ 生成多种尺寸版本
releases/{project_id}/video/prompts/characters/{name}.md

执行流程

步骤1: 扫描角色档案

# 查找所有角色档案
ls blueprints/{project_id}/characters/character-*.md

步骤2: 读取角色信息

从每个角色档案提取:

字段 来源
角色名 YAML frontmatter name
角色定位 YAML frontmatter role
年龄外观 视觉参考表格
身材 视觉参考表格
发型发色 视觉参考表格
眼睛 视觉参考表格
特征 视觉参考表格
服饰 视觉参考表格

步骤3: 生成提示词

为每个角色生成:

  1. 一致性标签(英文,用于复制粘贴)
  2. 头像提示词(3:4 比例)
  3. 全身提示词(2:3 比例)
  4. 动作姿势(可选)

步骤4: 写入输出文件

# 输出位置
releases/{project_id}/video/prompts/characters/{角色名}.md

输出格式

---
character: {角色名}
role: {protagonist/heroine/mentor/antagonist/supporting}
generated: {YYYY-MM-DD}
---

# {角色名} - 视觉参考提示词

## 一致性标签

| 特征 | 描述 |
|------|------|
| 脸型 | {描述} |
| 头发 | {描述} |
| 眼睛 | {描述} |
| 身材 | {描述} |
| 服饰 | {描述} |
| 风格锚点 | "{一句话描述}" |

## 复制用标签(英文)

\`\`\`
{英文外貌描述,用于复制到其他提示词中}
\`\`\`

## 头像提示词 (3:4)

\`\`\`
{Midjourney/DALL-E 格式的头像提示词}
--ar 3:4 --style raw
\`\`\`

## 全身提示词 (2:3)

\`\`\`
{全身照提示词}
--ar 2:3 --style raw
\`\`\`

## 动作姿势

### 战斗姿态
\`\`\`
{战斗场景提示词}
\`\`\`

### 日常状态
\`\`\`
{日常场景提示词}
\`\`\`

提示词生成规则

外貌描述转换

中文描述 英文提示词
剑眉星目 sword-like eyebrows, bright star-like eyes
面如冠玉 jade-like complexion, handsome features
国字脸 square face, strong jawline
瓜子脸 oval face, delicate features
柳叶眉 willow-leaf shaped eyebrows
丹凤眼 phoenix eyes, upturned corners
身材修长 tall and slender build
虎背熊腰 broad shoulders, muscular build

风格关键词

根据小说类型添加:

类型 风格关键词
玄幻/仙侠 xianxia style, oriental fantasy, Chinese cultivation
都市 modern urban, contemporary, realistic
历史 historical Chinese, ancient China, period accurate
奇幻 western fantasy, medieval, magical

Read the full file on GitHub · 216 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 · 216 lines · 54 tokens per session scan A 51bb9c0b2753

Subscribe to this mod's changes

character-visual-prompter is a skill published in the GitHub repository zhiliyouxian/claude-novel-writer (5 stars, last pushed 8mo ago), licensed MIT. It adds 54 tokens to every session and 1,429 once invoked, about $0.0003 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

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

prompt-optimization

Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…

langwatch/langwatch · 105 tokens

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

google-labs-code/stitch-skills · 41 tokens

prompt-engineer

Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot…

Jeffallan/claude-skills · 93 tokens

seedance-vocab-en

This skill should be used when an English Seedance 2.0 prompt needs clearer production wording, less generic prose, or precise vocabulary for camera, lighting, motion, VFX, audio, and constraints. Route blocked prompts through seedance-filter for context and boundary review.

Emily2040/seedance-2.0 · 61 tokens

ideogram4

Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers…

digitalsamba/claude-code-video-toolkit · 99 tokens