Communitygithub.com

Anima プロンプトコンパイラ

完成したキャラクターやイラストの設計図(ブループリント)を、Anima 対応の英語プロンプトに変換するアダプターです。タグブロックと自然言語ブロックの規則に従い、長さ予算、出力モード、モデルプロファイル、アーティファクト診断を扱います。

Anima プロンプトコンパイラ とは?

Anima Prompt Compiler は、設計決定が完了したブループリントを、Anima チェックポイントが解釈可能な英語プロンプトに変換する専門アダプターです。このスキルは、デザインの判断や美的評価を担当せず、それらは上位のスキル(aesthetic-director-core、character-design-engine、illustration-direction など)に委譲されています。主な機能は、タグブロック(安定したキーワード)と自然言語ブロック(関係性や階層を記述)からなる二段構えのフォーマット契約に従い、指定された長さ予算内でプロンプトを生成することです。V1 Faithful(忠実変換)と V2 Enhanced(拡張)の2つの出力モードをサポートし、Anima 固有のモデルプロファイルやよくあるアーティファクトのトラブルシューティングも参照します。このスキルは、ユーザーが明示的に Anima プロンプトを要求した場合にのみ起動され、ブループリントが存在しない場合はデザインルートにルーティングされます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Tera-Dark/personal-agent-skills/tree/HEAD/02_creation/anima-prompt-compiler

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Anima プロンプトコンパイラ は何をしますか?

1. 位置付け(v2.0.0 以降)

本 Skill はアダプターです:すでに設計決定が完了したブループリントを、Anima が理解できる英語に翻訳します。

もはや設計方法や審美ルールを持ちません。それらは上位に移されました:

  • 審美サインと拒否リスト → personal-identity-profile
  • 9つの制作アクション、フィードバック診断、ペア例 → aesthetic-director-core
  • 6層のキャラクター構造、服装語彙 → character-design-engine
  • 構図プロトコル、雰囲気プリセット → illustration-direction

入力チェック:受け取ったものに、動詞を含む命題、明確なシルエット、4層の服装、1つの刺点、ロックされた事実はありますか?ない → これはブループリントではありません。creative-skill-router に戻します。ユーザーが直接「Anima のプロンプト書いて、月光の祭司で」と言ってきた場合、ここで設計を補完しないでください。

本 Skill に残っているのは Anima に関連することだけです:フォーマット契約、長さ予算、出力モード、モデルプロファイル、アーティファクト診断。

2. デフォルト動作

  • ユーザーがプロンプトを要求した場合、プロンプトのみを出力し、自発的に画像生成は行いません。
  • 英語のタグブロック + 自然言語ブロックの2段構成(§3)。
  • デフォルトではポジティブプロンプトのみ出力します。何かを除外する必要がある場合は、まずポジティブな制約で翻訳します(例:「no jewelry」→ NL ブロックで bare neck and wrists)。ポジティブでは表現できない場合のみ、短い独立したネガティブを1つ付与し、理由を説明します。
  • masterpiece, best quality, 8k, ultra-detailed などの空虚な品質ワードは追加しません(禁止リストは references/anima-model-profiles.md § 5.2 を参照)。
  • ユーザーが要求しない限り、重み、CFG、steps、サンプラー、Clip Skip などのワークフローパラメータは追加しません。
  • ブループリントのロックされた事実は変更しません。

3. フォーマット契約:タグ + 自然言語

Part A — タグブロック

カンマ区切りの短い英語タグで、安定したロック情報を担当します:

  • 主体の数:1girl, solo, 2girls
  • 表示タイプとショットサイズ:full body, upper body, cowboy shot, white background, vertical composition
  • 外見の事実:髪色、髪型(形状分布を記述、例:long hair on the left side only, cropped short behind the right ear)、瞳色、人種的特徴
  • 服装アイテム:ベース → 構造 → シグネチャーエクステンション → アクセサリーの順
  • 小道具と動作:holding curved scissors, tucking hair behind ear
  • キャラクターの身分(ブループリントにある場合)
  • キャラクター/シリーズのトリガーワードは、Anima の Danbooru トレーニングセットの実際のトークン表記に従って優先的に出力します。キャラクター名と作品名を複数のトークンに分割しないでください。
  • トリガーワード内の作品を識別するための括弧、コロンなどの特殊文字が Anima の重み構文と競合する場合は、エスケープする必要があります。例:Danbooru の生のトリガーワードが 37_(reverse:1999) の場合、Anima プロンプトでは 37\(reverse1999\) と記述し、37, reverse:1999、37_(reverse:1999)、37 (reverse1999) としないでください。

タグブロックは簡潔で、スキャンしやすく、同義語を繰り返さないものにします。設計ロジックはタグに入れません。

Part B — 自然言語ブロック

1~2の一貫した英語段落で、タグでは表現できない関係性を担当します:

  • 服装の階層、カット、内外関係(open coat over, hem showing beneath)
  • シルエットの空間的位置(behind the head, descending from one shoulder)
  • 非対称の具体的な分布
  • 姿勢が裾、袖、髪、小道具にどのように影響するか(ブループリントの因果連鎖)
  • 密度分布(ornament concentrated around ___; ___ left plain)
  • 光源の方向、減衰、マテリアル応答
  • 刺点の正確な位置(the only saturated color is ___ at ___)

NL ブロックはタグブロックの同義語の言い換えではありません。関係性と階層を補完する必要があります。

テンプレート

[カンマ区切りのタグ]

[1~2段落:服装の階層、シルエット配置、非対称性、姿勢の因果関係、密度、光、パレット階層、刺点の位置。]

4. 長さ予算(計画用、合格ラインではありません)

タスクタグ + NL 合計単語数
アバター / バストアップ30–50
キャラクター立ち絵 / ファッション50–80
多層イラストボード70–100
物語的シーンイラスト80–120

予算超過時の削除順序:繰り返しの形容詞 → 二次的なアクセサリー → 背景の細部 → マテリアルの詳細。削除しない:命題構造、主アンカー、刺点、ロックされた事実、因果連鎖のキーワード。

5. 出力モード

Direct Mode(ユーザーが直接要求した場合)

  1. 一行のデザイン方向
  2. タグブロック
  3. NL ブロック

Standard Mode(デフォルト)

  1. 一行のストラテジーライン(ブループリントからの命題)
  2. V1 Faithful:ブループリントを忠実に翻訳。言語変換、曖昧さ除去、構造化されたレイアウトのみ行い、美的アップグレードは行いません。
  3. V2 Enhanced:V1 を基に、光と影、マテリアル動作、構図の詳細を追加。V2 は V1 のコアとなる事実を変更してはなりません(髪色、瞳色、服のアイテム、指定された姿勢)。バリエーションが必要な場合は、オプショナルバリアントとして個別に注釈を付けます。
  4. Enhancement Notes:3行以内で、V2 で追加した内容を説明します。

Deep Mode(ユーザーが完全な分析を要求した場合)

  1. 命題、ロックされた情報、構図と服装の決定(ブループリントを引用)
  2. タグ + NL
  3. 簡単な検証メモ

デフォルトでは冗長な推論や美的宣言は出力しません。

6. 複数主体と曖昧さ

  • 複数キャラクター:位置ごとにブロック化します([LEFT]: ... [RIGHT]: ...)。各ブロック内では色を名詞の直近に配置します。references/anima-troubleshooting.md の診断項目04を参照。
  • ブループリントでロックされていない詳細:オープンのままにし、勝手に補完しません(指定されていないキャラクターにイヤリング、ベルト、腕時計を追加しない)。

7. フィードバックループ

生成結果に問題がある場合:

  • 画像アーティファクト(手、色混ざり、背景の競合、線の混線、白背景の縁)→ references/anima-troubleshooting.md を参照し、単一変数の最小限の修正を行います。
  • デザイン問題(平坦すぎる、乱雑すぎる、OC らしくない、人間味がない)→ ここでは修正しません。evaluation-loop → aesthetic-director-core/references/feedback-diagnosis.md に戻します。プロンプトの文言を変えても、デザインレベルの問題は治りません。

8. 出力前チェックリスト

  • 入力はブループリントであり、要求ではないか?
  • タグブロックは簡潔、具体的、同義語の繰り返しがないか?
  • NL ブロックは関係性(階層/位置/因果/密度/刺点の位置)を記述しており、タグの言い換えになっていないか?
  • ロックされた事実は一字も変更されていないか?
  • 空虚な品質ワード、パラメータ、デフォルトのネガティブがないか?
  • 長さは予算内であり、削除されたのは副次的な項目か?
  • V2 は V1 の事実を変更していないか?
  • ユーザーが要求した出力形式に従っているか?

参考文献

  • references/anima-model-profiles.md — エビデンスの階層、出典追跡、モデルバリアント、テキストエンコーダ互換性、品質ワードリスト、パラメータリファレンス、実験ログ
  • references/anima-troubleshooting.md — アーティファクト診断カタログ、最小修正、不確実性の処理
  • テストセット:tests/test-suite.md

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

Tera-Dark/personal-agent-skills

Creative direction layer that turns a vague request into one committed design idea before any blueprint or prompt is written. Runs a sequence of generative "moves" (find the obsession, plant a contradiction, pick from the tail, build causality, subtract, keep one strange thing) and produces a short Creative Brief with rejected alternatives. Use for any OC / character / illustration / fashion / key-visual request, whenever output feels generic, "AI-flavored", too plain, too busy, or when the user asks for taste, direction, 审美, 创意方向, 人味, 高级感, 不要AI味.

Tera-Dark/personal-agent-skills

Persistent identity and taste layer for Tera-Dark's creative work. Holds the aesthetic signature (restrained base, one strange thing, a hint of danger, fashion-grade garment construction, female-oriented OC/gacha sensibility), hard dislikes (watches, cyber/mech, random butterflies-roses-particles, adjective costumes), business goals and workflow style. Does not generate prompts. Load first for any creative, design, illustration, prompt or aesthetic-judgment task; also when the user says 我的风格, 我喜欢, 按我习惯, 个人偏好.

Tera-Dark/personal-agent-skills

Entry point for all creative requests in this skill hub. Classifies intent (OC/character design, illustration, fashion, NAI5 prompt, Anima prompt, image reverse analysis, prompt review, ComfyUI/LoRA/dataset), loads identity + aesthetic direction first, then hands off to the right specialist and model adapter. Use whenever a request involves 设计, OC, 人设, 立绘, 插画, 服装, 提示词, prompt, NAI, NovelAI, Anima, 反推, 分析图片, ComfyUI, LoRA, or when it is unclear which skill should handle a creative task.

Tera-Dark/personal-agent-skills

Turns a Creative Brief (from aesthetic-director-core) into a complete, model-agnostic character blueprint — design thesis, silhouette architecture, visual anchors, garment engineering (base / structural / signature extension / accessory system), material contrast, palette hierarchy, behavioral pose + camera, narrative residue, presentation format — then runs a subtraction pass. Use for OC, 人设, 角色设计, 服装设计, 立绘, 高定服设, 二游角色, character sheet, fashion concept. Never writes model-specific prompt syntax.

Tera-Dark/personal-agent-skills

Model adapter that compiles a finished character or illustration blueprint into a natural-language image prompt for models that are not Anima or NAI5 — Midjourney, DALL-E / GPT Image, Google Imagen / Gemini image, Flux, SDXL-style checkpoints, or an unnamed target. Keeps parameters out of the prompt unless the target officially supports them, and labels every model-specific claim with an evidence level. Use when the user names any other image model, says 通用提示词, MJ, Midjourney, DALL-E, Imagen, Flux, SD, 或没说用什么模型. Does not design — if no blueprint exists, route through aesthetic-director-core first.

Tera-Dark/personal-agent-skills

Turns a Creative Brief into an authored, model-agnostic illustration blueprint — the image thesis, captured moment, visual motif, environment-character relationship, camera and framing, scale contrast, negative space, physical light sources, density map, narrative residue, and one coherent surreal detail. Use for 插画, 氛围图, 竖屏, 半留白, 印象风, 故事感, key visual, poster, scene illustration, cinematic composition, or whenever a character needs to be placed into a designed moment rather than displayed on a plate. Never writes model-specific prompt syntax.

Tera-Dark/personal-agent-skills

Model adapter that compiles a finished character or illustration blueprint into NovelAI V5 community-format prompts — weighted artist stack, global style layer, scene base, char1/char2 blocks, source#/target#/mutual# interaction tags, and targeted negative steering with weight::tag:: syntax. Use when the user asks for NAI5, NovelAI, NAI提示词, tag prompt, Danbooru-style prompt. Does not design — if no blueprint exists, route through aesthetic-director-core and character-design-engine / illustration-direction first.

Tera-Dark/personal-agent-skills

Decomposes a reference image into transferable design language — silhouette and mass distribution, motif grammar, garment construction, material contrast, palette hierarchy, pose logic, negative space and presentation format — instead of a tag dump. Output feeds aesthetic-director-core (for original work) or a model adapter (for faithful reproduction). Use for 反推, 分析图片, 提取提示词, 还原风格, 参考这张图, reverse prompt, image analysis.

Tera-Dark/personal-agent-skills

Reviews an existing image-generation prompt by separating design intent from model syntax — what it is trying to say, which design layer is weak (thesis, silhouette, garment structure, causality, density, punctum), what is noise, and what a rewrite should change. Use for 优化提示词, 这个 prompt 哪里有问题, prompt review, 分析这段提示词, why does this prompt not work.

Tera-Dark/personal-agent-skills

Technical placeholder for ComfyUI workflow organization, node troubleshooting, metadata and LoRA/model integration. Use when the user mentions ComfyUI, workflow json, nodes, 工作流. Does not handle design or prompt creativity.

Tera-Dark/personal-agent-skills

Technical placeholder for image dataset organization, caption/tag management and training preparation. Use when the user mentions dataset, 数据集, 打标, captions, 训练集. Does not handle visual design decisions.

Tera-Dark/personal-agent-skills

Technical placeholder for LoRA training pipelines: dataset prep, caption organization, training configuration, evaluation. Use when the user mentions LoRA, 训练, fine-tune, 炼丹. Does not decide character concepts or artistic direction.

Tera-Dark/personal-agent-skills

Evaluates a generated image or compiled prompt against the original Creative Brief and blueprint, using a fixed rubric (identity preservation, outfit binding, spatial clarity, unrequested additions, V1/V2 consistency, output contract) plus a design-layer read (thesis, silhouette, causality, density, punctum, one strange thing). Diagnoses which layer failed and routes the fix to that layer with a single-variable change. Use on any feedback round: 太平淡, 太乱, 不像, 没人味, 这版可以, 评价一下, 哪里不对, compare versions.

関連スキル