Logo Archflow

Archflow

Cộng đồng
rafaelolsr
archflow

Analyzes a codebase and generates animated HTML architecture reports — beautiful, bespoke visualizations with interactive animated diagrams showing how the system works. Use this skill whenever the user asks to "visualize the codebase", "explain the architecture", "generate a diagram", "show how the code flows", "create an architecture diagram", "animate the data flow", "explain this repo visually", "show me how this works", or "generate an architecture report".

Tổng quan

Nhà phát hànhrafaelolsr
Kho mãarchflow
Tên kỹ năngarchflow
Sao
32
Bản fork
3
Tệp đi kèm
20
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ộ.

  • 20 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 rafaelolsr 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 Archflow 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/rafaelolsr/archflow/tree/main/plugins/archflow/skills/archflow
  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/rafaelolsr/archflow.git /tmp/archflow
mkdir -p .claude/skills
cp -r /tmp/archflow/plugins/archflow/skills/archflow .claude/skills/archflow
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 Archflow 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 Archflow 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 Archflow 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.

Codebase Visualizer

Analyzes a codebase and produces beautiful, self-contained HTML architecture outputs with animated flow diagrams.

=================================================================== OUTPUT MODES

/archflow → Full architecture report (default) /archflow-diagram → Animated diagram only (legacy, self-contained) /archflow-slides → Slide deck presentation /archflow-walkthrough → Step-by-step, rule-by-rule data-flow trace (ingestion + per-stage transformation rules, with a sample record that morphs stage-by-stage)

=================================================================== WORKFLOW — 7-STAGE PIPELINE (all modes)

Every output mode follows the same pipeline. Mode-specific behavior is noted inline. After each stage completes, print a one-line status.


STAGE 1: ANALYZE

Read references/analysis.md → scan the codebase. Read references/layouts.md → decide the diagram layout pattern.

Extract: components, groups, flows, external services.

WALKTHROUGH MODE: ALSO run analysis.md STEP 3c — extract the transformation RULES per stage (type, stoplight status, before/ after field, code_ref), the ingestion MECHANISM, and a SAMPLE RECORD to morph through the pipeline. Code-first; note any rules that can't be derived from code as GAPS for the PLAN checkpoint.

After completion, print: ANALYZE ✓ {N} files scanned, {M} components, {K} external services


STAGE 2: PLAN

Read references/design-system.md → CSS patterns library Read references/libraries.md → fonts, Mermaid, CDN imports Read references/design-qa.md → quality gates Read references/animation.md → phase engine for the diagram Read references/hero-manifest.md → deterministic hero geometry and validation Read references/navigation.md → TOC sidebar (if needed) Read references/print.md → print/PDF stylesheet + composite snapshot Read references/walkthrough.md → (walkthrough mode) rule-annotated transition primitive + scroll driver

Produce a visible, structured architecture map BEFORE any HTML.

For REPORT and DIAGRAM modes, express the connected hero as an archflow_hero: 1 JSON manifest. The manifest is part of the PLAN contract: explicit frames, orthogonal flows, narrative chapters, and source evidence. Keep the diagram compact only when that serves the system; visual adaptability comes from changing the manifest layout, not from removing architectural detail.

Decide: → Font pairing that matches the project character → Color palette aesthetic (Blueprint, Terminal Mono, etc.) → Background atmosphere (radial glow, dot grid, mesh) → Layout pattern (pipeline, hub, medallion)

Do NOT default to the same choices every time.

Plan the content: REPORT MODE — plan report sections. Include at minimum: → Header (project name, description, date) → Executive summary → KPI metrics → Animated architecture diagram (MANDATORY — the hero section) → Component directory or data table → Supporting content as the project demands → Code references Compose FREELY. Add sections the project needs. Skip ones it doesn't.

DIAGRAM-ONLY MODE — plan diagram layout and phases only.

SLIDE MODE — plan content → slide type mapping and chunk boundaries
  (5-7 slides per chunk for chunked generation in BUILD).

WALKTHROUGH MODE — plan the spine as the RECORD'S JOURNEY, not the
  subsystems. List the transitions (ingest → bronze → silver → gold
  → output), and for each the rules that fire. The silver transition
  is the HERO — plan its full rule set, never "cleansing happens here."

  GAP CHECKPOINT (walkthrough only): if analysis STEP 3c produced a
  GAPS block — undERivable silver rules, opaque intent, or an
  unfillable sample record — present it to the user and PAUSE here.
  Do not write HTML until the user confirms or fills the gaps.
  Rules that remain unknown become GAP chips (never dropped). This
  is the ONE mode that stops for input mid-pipeline.

Output the architecture map to the user:

PLAN
  Architecture: {N} components in {M} groups
  Layout: {horizontal-pipeline | multi-agent-hub | medallion-pipeline}
  Spine: {entry} → {group1} → {group2} → ... → {exit} ({P} phases)
  Design: {font pairing} · {palette} · {atmosphere}
  Sections: {N} sections planned
  ─────────────────────────────────
  Groups:
    HERO     {group name} — {description}
    ELEVATED {group name} — {description}
    DEFAULT  {group name} — {description}
    ...

This is the CONTRACT. The BUILD stage implements this map — it does not re-decide architecture.

After completion, print: PLAN ✓ {M} groups, {P} phases, {layout} layout


STAGE 3: BUILD

Read remaining reference docs as needed (svg-exemplar.md, etc.). Write HTML/CSS/SVG implementing the architecture map from PLAN.

REPORT and DIAGRAM modes use the original Archflow hero pipeline: 1. Author the hero manifest described in references/hero-manifest.md. 2. Validate it against the analyzed repository: node scripts/hero-diagram.mjs validate <hero.json> --repo-root 3. Put <!-- ARCHFLOW_HERO --> exactly once in the bespoke HTML. 4. Render atomically with hero-diagram.mjs render ... --template .... 5. Keep the manifest beside the report so architecture, geometry, evidence, and animation coverage remain inspectable.

The renderer owns stable SVG structure, geometry checks, and phase hooks. The agent still owns editorial hierarchy, section composition, typography, color, atmosphere, responsive behavior, and the architectural decisions encoded in the manifest. Do not hand-author a second hero SVG after rendering; correct the manifest and render again.

Use the design-system.md patterns as BUILDING BLOCKS, not templates. Compose unique CSS per project. Design each component fresh.

REPORT MODE: → Write CUSTOM CSS for this specific report → Dark/light theme toggle with localStorage persistence → Responsive layout, prefers-reduced-motion support → The animated diagram is the hero section — maximum visual weight → Include @media print block per references/print.md — the generated HTML must produce a usable PDF via Cmd+P, with the phase engine frozen to a composite snapshot (every group lit). Pick a print STRATEGY (references/print.md §1): light-on-paper is the default; use dark-fidelity (keep the on-screen dark theme, §4b) when the PDF is a screen artifact or the user asks for a PDF that "looks exactly like the screen." For dark fidelity, also emit a *.dark-print.html variant for headless rendering, since the browser's "Background graphics" default makes interactive Cmd+P unreliable for dark backgrounds.

DIAGRAM-ONLY MODE: → Fully self-contained — zero external dependencies → Self-contained fonts: 'JetBrains Mono', 'Fira Code', monospace → Reference examples (for layout patterns, not rigid templates): templates/horizontal-pipeline.html templates/multi-agent-hub.html templates/medallion-pipeline.html → Include @media print block per references/print.md — landscape A4 with the composite snapshot on a single page

SLIDE MODE (chunked generation with per-chunk review): → Include @media print block per references/print.md — landscape A4, one slide per page, scroll-snap disabled in print 1. PLAN stage defined chunk boundaries (5-7 slides per chunk) 2. For each chunk: a. BUILD chunk: - Chunk 1: , CSS, opening , slides 1-N - Middle chunks: elements only - Last chunk: remaining slides, closing , SlideEngine JS b. REVIEW chunk: spawn reviewer agent (see references/reviewer-agent.md) on the chunk HTML (subset checks relevant to slides) c. FIX chunk if CRITICAL or ERROR found (max 2 fix cycles per chunk) d. Print per-chunk progress: Chunk {i}/{M} (slides {start}-{end}): BUILD ✓ REVIEW ✓ (0C 0E 1W) 3. Assemble all validated chunks into single file 4. FINAL REVIEW on the assembled deck for cross-chunk issues: - Duplicate CSS definitions or mismatched variables - Slide count matching navigation dots - Consistent styling across all sections

WALKTHROUGH MODE (per references/walkthrough.md): → Build the pinned SVG pipeline (stage groups + arrows) as the hero. → For EACH transition, build a rule-annotated transition: record morph (field-level before→after diff, changed fields highlighted, unchanged dimmed) + stoplight rule chips + collapsed engineer cards (code_ref required on each). → Wire ONE active-index state driven by BOTH autoplay (phase engine) AND scroll (sticky-pinned hero + IntersectionObserver sentinels). User scroll yields autoplay; ↑/↓ keys step; reduced-motion disables autoplay + morph animation but keeps scroll stepping. → COMPLETENESS: every stage, every transition, every extracted rule rendered. Silver rules shown in full. Ingestion mechanism named. Unknown rules render as GAP chips — never silently dropped. → Include @media print per references/print.md: un-pin the hero, force every engineer card open, freeze the morph at the OUTPUT state (nothing collapsed or dimmed in the PDF). → Reference example: templates/walkthrough-pipeline.html (a pattern to adapt, not copy verbatim).

After completion, print: BUILD ✓ {output-mode} generated ({lines} lines, {M} chunks)


STAGE 4: DELIVER

Write the output file: REPORT MODE: ./architecture-report.html DIAGRAM MODE: ./architecture-diagram.html SLIDE MODE: ./architecture-slides.html WALKTHROUGH MODE: ./architecture-walkthrough.html

Single self-contained HTML file. Call present_files.

After completion, print: DELIVER ✓ {output-path}


STAGE 5: REVIEW (independent agent)

Spawn a separate reviewer agent (Sonnet) to validate the output. See references/reviewer-agent.md for the full agent specification.

The reviewer reads the HTML cold — it did not build the output and has no memory of what was intended. It only sees what was produced. This objectivity catches issues that self-review misses.

The reviewer reads the generated HTML file and validates against the STRUCTURED REVIEW PROTOCOL in design-qa.md.

It runs ALL check categories and produces a severity-scored report:

REVIEW
  HTML validity ✓  All tags closed, no broken nesting
  Typography    ✓  2 font families (Instrument Serif + DM Sans + Fira Code)
  Palette       ✓  2 accents (cyan, orange) + neutrals
  Depth tiers   ✓  3 tiers used (hero, elevated, recessed)
  Color variety ✓  No monochrome grids
  Layout rhythm ✓  5 distinct section layouts
  Backgrounds   ✓  Each section has unique treatment
  SVG structure ✓  No orphan groups, all arrows connect
  SVG text fit  ⚠  WARNING: "VectorStoreIndex" may overflow rect at x=290 (est 148px, rect 150px)
  SVG labels    ✓  All flow labels inside gaps, no border overlap
  Animation     ✓  6 phases, all groups highlighted
  Theme toggle  ✓  CSS variables used throughout
  Accessibility ✓  prefers-reduced-motion supported
  ─────────────────────────────────
  VERDICT: PASS (0 CRITICAL, 0 ERROR, 1 WARNING)

Severity levels: CRITICAL Broken output (missing phase engine, no SVG, HTML syntax error) ERROR Quality gate failure (single font, flat backgrounds, orphan SVG groups, text overflow) WARNING Minor issue (tight text fit, same card shape 3x adjacent, could improve variety) INFO Suggestion (could add a quote slide for breathing room)

After completion, print: REVIEW ✓ {VERDICT} ({C}C {E}E {W}W)


STAGE 6: FIX (conditional)

Skip this stage if REVIEW verdict is PASS or CONDITIONAL PASS with only WARNINGs.

If REVIEW has CRITICAL or ERROR findings: → Fix CRITICAL findings first — they break the output entirely. → Apply targeted fixes. One edit per finding. → Do NOT redesign — surgical corrections only. → After EACH edit, verify the fix took effect by re-reading the modified lines. A fix that doesn't change the output is not a fix. → After all fixes applied, re-run the full REVIEW (Stage 5). The re-review must confirm every previously-CRITICAL and previously-ERROR finding is now resolved. If any CRITICAL or ERROR persists, that is a failed fix cycle — loop again. → Keep looping (fix → review) until the verdict is PASS or CONDITIONAL PASS. Do not stop while CRITICAL or ERROR remain. → Hard ceiling: 5 cycles. If still failing after 5 cycles, something is fundamentally broken — present the full review report to the user and ask for guidance. Do not continue.

After completion, print: FIX ✓ {N} cycle(s) ({M} finding(s) resolved)


STAGE 7: PRESENT

Print final summary with the accumulated progress report.

REPORT / DIAGRAM MODE:

ARCHFLOW: {project-name}
━━━━━━━━━━━━━━━━━━━━━━━━

  ANALYZE   ✓  {N} files scanned, {M} components found
  PLAN      ✓  {M} groups, {P} phases, {layout} layout
  BUILD     ✓  {output-mode} generated ({lines} lines)
  DELIVER   ✓  {output-path}
  REVIEW    ✓  PASS (0C 0E 1W)
  {FIX      ✓  1 cycle (1 warning resolved)}

━━━━━━━━━━━━━━━━━━━━━━━━
OUTPUT: {path}
QUALITY: {percentage}% ({warnings}W)

SLIDE MODE (includes per-chunk detail):

ARCHFLOW: {project-name}
━━━━━━━━━━━━━━━━━━━━━━━━

  ANALYZE   ✓  {N} files scanned, {M} components found
  PLAN      ✓  {M} groups, {P} phases, {N} slides in {M} chunks

  BUILD + REVIEW
    Chunk 1/{M} (slides 1-{n}):       BUILD ✓  REVIEW ✓  (0C 0E 1W)
    Chunk 2/{M} (slides {n+1}-{m}):   BUILD ✓  REVIEW ✗ → FIX ✓  (0C 0E 0W)
    ...

  ASSEMBLE  ✓  {M} chunks → {N} slides
  DELIVER   ✓  {output-path}
  FINAL REVIEW  ✓  PASS (0C 0E 1W)
  {FIX      ✓  1 cycle (1 warning resolved)}

━━━━━━━━━━━━━━━━━━━━━━━━
OUTPUT: {path}
QUALITY: {percentage}% ({warnings}W)
FIX CYCLES: {count} (chunks {list})

=================================================================== DESIGN PRINCIPLES

Think MAGAZINE, not JIRA. Think PRODUCT PAGE, not ADMIN PANEL.

→ Each report should feel INTENTIONALLY DESIGNED for this specific project. If you swapped the CSS between two reports and nobody would notice, you haven't designed anything. → TYPOGRAPHY IS THE DESIGN. Use at least 2 distinct font families. Mix serif display (Instrument Serif, Playfair Display) with sans-serif body. Add a third voice for quotes/callouts. Never use one font family for everything. → The design-system.md provides BUILDING BLOCKS, not templates. Compose unique CSS per project. Don't copy class definitions — design each component fresh, guided by the principles. → BACKGROUNDS CREATE ATMOSPHERE. Each section is a different room. Every section MUST have its own unique background treatment (radial gradient, linear sweep, texture). No uniform flat backgrounds across all sections. → Keep the palette TIGHT — 2 accent colors + neutrals. Don't use 6+. → Use GENEROUS whitespace — 40-80px section padding. Let it breathe. → Every section has a UNIQUE layout AND component shape. Don't repeat card grids. Mix: full-bleed, split panels, stat bars, entity lists, editorial quotes, terminal mockups, SVG charts. → The ANIMATED DIAGRAM is the hero section — maximum visual weight. → SINGLE-PAGE DIAGRAMS: prefer compact layouts where the full architecture is visible in 1-2 viewport scrolls. Use horizontal flow-rows for linear 4-7 layer systems; vertical stacks only when layers have nested sub-components. → ALL diagrams on the page highlight in SYNC during phase animation. → Apply the SQUINT TEST: sections must be distinct when blurred. → Apply the SWAP TEST: hierarchy must work without color alone. → If it looks like a Bootstrap dashboard, redesign it.

=================================================================== OUTPUT RULES

ALL MODES: → Single self-contained HTML file → Use real class/function/module names — never generic placeholders → Use real external service names (Azure Cosmos DB, not "Database") → Phase count: 4-8 phases (sweet spot for animation readability) → Max 8 components per row before layout gets crowded → After writing, call present_files → Print/PDF support is mandatory — every output must include the @media print block from references/print.md and the composite snapshot beforeprint hook. Cmd+P must produce a usable PDF. Choose the print strategy per references/print.md §1: light-on- paper by default, dark-fidelity (§4b) for screen-consumed or agent-rendered PDFs and whenever the user wants the PDF to match the on-screen dark theme.

REPORT MODE: → File: ./architecture-report.html → External deps: Google Fonts CDN + optional Mermaid CDN → Dark/light theme toggle with localStorage persistence → Responsive layout (works on mobile) → prefers-reduced-motion support → Print stylesheet: A4 portrait, light theme forced, hero on page 1, composite-snapshot diagram, page-break rules per print.md

DIAGRAM-ONLY MODE: → File: ./architecture-diagram.html → Fully self-contained — zero external dependencies → Print stylesheet: A4 landscape, single-page composite snapshot

SLIDE MODE: → File: ./architecture-slides.html → External deps: Google Fonts CDN → Print stylesheet: A4 landscape, one slide per page, no scroll-snap

WALKTHROUGH MODE: → File: ./architecture-walkthrough.html → External deps: Google Fonts CDN → One flow, narrated end to end: ingestion mechanism named, every stage transition shown, every transformation rule rendered as a stoplight chip with a code reference. Silver rules shown in full. → Sample record morphs stage-by-stage (field-level before→after). → Driven by BOTH autoplay and scroll (sticky-pinned hero); ↑/↓ keys; prefers-reduced-motion supported. → Print stylesheet: A4 portrait, hero un-pinned, all engineer cards forced open, record frozen at the output state. → Do NOT alter architecture/diagram mode — walkthrough is additive.

=================================================================== ANALYSIS DEPTH

For diagram-only: components, data flows (4-8 phases), external services, 3-4 insights.

For report/slides: ALSO extract component counts, file paths, layer classifications, detailed data flow descriptions, 4-6 insights, and list of key files analyzed. Create bespoke visualizations when the data supports it (benchmarks, metrics, comparison panels, distribution charts).

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 Archflow làm được gì?

Analyzes a codebase and generates animated HTML architecture reports — beautiful, bespoke visualizations with interactive animated diagrams showing how the system works. Use this skill whenever the user asks to "visualize the codebase", "explain the architecture", "generate a diagram", "show how the code flows", "create an architecture diagram", "animate the data flow", "explain this repo visually", "show me how this works", or "generate an architecture report".

Vì sao nên dùng Archflow 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. Archflow 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 Archflow trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/rafaelolsr/archflow/tree/main/plugins/archflow/skills/archflow. 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 Archflow?

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 Archflow 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 Archflow 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 Archflow có miễn phí không?

Kỹ năng này được rafaelolsr phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇