Logo Ink

Ink

Cộng đồng
simota
ink

Tạo biểu tượng/hình minh họa SVG, thiết kế hệ thống biểu tượng và xây dựng các ký hiệu sprite. Dùng khi cần tài nguyên vector.

Add to TypingMind

Tổng quan

Nhà phát hànhsimota
Kho mãagent-skills
Tên kỹ năngink
Sao
80
Bản fork
14
Tệp đi kèm
11
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được simota công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ink trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/simota/agent-skills/tree/main/ink
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ink trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ink ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ink với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ink làm được gì?

Tạo biểu tượng/hình minh họa SVG, thiết kế hệ thống biểu tượng và xây dựng các ký hiệu sprite. Dùng khi cần tài nguyên vector.

Vì sao nên dùng Ink trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ink là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ink trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/simota/agent-skills/tree/main/ink. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ink?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ink với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ink với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ink có miễn phí không?

Có. Kỹ năng này được simota phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇