Codex Mood Boardのロゴ

Codex Mood Board

コミュニティ
simonmesmith
codex-mood-board

手軽なムードボード、ビジュアルの方向性、クリエイティブの方向性、スタイルボード、参考資料ボード、アートディレクションボード、キャンペーンのムード案、ブランドのルック&フィール案、ビジュアル発想用の画像セット、添付画像をもとにした「これに似たもの」の案、注釈付き画像や添付画像を使ったムードボードの追加案を作成します。ユーザーがCodexに、ムードボード形式のビジュアル案の作成、生成、検討、反復、またはレビューを求めた場合は、Creative Productionではなく、この単独のスキルを使用します。

概要

公開者simonmesmith
リポジトリagent-skills
スキル名codex-mood-board
スター
51
フォーク
5
同梱ファイル
3
ライセンスGPL-3.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    simonmesmithがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Codex Mood Board」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/simonmesmith/agent-skills/tree/main/skills/codex-mood-board
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/simonmesmith/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/codex-mood-board .claude/skills/codex-mood-board
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCodex Mood Boardを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCodex Mood Boardを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Codex Mood Boardは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Codex Mood Board

Create compact local mood boards from generated image batches. This skill is standalone: do not use Creative Production.

Workflow

  1. Ask what the user wants a mood board for.
  2. Collect a lightweight creative brief:
    • brief or subject
    • goal
    • target audience
    • desired mood or visual territories
    • must include
    • avoid
    • number of images
  3. Default to 6 images when no count is specified. Accept follow-up requests for more images, up to 25 images in one batch.
  4. Generate one distinct prompt per image. Do not use n as a substitute for separate creative directions.
  5. Use the OpenAI Image API CLI path via scripts/generate_mood_board.py; do not use the built-in image_gen tool for this workflow.
  6. Require OPENAI_API_KEY locally. If the key is missing, explain that the user must set it in their shell or Codex environment; never ask them to paste it into chat. The script uses the system imagegen CLI, which requires the Python openai SDK for real API calls; if the active environment is missing it and uv is available, the script automatically retries with uv run --with openai and points UV_CACHE_DIR at /private/tmp/uv-cache-codex-mood-board unless the environment already sets it.
  7. Save outputs in a durable local output folder, then return the index.html path and tell the user to open it in Codex preview/browser.
  8. The preview header should say: Use Ctrl + Click to add images and annotations to the thread.
  9. Show short mood or direction names under each image, not full prompts. Store those names in each batch as mood_names; the user can ask for the underlying prompt when needed.
  10. Use Codex theme variables for preview colors: --codex-base-accent, --codex-base-surface, and --codex-base-ink, with sensible fallbacks. Do not inject Codex theme colors into generated image prompts unless the user explicitly asks for that palette.

Defaults

  • Model: gpt-image-2
  • Quality: low
  • Size: 1024x1024
  • Output format: png
  • Image count: 6
  • Maximum single batch: 25
  • Batch concurrency: match image count up to 25 unless the user asks for a lower value

Script Use

Create a JSON spec and run:

bash
python3 skills/codex-mood-board/scripts/generate_mood_board.py \
  --spec mood-board-spec.json \
  --output-dir mood-boards/codex-mood-board

The spec may include:

json
{
  "title": "Mood Board",
  "brief": "Premium neighborhood coffee subscription",
  "goal": "Explore warm, credible visual directions for a landing page",
  "target_audience": "Busy urban professionals",
  "territories": ["morning ritual", "local craft", "quiet focus"],
  "mood_names": ["Morning Ritual", "Local Craft", "Quiet Focus"],
  "reference_images": ["references/brand-photo.png"],
  "must_include": ["coffee", "human warmth", "real interiors"],
  "avoid": ["generic stock-photo gloss", "visible brand logos"],
  "image_count": 6,
  "model": "gpt-image-2",
  "quality": "low",
  "size": "1024x1024",
  "output_format": "png"
}

For validation without API calls, use --mock-images. For API payload checks without image files, use --dry-run. After HTML/CSS-only script changes, use --rebuild-html --output-dir <board-folder> to rebuild the preview from the existing manifest without creating a new batch.

Use the default mood-boards/codex-mood-board folder for local experiments. The repo ignores mood-boards/, so generated batches, previews, and manifests stay out of git.

If generation fails after creating a partial batch folder, rerun the same command against the same output directory. The script skips existing batch-###-* folders and writes the retry as the next batch, preserving the failed folder for diagnostics.

For multiple mood boards in one project, keep one output folder per board, for example:

bash
python3 skills/codex-mood-board/scripts/generate_mood_board.py \
  --spec icon-directions.json \
  --output-dir mood-boards/icon-directions

python3 skills/codex-mood-board/scripts/generate_mood_board.py \
  --spec homepage-style.json \
  --output-dir mood-boards/homepage-style

Leave the title as Mood Board for a single board. When a project has several boards, set title in each spec, such as Icon Direction Mood Board or Homepage Style Mood Board.

Follow-up Rounds

For user feedback such as "combine images 2 and 5" or "more like this but warmer", create a new spec with follow_up and run the script again against the same output folder. The script creates the next batch and prepends it to index.html.

If the user attaches or names reference images, default to using them as creative guidance in the prompt and add them to reference_images. This keeps the fast generate-batch path.

Only send images as true API references when the user explicitly asks for the images to be used as references, says the result should be based on attached images, or approves that tradeoff. In that case set send_reference_images: true. Warn the user that this uses the image edit/reference path, runs one API call per tile, and will be slower because it cannot use generate-batch.

Keep true API references selective: default to at most 4 images per batch even though the API can accept up to 16. If the user explicitly needs more, set max_reference_images up to 16 and explain that too many references can dilute the direction or increase latency/cost.

Reference image specs can be strings or objects:

json
{
  "reference_images": [
    "references/favorite-1.png",
    {"path": "references/favorite-2.jpg", "role": "color and composition"}
  ],
  "send_reference_images": true,
  "max_reference_images": 4
}

After each batch, invite the user to use Codex image attachment or annotation features for the next round, for example:

  • "Combine images 2 and 5."
  • "Make more like this one but warmer."
  • "Use these three attached images as references."

Validation

After editing this skill, run:

bash
python3 -m py_compile skills/codex-mood-board/scripts/generate_mood_board.py
python3 skills/codex-mood-board/scripts/generate_mood_board.py --check-env
python3 skills/codex-mood-board/scripts/generate_mood_board.py --spec /path/to/spec.json --output-dir /tmp/codex-mood-board-test --mock-images

Use a second --mock-images run against the same output folder to verify Batch 2 appears above Batch 1.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Codex Mood Board」では何ができますか?

手軽なムードボード、ビジュアルの方向性、クリエイティブの方向性、スタイルボード、参考資料ボード、アートディレクションボード、キャンペーンのムード案、ブランドのルック&フィール案、ビジュアル発想用の画像セット、添付画像をもとにした「これに似たもの」の案、注釈付き画像や添付画像を使ったムードボードの追加案を作成します。ユーザーがCodexに、ムードボード形式のビジュアル案の作成、生成、検討、反復、またはレビューを求めた場合は、Creative Productionではなく、この単独のスキルを使用します。

TypingMindでCodex Mood Boardを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Codex Mood Boardはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCodex Mood Boardをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/simonmesmith/agent-skills/tree/main/skills/codex-mood-boardを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Codex Mood Boardを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Codex Mood Boardで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCodex Mood Boardを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Codex Mood Board」は無料ですか?

はい。simonmesmithがGPL-3.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇