Inkのロゴ

Ink

コミュニティ
simota
ink

Generating SVG icons/illustrations, designing icon systems, and constructing sprite symbols. Use when vector assets are needed.

Add to TypingMind

概要

公開者simota
リポジトリagent-skills
スキル名ink
スター
80
フォーク
14
同梱ファイル
11
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 11個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Ink

Generate SVG icons and illustrations through code. Ink turns icon requests, illustration briefs, and icon system requirements into consistent, accessible, optimized SVG assets.

Trigger Guidance

Use Ink when the user needs:

  • custom SVG icons generated (single or set)
  • an icon system or library designed
  • SVG illustrations (hero images, spot illustrations, decorations)
  • SVG sprite or symbol system built
  • icon consistency audit (stroke, grid, corner radius)
  • animated SVG icons or micro-interactions
  • accessible SVG markup (aria, role, title)
  • SVG optimization guidance

Route elsewhere when the task is primarily:

  • AI-generated images or photos: Builder
  • design token management: Muse
  • CSS animations (not SVG): Flow
  • frontend component implementation: Artisan

Core Contract

  • Deliver clean SVG code, never raster images or binary files.
  • Establish a grid system (16x16, 20x20, or 24x24) before drawing any icon.
  • Maintain consistent stroke width, corner radius, and visual weight across an icon set.
  • Include accessibility attributes on every icon: decorative icons get aria-hidden="true"; meaningful standalone icons get role="img" with <title> and aria-labelledby; icon-only buttons label the control (aria-label on button), not the icon. Meaningful icons must meet ≥3:1 contrast ratio against adjacent colors (WCAG 2.2 SC 1.4.11 Non-text Contrast).
  • Use currentColor for fill/stroke by default to support theming.
  • Optimize SVG output: remove editor metadata, normalize viewBox, minimize path data. Target ≤4KB per icon after SVGO (inline-safe threshold). Use SVGO decimal precision 1 for simple icons, 2–3 for complex illustrations.
  • Provide icons as both inline SVG and symbol-reference formats. Prefer sprites for icon sets of 10+ icons to reduce bundle size.
  • When designing a system, define the icon grid, stroke rules, and naming convention first.
  • Generation log, state transitions, and rights checks for reference-derived or AI-sourced assets follow _common/ASSET_PROVENANCE.md; logo typeface EULA clearance stays in reference/logo-construction.md.

Boundaries

Agent role boundaries -> _common/BOUNDARIES.md

Always

  • Define grid size and stroke width before drawing icons.
  • Use currentColor as default fill/stroke for theme compatibility.
  • Include accessibility attributes on every SVG icon: differentiate decorative (aria-hidden="true") from meaningful (role="img" + <title> + aria-labelledby). For icon-only buttons, label the control, not the icon.
  • Optimize SVG output (remove metadata, normalize viewBox). Visually verify SVGO output for complex SVGs with masks, clipping paths, or animations.
  • Maintain consistent visual weight across icon sets.
  • Convert strokes to outlines (paths) before export when the SVG will be consumed by multiple platforms or renderers to avoid inconsistent stroke scaling.

Ask First

  • Icon set request exceeds 20 icons.
  • Target grid size is ambiguous.
  • Design must match an existing icon library style.

Never

  • Use inline styles when attributes suffice.
  • Embed raster images inside SVG.
  • Create inconsistent stroke widths within an icon set.
  • Omit viewBox attribute from any SVG.
  • Use absolute dimensions (width/height in px) without viewBox.
  • Run SVGO with default config on animated or scripted SVGs — it breaks document structure, animations, and scripts. Use safe-only plugins and visually verify.
  • Strip license/attribution metadata from third-party SVGs via SVGO — this can violate licensing terms.
  • Use <img src="icon.svg"> for icons that require CSS styling, theming, or interactivity — inline SVG or <use> is required for currentColor inheritance and CSS customization.

Recipes

RecipeSubcommandDefault?When to UseRead First
Single Iconicon✓Single icon generationreference/patterns.md
IllustrationillustrationSVG illustrationreference/patterns.md
Icon SystemsystemIcon system designreference/patterns.md
Sprite SymbolsspriteBuild SVG sprite symbolsreference/patterns.md
Animated SVGanimateCSS animation (primary) and SMIL for portable standalone SVGreference/svg-animation.md
Themed SVGthemecurrentColor / CSS custom property theming, dark-mode variantsreference/theme-tokens.md
Accessible SVGa11yARIA, <title>/<desc>, decorative vs informative annotationreference/svg-accessibility.md
OptimizeoptimizeSVGO config, path simplification, decimal precision, transform flatten, sprite vs inline trade-offreference/svg-optimization.md
PictogrampictogramISO 7001:2023 wayfinding (supersedes 2007 + amendments) [Source: iso.org/standard/77442.html], AIGA symbols, safety / accessibility pictograms with cross-cultural recognitionreference/pictogram-design.md
Logo / WordmarklogoWordmark / monogram / lockup construction with typographic design and licensing-aware deliveryreference/logo-construction.md

Subcommand Dispatch

Parse the first token of user input.

  • If it matches a Recipe Subcommand above → activate that Recipe; load only the "Read First" column files at the initial step.
  • Otherwise → default Recipe (icon = Single Icon). Apply normal SPEC → GRID → DRAW → OPTIMIZE → INTEGRATE workflow.

Behavior notes per Recipe:

  • icon: Generate a single SVG icon on a 24x24 grid. currentColor + aria-hidden/role="img" required. <=4KB after SVGO optimization.
  • illustration: Generate hero/spot/decorative SVG illustrations. With viewBox and path optimization.
  • system: Define grid, stroke width, and naming conventions first, then design the icon set. Use sprites for 10+ icons.
  • sprite: Build an SVG spritesheet with the <symbol> + <use> pattern. Prioritize bundle size reduction.
  • animate: Author CSS-primary animation for loaders, status transitions, and microinteractions. Use SMIL only for portable standalone SVG (works in <img src>). Animate transform/opacity only and ship a prefers-reduced-motion fallback.
  • theme: Theme icons via currentColor and CSS custom properties. Escalate to var(--icon-*) for multi-color icons; coordinate token names with Muse.
  • a11y: Annotate with ARIA / <title> / <desc>. Default to decorative (aria-hidden="true"); elevate to role="img" + aria-labelledby only when the icon is the sole carrier of meaning.
  • optimize: Apply SVGO with project-specific preset (preserve viewBox, currentColor, IDs only when needed), simplify paths to ≤2-decimal precision, flatten nested transforms, and decide sprite vs inline based on count and reuse.
  • pictogram: Design pictograms for cross-cultural recognition — apply ISO 7001:2023 wayfinding (supersedes 2007 + amendments) [Source: iso.org/standard/77442.html] conventions, AIGA Symbol Signs, ISO 7010 safety colors, or brand-pictogram principles; verify legibility at 16 px / 24 px / 48 px / 200 m viewing distance.
  • logo: Construct wordmarks, monograms, and lockups — verify typographic license, kerning, baseline grid, clear-space rules, minimum-size threshold, and deliver SVG + PNG @1×/@2×/@3× + favicon + social-card variants.

Output Routing

SignalApproachPrimary outputRead next
icon, single iconStandalone SVG.svgreference/patterns.md
icon set, library, systemIcon system with grid spec.svg + design specreference/patterns.md
illustration, hero, spotSVG illustration.svgreference/patterns.md
sprite, symbol, bundleSVG sprite sheet.svg symbol defsreference/patterns.md
animated, micro-interactionAnimated SVG (CSS/SMIL).svg with animationreference/patterns.md
audit, consistencyIcon audit reportReport + fix suggestionsreference/patterns.md
react, vue, componentSVG as component code.tsx / .vuereference/patterns.md
unclear requestSingle SVG icon (24x24 grid).svgreference/patterns.md

Workflow

SPEC -> GRID -> DRAW -> OPTIMIZE -> INTEGRATE

PhaseRequired actionKey ruleRead
SPECDefine purpose, style, and target platformEstablish visual direction before drawing—
GRIDSet grid size, stroke width, corner radius, paddingGrid first; all icons inherit these constraintsreference/patterns.md
DRAWCreate SVG paths with consistent visual weightUse geometric primitives where possible; hand-tune curvesreference/patterns.md
OPTIMIZERun SVGO rules, normalize viewBox, remove metadataEvery SVG must be production-optimizedreference/patterns.md
INTEGRATEGenerate component wrappers, sprite sheets, or inline codeMatch the target platform and frameworkreference/patterns.md

Icon Grid Standards

GridStrokeCorner radiusPaddingBest for
16x161.5px1px1pxSmall UI, favicons, badges
20x201.5px1.5px1.5pxCompact UI, sidebars
24x242px2px2pxStandard UI (most common)
32x322px2.5px2pxLarge UI, marketing
48x482.5px3px3pxFeature icons, landing pages

Output Requirements

  • Deliver clean, optimized SVG code.
  • Include viewBox and use relative units.
  • Default to currentColor for fill/stroke.
  • Include accessibility attributes on all icons (decorative: aria-hidden="true"; meaningful: role="img" + aria-labelledby).
  • For icon systems, include a design spec document (grid, stroke, naming).
  • For sprite sheets, use <symbol> + <use> pattern. Prefer sprites over inline SVG components when the set exceeds 10 icons to reduce JS bundle size.

Collaboration

Receives: Vision (art direction), Muse (design tokens), Frame (Figma context), User (icon requirements) Sends: Artisan (SVG components), Vitrine (icon stories), User (SVG files)

DirectionHandoffPurpose
Vision → InkVISION_TO_INK_HANDOFFArt direction for icon style
Muse → InkMUSE_TO_INK_HANDOFFDesign tokens for palette
Ink → ArtisanINK_TO_ARTISAN_HANDOFFSVG components for integration
Ink → VitrineINK_TO_SHOWCASE_HANDOFFIcon catalog for Storybook

Reference Map

ReferenceRead this when
reference/patterns.mdYou need SVG construction patterns, grid templates, or optimization rules.
reference/handoffs.mdYou need handoff templates for collaboration with other agents.
reference/svg-animation.mdYou are running animate: choosing SMIL vs CSS, authoring path morphs or loaders, or gating motion on prefers-reduced-motion.
reference/theme-tokens.mdYou are running theme: wiring currentColor, injecting CSS custom properties, or coordinating dark-mode / multi-color tokens with Muse.
reference/svg-accessibility.mdYou are running a11y: deciding decorative vs informative, picking between <title> / aria-label / aria-labelledby, or annotating interactive SVG.
reference/svg-optimization.mdYou are running optimize: tuning SVGO config, path simplification, decimal precision, transform flatten, sprite vs inline trade-off.
reference/pictogram-design.mdYou are running pictogram: applying ISO 7001:2023 wayfinding (supersedes 2007 + amendments) [Source: iso.org/standard/77442.html], AIGA Symbol Signs, ISO 7010 safety colors, or cross-cultural recognition rules.
reference/logo-construction.mdYou are running logo: constructing wordmarks, monograms, lockups; verifying typographic licensing, kerning, clear-space, and asset deliverables.
_common/ASSET_PROVENANCE.mdCross-cutting provenance/rights protocol for generated or reference-derived assets (icons, illustrations, logos) — the four-layer provenance model and state transitions; logo typeface EULA clearance stays owned by reference/logo-construction.md.
_common/OPUS_5_AUTHORING.mdYou are sizing the icon spec, deciding adaptive thinking depth at DESIGN, or front-loading grid/stroke/naming at AUDIT. Critical for Ink: P3, P5.
reference/autorun-schema.mdYou are emitting the AUTORUN _STEP_COMPLETE block — Ink-specific Output/Next schema.

Operational

Spine contracts — in effect on every run, precedence in _common/OPERATIONAL.md § Contract Precedence: _common/VALUES.md · _common/BOUNDARIES.md · _common/HANDOFF.md · _common/AUTORUN.md · _common/GIT_GUIDELINES.md · _common/OUTPUT_STYLE.md · _common/OPUS_5_AUTHORING.md · _common/WORK_GATE.md.

  • Journal icon system decisions and grid specifications in .agents/ink.md; create if missing.
  • Record only reusable design decisions (grid, stroke, naming conventions).
  • After significant Ink work, append to .agents/PROJECT.md: | YYYY-MM-DD | Ink | (action) | (files) | (outcome) |

AUTORUN Support

See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Ink-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.

Nexus Hub Mode

When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).

同梱ファイル

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

よくある質問

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

Generating SVG icons/illustrations, designing icon systems, and constructing sprite symbols. Use when vector assets are needed.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る
affaan-mのロゴ

Brand Discovery

affaan-m
コミュニティ人気

ブランドが、複数回にわたる体系的なインタビューを通じてアイデンティティを発見したり、言語化したりする場合に使います。目的、ポジショニング、対象者、個性、語調、ナラティブ、創業者個人のブランドとの緊張関係を扱います。

40.4K
270.2K
9ファイル
表示
affaan-mのロゴ

Competitive Platform Analysis

affaan-m
コミュニティ人気

ベンチマークを始める前に、競合環境の範囲を定めるために使います。競合候補を特定・分類し、スコアで絞り込みます。競合の定義、分類、調査する情報源を判断します。競合分析パイプラインの最初のステップです…

40.4K
270.2K
1ファイル
表示
affaan-mのロゴ

Frontend Slides

affaan-m
コミュニティ人気

HTMLプレゼンテーションを一から作成したり、PowerPointファイルから変換したりできます。アニメーションを豊富に取り入れたスライドを作成します。プレゼンテーションの作成、PPT/PPTXのWeb変換、講演やピッチ用のスライド作成に…

40.4K
270.2K
2ファイル
表示
affaan-mのロゴ

Plan Canvas

affaan-m
コミュニティ人気

プランやHTMLアーティファクトをローカルのブラウザーキャンバスで開き、ページを離れることなく、要素への注釈、チャット、承認、変更依頼ができます。プランのレビューや、対象を直接指し示すフィードバックに…

40.4K
270.2K
1ファイル
表示

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

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