Oil Iconのロゴ

Oil Icon

コミュニティ
oil-oil
oil-icon

一貫したスタイルのアイコンセットを生成します。グリッド状に画像を生成し、分割して背景を削除することで、透過PNGとして納品します。カスタムアイコン一式、カテゴリ用アイコン、ブランドのスタイルに合ったアイコンが必要な場合に使用します。単体のシンプルなベクターアイコンや、小さく密集した機能アイコンには使用しません。

Add to TypingMind

概要

公開者oil-oil
リポジトリoil-icon
スキル名oil-icon
スター
314
フォーク
30
同梱ファイル
85
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 85個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/oil-oil/oil-icon.git \
  .claude/skills/oil-icon
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

oil-icon

Generate a set of icons that share one visual style, output as transparent PNGs.

Image generation runs on a flat grey backdrop as a 4×4 sheet — 16 icons in one generation, 有助于统一风格,但仍需逐个检查 — then each cell is sliced out and background-removed.

Agent owns the design decisions (which style, which palette, which metaphors, whether to match a brand); image generation and slicing are mechanical steps.

API Key 配置入口

需要外部服务凭据时先读API Key 配置与业务读取:复用已有安全入口;本机缺少 Key 时使用随附固定页面,保存后通过业务包装入口读取。内置能力与纯本地流程不要求配置 Key。

Workflow

  1. Choose the style. Either pick a built-in from styles/ (table below), or match the user's brand by reading their project's design tokens / assets and deriving a custom style-spec — see reference/style-adaptation.md. Freeze the result as a style-spec with the same fields as the built-in JSONs; 后续批次复用同一规范,并检查生成偏差.
  2. List the icons. Write each concept as name — short concrete metaphor (e.g. settlement — a wallet with a coin). One clear idea per icon; keep the detail level consistent across the set. 默认每张 16 格;明确选择 9 格时,提示词使用 3×3,切图命令必须同时传 --grid 3。 If the user asks for an exact count below 16, still use a 4x4 / 16-cell sheet: place the requested icons first in row-major order, then explicitly ask the remaining cells to stay empty grey background.
  3. Compose the prompt. style.preamble + the style's construction fields (as short guidance) + palette-lock line + numbered metaphors + the fixed composition text — see reference/prompt-template.md and reference/construction.md.
  4. Generate the sheet(s). Choose an image provider by capability, in order (see reference/image-providers.md) — never assume Codex is present:
    1. Built-in / host imagegen first — if the running agent already has a callable image-generation tool, including Codex's built-in image_gen tool or the imagegen skill, call it directly. Do not delegate to external Codex CLI just to reach imagegen from another process.
    2. Codex CLI fallback — only if this agent has no callable image-generation tool, and Codex is available (从可用 Skill 清单定位 codex,或使用 PATH 中已有的 codex), delegate generation to it.
    3. External API fallback — only if neither of the above exists, 沿用用户已授权的供应商;缺少凭据时按配置说明打开随附页面,不索要聊天中的 Key; for OpenAI Images, scripts/gen_image.py --prompt "…" --out raw/<style>.png is ready. Save or copy each generated sheet to raw/<style>.png on flat grey #808080. Built-in imagegen may save under $CODEX_HOME/generated_images/...; after generation, move or copy the selected PNG into the task output raw/ folder. 同一张图更容易保持共同风格,但仍须逐个验收,不能把一次生成视为一致性保证; a provider only has to turn the prompt into a grey-background PNG.
  5. Slice. Run scripts/setup.sh once, then: .venv/bin/python3 scripts/slice_icons.py <raw>.png <outdir> --mode <cutout> [--thresh N] [--grid 4] [--count N] using the style's cutout mode (floodfill for flat/hard-edge, rembg for soft / 3D / glossy / photo).
  6. QA (mandatory). Composite the sliced PNGs onto a contrasting colour (e.g. magenta) and check every icon for (a) a fragment bled in from a neighbouring cell, (b) leftover grey, and (c) consistency against the style's construction — uniform stroke, one radius, matched detail level, shared parts, motif present, single perspective, and no accent out-weighting the defining element (in line styles the accent must be lighter and smaller than the stroke). Re-slice or regenerate any that fail — never ship an icon carrying part of the one above it.
  7. Deliver the transparent PNGs, organized and named.

Built-in styles

stylelookcutoutfits
linearmono line / outlinefloodfillutility, settings
filledsolid single-colour glyphsfloodfillmobile nav / tab bars
colorblockbold flat multi-colour blocksfloodfillkids, creative
cartoonsticker-style cartoonrembggames, entertainment
isometricisometric 3D miniaturesrembgSaaS, dashboards
render3dglossy puffy 3Drembgrewards, onboarding
stickerdie-cut glossy vinylrembgsocial, reactions
realisticphotoreal product rendersrembge-commerce, hero
animal-badgeanimal emblems in badgesrembgavatars, kids

Each styles/<name>.json holds the preamble, locked palette, cutout mode, threshold, construction system, and what it fits.

Key rules (see reference/design-rules.md)

  • Lock the palette as hex in the spec — colourful styles drift run-to-run otherwise.
  • Never make black filled icons — near-black / black may be used as a thin outline or line stroke, but never as the dominant filled mass of an icon set. If the brand foreground is black, map it to strokes only; for filled or duotone styles, choose a mid-light brand colour for the main shape and keep dark colours small.
  • Start from the real product context — when a user gives a live site, screenshot, mascot, logo, or brand asset, derive the icon concepts and construction from that source first. Do not jump straight into generic style families such as isometric, duotone, 3D, or colorblock; those are finishes applied after the product motif, real navigation, and real feature names are locked.
  • Slicing drops neighbour bleed — the slicer keeps only the centred icon per cell.
  • Cutout by edge type — flat/hard-edge → floodfill; soft / 3D / glossy / photo → rembg.
  • Design sophistication comes from a construction system + a brand motif, not from tinting a generic set — each style's construction object encodes the grid, stroke, radius, detail budget, shared parts, and motif (see reference/construction.md). A rigorous system ultimately wants vector; raster is for direction and spot icons.

同梱ファイル

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

ほかに25個のファイルがあります。

よくある質問

AIスキル「Oil Icon」では何ができますか?

一貫したスタイルのアイコンセットを生成します。グリッド状に画像を生成し、分割して背景を削除することで、透過PNGとして納品します。カスタムアイコン一式、カテゴリ用アイコン、ブランドのスタイルに合ったアイコンが必要な場合に使用します。単体のシンプルなベクターアイコンや、小さく密集した機能アイコンには使用しません。

TypingMindでOil Iconを使うメリットは何ですか?

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

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

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

Oil Iconを使えるAIモデルはどれですか?

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

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

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

AIスキル「Oil Icon」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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