Article Batch Illustrationのロゴ

Article Batch Illustration

コミュニティ
SpaceZephyr
article-batch-illustration

Markdown記事全体を分析し、イラストの配置を必要最小限に計画したうえで、Cowriteに同梱されたimage-studioを使って統一感のある記事画像を生成します。「整篇配图」「批量配图」「给文章配图」や、貼り付けられたCowriteのページ全体向けイラスト生成コマンドに使用します。

Add to TypingMind

概要

公開者SpaceZephyr
リポジトリcowrite
スキル名article-batch-illustration
スター
91
フォーク
14
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Article Batch Illustration for Cowrite

Plan and generate a coherent illustration set for one complete Cowrite Markdown page. This Skill owns article analysis and placement. The bundled image-studio Skill owns prompt assembly and generation through Codex's built-in image_gen tool.

Fixed Cowrite profile

  • Output: PNG, 16:9, 2K
  • Image type: image-studio type D / article logic illustration
  • Generation path: Codex built-in image_gen tool only; one tool call per image
  • Language: Simplified Chinese; technical abbreviations may remain English
  • Count: normally 2-6; use fewer for short articles
  • Placement: after an exact, unique Markdown heading or paragraph anchor
  • Page safety: never rewrite the source article; insert only successful final images

Never use LabNana, Gemini, an API/CLI image generator, an embedded API key, web image search, or another model. If built-in image_gen is unavailable or fails, report the failure and leave the page unchanged.

Phase 1: analyze and select positions

  1. Read the latest Cowrite page through cowrite_get_page.
  2. Ignore frontmatter, references, footnotes, existing delivery links, and existing images whose alt text starts with 文章配图.
  3. Split primarily on H2/H3 headings. For heading-free prose, use major topic transitions.
  4. For every candidate, record:
    • exact unique anchor from the current Markdown;
    • one-sentence core point;
    • 3-5 key concepts;
    • best structure: concept, flow, comparison, hierarchy, relationship, or matrix.
  5. Select only positions where a diagram materially improves comprehension. Do not illustrate every section and do not create decorative filler.
  6. Keep the set between 2 and 6 unless the article is too short. Prefer fewer, stronger images.

Phase 2: establish one visual system

Choose one image-studio style for the whole set based on the article:

  • product/general explanation: minimal or notion
  • data/research: editorial-infographic or scientific
  • technical systems: blueprint
  • education/personal narrative: sketch-notes
  • culture/aesthetics: chinese-elegance

Lock the same background, palette, line weight, typography, grid, corner radius, and icon language across every prompt. Each image must express one point, use generous whitespace, contain at most 1-3 short labels, and contain no logo, watermark, page number, photorealistic filler, or complex gradient.

Phase 3: generate, verify, upload

For each selected position in article order:

  1. Assemble a complete prompt using bundled image-studio's article-logic type, chosen style, base template, and the section's core point.
  2. Repeat the full shared visual identity in every prompt; do not assume session memory.
  3. Call Codex's built-in image_gen once for each distinct image. Express 16:9 composition and 2K-quality intent in every prompt; do not invent CLI flags or call a script.
  4. Inspect every returned image, then copy the accepted saved result into a writable project directory. Verify that the copied file exists, is readable, and is a non-empty raster image. Record failures and continue.
  5. Upload only verified accepted images with cowrite_upload_asset.

Phase 4: revision-safe insertion

  1. Re-read the latest page after generation and upload.
  2. Confirm every exact anchor still exists once. Skip missing or ambiguous anchors.
  3. Insert from the bottommost anchor toward the top so earlier insertions do not disturb later placement.
  4. Use cowrite_insert_after with the latest returned revision each time.
  5. Markdown format: ![文章配图 01:段落标题](url). Number by original article order even though insertion executes in reverse.
  6. On a revision conflict, re-read and retry once. Never replace the full article merely to add images.

Return the number of planned, generated, inserted, skipped, and failed images, plus concise failure reasons.

よくある質問

AIスキル「Article Batch Illustration」では何ができますか?

Markdown記事全体を分析し、イラストの配置を必要最小限に計画したうえで、Cowriteに同梱されたimage-studioを使って統一感のある記事画像を生成します。「整篇配图」「批量配图」「给文章配图」や、貼り付けられたCowriteのページ全体向けイラスト生成コマンドに使用します。

TypingMindでArticle Batch Illustrationを使うメリットは何ですか?

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

TypingMindにArticle Batch Illustrationをインストールするにはどうすればよいですか?

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

Article Batch Illustrationを使えるAIモデルはどれですか?

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

Article Batch Illustrationで使えるAIモデルの数に制限はありますか?

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

AIスキル「Article Batch Illustration」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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