Logo Code To Workflow

Code To Workflow

Cộng đồng
MorrisLu-Taipei
code-to-workflow

Convert an existing program / system into an n8n workflow that preserves enterprise governance — login, audit, version control, handover, cross-system orchestration. Use when the user asks to "把這個程式 / 專案 / 系統移到 n8n", "Code2n8n this repo", "port this codebase to n8n", "convert this serverless function / web app / script into n8n", or anytime the input is a running codebase and the desired output is an n8n workflow plus the docs/validation that go with it.

Tổng quan

Nhà phát hànhMorrisLu-Taipei
Kho mãTigerAI-A2A-Code2n8n-Skill-Pack
Tên kỹ năngcode-to-workflow
Sao
86
Bản fork
26
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MorrisLu-Taipei 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 Code To Workflow 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/MorrisLu-Taipei/TigerAI-A2A-Code2n8n-Skill-Pack/tree/main/skills/tigerai/code-to-workflow
  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/MorrisLu-Taipei/TigerAI-A2A-Code2n8n-Skill-Pack.git /tmp/TigerAI-A2A-Code2n8n-Skill-Pack
mkdir -p .claude/skills
cp -r /tmp/TigerAI-A2A-Code2n8n-Skill-Pack/skills/tigerai/code-to-workflow .claude/skills/code-to-workflow
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 Code To Workflow 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 Code To Workflow 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 Code To Workflow 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.

Code2n8n — Code → n8n Workflow

The marquee Code2n8n skill. Input: an existing program or system (Python / TypeScript / Apps Script / Netlify Functions / Express / Flask / shell pipelines / Lambda). Output: an n8n workflow (or set of workflows) that performs the same behaviour, plus the SDD / FIELD-MAPPING / PROVENANCE / CREDITS / install docs that make it deployable, auditable, and handover-ready.

This skill encodes the methodology proven by the three case studies in this pack:

CaseUpstreamWhat was ported
examples/google-workspace-admin-workflow/1,373-line Google Apps Script7 n8n workflows (setup + 2 cores + 4 entries) + 11-subfolder Drive structure + 9-section Doc + dual Sheets with dropdowns + Calendar events + Gmail notify
examples/line-ai-customer-service/Netlify Functions + Supabase + Reactcore-message-router + entry-line + approach-C admin UI (4 admin workflows)
examples/line-ai-customer-service-onprem/Same system, but Docker on-prem37-node "dynamic-brain" workflow + Qdrant RAG + Ollama integration + 5-phase V&V

Read at least one before using this skill — they are the empirical ground truth behind every step below.

When to trigger

The user says...Means trigger this skill
"把這個 repo / 程式 / 系統移到 n8n"✅
"Code2n8n 一下" / "幫我做 Code2n8n"✅
"this codebase to n8n" / "port to n8n"✅
"把這個 serverless function 改寫成 workflow"✅
"我的 Python 腳本想丟給營運維護"✅ (means: turn it into n8n so non-engineers can manage it)
"把這個 Lambda / Apps Script / Express app 視覺化"✅
"原生化" / "改成 n8n 原生 node"❌ — that's the sibling skill n8n-code-to-native, node-level refactor inside an existing workflow
"幫我用便利貼描述需求然後產 workflow"❌ — that's sticky-note-to-workflow, starts from intent, not from code

Hard rules

  1. Never strip the upstream license / attribution. Code2n8n is a derivative-work pattern. Always copy LICENSE, write a CREDITS.md, and record the attribution chain (upstream → derivative changes → this pack). The MIT case study (line-ai-customer-service-onprem) is the template.
  2. Scrub secrets before commit. Real API keys, JWTs, OAuth tokens, hard-coded passwords in .env* / docker-compose.yml / config.*.json / source code must be replaced with env-var placeholders. Do a grep -rn "sk-[a-zA-Z0-9]\{20,\}\|ghp_\|AIza\|password.*=.*[a-zA-Z0-9]\{8,\}" pass before staging.
  3. Audit auth + injection before calling the port "enterprise-grade". Most AI-coded POCs ship with /me-always-returns-true style auth stubs, plaintext passwords, missing middleware, and identifier-injection patterns (raw req.body keys concatenated into SQL). The real-world example line-ai-customer-service-onprem has all of these — see its SECURITY-CAVEATS.md. If you find these and don't fix them, you MUST publish a SECURITY-CAVEATS.md (or equivalent), downgrade any "enterprise-ready" / "production" wording, and tell the reader exactly what to harden before deploying. Disclose, don't silently patch — silent patching misrepresents the case study and lets the next porter inherit the same blind spot.
  4. Don't claim n8n can replace a UI. If the input has a React SPA / admin dashboard / interactive console, n8n cannot host that natively. Use the frontend portability decision tree (Step 4 below) and document the choice honestly in the SDD.
  5. Preserve fidelity. If the upstream has "10 default tasks" / "14 dropdown choices" / "5 reminder offsets", the port keeps those exactly — and PROVENANCE.md maps each preserved item to the upstream line number, pinned to a specific commit SHA.
  6. Always validate before declaring done. Run the 3-layer funnel (Step 6 below) — especially the local n8n REST import. Lint passing alone is not enough.
  7. Tag local imports. Any workflow imported into the user's local n8n must carry [Claude YYYY-MM-DD] name prefix + claude-import-YYYY-MM-DD tag + active: false. See the memory note n8n-local-import-marking.
  8. Security review is a real gate, not a caption. Run n8n-security-governance during Step 1.5. Record evidence, severity, status, owner, target version, and a PASS / CONDITIONAL / BLOCKED decision.
  9. Every release must be traceable and reversible. The reviewed workflow JSON, SDD, security artifacts, tests, Git commit SHA, workflow internal version, n8n release tag, and rollback target must describe the same release.

The 7-step methodology

Step 1 — Source inventory

Read the upstream repo and list:

Inventory itemWhat to write down
Entry pointswebhook paths, cron schedules, CLI args, form submissions, queue consumers
Side effectsDB writes, file IO, emails, push notifications, external API POSTs
External callsevery fetch / request / SDK call (LINE / OpenAI / Gemini / Supabase / Slack / …)
Data storesDB schema tables + columns, Redis keys, S3 buckets, vector DBs
UI vs backendwhich files are HTML/JSX/SPA (UI), which are server-side (logic). UI does not port to n8n.
Sensitive configwhich env vars / secrets the app needs at runtime. Plan how to feed them to n8n.

Step 1.5 — Security audit (mandatory before any "enterprise" claim)

Run n8n-security-governance for the full security, version-control, CI/CD, and rollback gate. Most AI-coded POCs ship with severe auth / injection holes that you MUST detect before you tell the user the port is deployable. Minimum checklist:

CheckWhere to lookHow
Real auth on /me / session checkroutes/auth.ts (or equivalent)/me must verify a cookie / JWT, not return a constant authenticated: true
Middleware protecting /api/* data routesserver entry (index.ts, app.js)Look for app.use('/api', requireAuth, …) — if absent, every data endpoint is open
Password handlinglogin route + user table schemabcrypt/argon2 hash required; plaintext is automatic fail
Identifier injectionany Object.keys(req.body)+f => ${f}=$${i}`` patternField NAMES from request body concatenated into SQL → injection. Use a whitelist of allowed columns
Value injectionevery query(SELECT … WHERE x = '${...}')Even with parameterised values, look for string-interpolated identifiers (table / column names)
CSRF on state-changing routesPOST / PATCH / DELETE handlersNeed CSRF token or SameSite=Strict cookies
Rate limiting on login/api/auth/login routeShould have express-rate-limit or similar
Audit logging on settings / user-state writesLook for an audit table or INSERT INTO audit_logAbsence is fine for POC; required for "enterprise"
Secret exposureGET /api/settings, n8n credential listing endpointsCheck whether the response body includes API keys / tokens. Should never return raw secrets
File uploadmulter / formidable configsAuth required, MIME whitelist, size cap, scan, sanitise filename, isolated storage

If any check fails and you do not fix it, you MUST publish a SECURITY-CAVEATS.md-style file in the example folder with: the file/line of each issue, repro instructions, the correct fix pattern, and a "DO NOT DEPLOY AS-IS" banner in the README. The on-prem LINE CS case in this pack is the template — read it before doing your own audit so you know what the artifact looks like.

If you do fix something the upstream had wrong, the patches must show up in your CREDITS.md as your contribution, separate from the upstream's design.

For a small repo (<2000 lines) this fits in one Python snippet:

python
import json, glob, re
for f in sorted(glob.glob("src/**/*.*", recursive=True)):
    body = open(f, encoding="utf-8", errors="ignore").read()
    entries = re.findall(r"(app|router)\.(get|post|put|delete)\(['\"]([^'\"]+)", body)
    fetches = re.findall(r"fetch\(['\"]([^'\"]+)", body)
    if entries or fetches:
        print(f, "::", entries, "::", fetches[:3])

Output: a markdown table that becomes the basis of docs/field-mapping.md.

Step 2 — Partition decision (the rubric)

For each piece of logic, decide one of three fates:

PatternFateWhy
Algorithm-heavy, pure (a parser, math, SHA, JWT verify, AI inference)Stay as code-as-service — keep in Python / Node, expose as HTTP endpoint, n8n calls it via HTTP Request noden8n is bad at dense logic; trying to visualise it makes the workflow unreadable
Routing / orchestration / "what happens next based on X"Becomes a node + connectionsThis is exactly what n8n is for — visible, configurable, auditable
External API call (LINE reply, Supabase write, Gmail send)Becomes a native node (Google Sheets, Gmail, Supabase) or HTTP Request when no native existsCompose declaratively; non-JS engineers can read it
LLM call with structured prompt + retryBecomes a node, prompt content lives in a Set node so ops can edit it without touching codePrompts are the ops surface, not the engineering surface
Per-item branching on data shape (if Array.isArray(x.data) ...)Stay as code in a Code nodeIF node branches the whole stream, not per-item; sibling skill n8n-code-to-native explains when this is true
File building (PDF / CSV / structured Doc)Hybrid: Set node builds content, Convert to File node emits the fileBoth halves are visible

Write the decisions into the SDD before opening n8n. Don't decide on the canvas.

Step 3 — Architecture: core + entry pattern

For systems with one logical "do the work" path that may be triggered by multiple sources (LINE webhook today, WhatsApp tomorrow, Telegram next quarter, CLI for testing), split:

[Entry / LINE]      ←┐
[Entry / WhatsApp]  ←┼→  [Core / Message Router]  → [shared business logic]
[Entry / Web Form]  ←┘
  • Entries are thin adapters: they receive the platform-specific payload, verify signature, respond fast (2xx within the platform's timeout), normalize the message into {userId, text, eventId, replyToken, channel}, and call the core via Execute Workflow.
  • Core is the heavy logic, invoked by Execute Workflow Trigger. It does dedup, state, AI calls, side effects, reply dispatch. The core does not know which channel it came from.

This is proven in both LINE CS examples (cloud + on-prem). Adding a new channel is one new entry workflow, zero changes to the core. The Google Workspace example used the same core + entry split: 2 core sub-workflows × 4 entries (Form Trigger × 2 + Google Forms webhook × 2).

Step 4 — Frontend portability decision tree

n8n is not a web framework. If the upstream has a SPA / admin dashboard / interactive console, pick one of three paths and document it:

PathWhen to chooseTrade-off
A. Keep the original frontend as-is, talking to the same DBThe upstream UI is already good, the user values UX, and the same DB is reachable from both UI and n8nZero frontend work. UI stays separately hosted; "n8n-hosted" claim is partial. Used in the cloud LINE CS example
B. Keep the React UI but point it at n8n webhooks instead of SupabaseThe user wants n8n as single backend but still wants polished UIReal port work: rewrite the API layer of the React app to fetch n8n webhooks
C. n8n-hosted spartan UI: a Webhook node returns a single-file HTML+JS dashboard, sibling /admin/api/* webhooks act as the CRUD APIMarketing material that says "the whole system runs in n8n"; small teams; demo scenariosUI is necessarily spartan — vanilla JS, no React. Used in cloud LINE CS example's admin/ folder. The on-prem example kept the original React UI (path A) because it needed real auth + agent live-chat

Document the choice explicitly in FRONTEND-SDD.md or the main SDD.md, including which UI features didn't survive (e.g., conversation history needs a messages DB table the on-prem version has but the cloud one didn't).

Step 5 — Workflow design (native first)

Build the workflow with n8n native nodes by default, HTTP Request only when the native node doesn't expose what you need. The sibling skill n8n-code-to-native has the in-place rubric. Three places it's legitimate to fall back to HTTP Request:

  1. Operations the native node literally doesn't support (e.g., setDataValidation for Google Sheets dropdowns, paragraph styles for Google Docs headings, batchUpdate-only formats).
  2. APIs with no native n8n node at all (LINE Messaging API, Google Gemini at the moment).
  3. Multi-resource batch operations where the native node would require 5+ chained nodes when 1 HTTP call does the same.

Mark every HTTP fallback with a 🟡 sticky note explaining why — it's the difference between "I lazily reached for HTTP" and "this is the only correct path." The Google Workspace example has 3 sticky-noted HTTP fallbacks; everything else is native.

Step 6 — 3-layer validation funnel

Layer 1  ──  Static lint (JSON structure, JS in Code nodes parses, expression syntax, IF-operator
            sanitisation, Gmail required fields, connections, orphan check)
            └─ _audit.mjs                                                          ✅ Tier
Layer 2  ──  Local n8n REST import roundtrip — POST each workflow to /api/v1/workflows;
            n8n's own schema validator runs; DELETE on success
            └─ _n8n_import_test.mjs                                                ✅ Tier
Layer 3  ──  Live execution — real credentials, real LINE/Supabase/AI; run all the
            test cases listed in the SDD
            └─ Manual (you can prep the script; user runs it)                      🟡 Tier (needs creds)

Copy _audit.mjs and _n8n_import_test.mjs from any existing example. Update ALLOWED_NODE_TYPES if you introduce a new node type (e.g., n8n-nodes-base.supabase, n8n-nodes-base.crypto).

Do not declare done until Layer 1 + 2 both pass 0/0. Mention explicitly in the README that Layer 3 is pending user credentials.

Step 7 — Documentation outputs (the recipe)

Every Code2n8n port ships with these documents. They are not optional — they are the deliverable.

FilePurposeTemplate / example
README.md (+ README.en.md if zh-primary)Overall guide, 1-screen overview, quick startSee any of the 3 case studies
SDD.mdSystem Design Document: portability verdict, architecture, mapping table, frontend choice, known caveatsLINE CS examples have the cleanest version
FRONTEND-SDD.md (if frontend)Approach A/B/C decision + scopeLINE CS cloud's FRONTEND-SDD.md
CREDITS.mdUpstream attribution chainAll 3 examples; LINE CS on-prem has the most rigorous (MIT chain)
docs/field-mapping.mdFunction-level upstream ↔ n8n node mappingLINE CS cloud is concise; Google Workspace is exhaustive
docs/install.mdCredentials needed, env vars, step-by-stepLINE CS cloud
docs/{platform}-setup.mdPlatform-specific setup (LINE, Google OAuth, Supabase)LINE CS cloud's line-setup.md, supabase-setup.md
PROVENANCE.md (optional, for high-fidelity ports)Line-by-line "this data comes from upstream Code.gs:Lxxx"Google Workspace example
TODO.mdWhat was not finished, decision points, scope deferralsLINE CS cloud has the model TODO

Every preserved data item (subfolder names, sheet headers, default rows, dropdown choices) goes into PROVENANCE.md with the upstream line number, pinned to a specific commit SHA. This is the difference between "we ported it" and "we ported it and can prove it."

Real-world gotchas catalogue

Every Code2n8n port has encountered some subset of these. Check them off as you go.

Network / deployment

GotchaSourceFix
Port collision with another service already using your default port (e.g., 3000 collides with Open-WebUI)LINE CS on-prem LESSON_LEARNED.mdAlways check docker ps first; build a project-level port-mapping table
Shared infrastructure credentials mismatch (postgres/postgres default vs deployed adm/tigerai)LINE CS on-premdocker inspect <container> before assuming credentials
Global vs per-project RedisLINE CS on-premTreat Redis/Postgres/Qdrant as a global stack at the host level; n8n + your service connect to it

Node / build

GotchaSourceFix
Express v5 wildcard routes require :splat* or regex; bare * crashesLINE CS on-premUse /.*/ regex for SPA fallback in v5
ts-node + ESM modules + "type": "module" → ERR_UNKNOWN_FILE_EXTENSIONLINE CS on-premMigrate to tsx for both prod and dev
Code node JS in n8n is sandboxed: require('crypto') blocked unless NODE_FUNCTION_ALLOW_BUILTIN=crypto (or *)LINE CS cloud, signature verificationDocument this env var in the install guide

LINE / messaging

GotchaSourceFix
LINE signature requires raw body — n8n Webhook node defaults to JSON-parsedLINE CS cloudSet Webhook → Raw Body ON; Code node grabs raw bytes from $('Webhook').first().binary.data
Reply token ~1 minute TTLLINE CS cloudEntry workflow responds 200 immediately, then invokes core async; core's AI call must finish before token expires (or switch to push)
n8n-backup/creds_backup.json etc. in upstream repoLINE CS on-premNEVER copy to public repo; secret scan everything before commit
One webhook event = many LINE eventsLINE CS cloudEntry workflow fans out events; core dedupes via processed_events PK
n8n has no native LINE nodeboth LINE CS examplesAll LINE reply / push / getProfile via HTTP Request with Authorization: Bearer {access_token} from settings DB

Google Workspace

GotchaSourceFix
Native Google Docs node has no paragraph-style operationGW exampleHTTP fallback to documents.batchUpdate with updateParagraphStyle
Native Google Sheets node has no setDataValidation / repeatCell / updateSheetPropertiesGW exampleHTTP fallback to spreadsheets.batchUpdate
Frozen row + bold header + bg colour for sheets needs sheetId numerics — must GET /spreadsheets/{id}?fields=sheets(properties(sheetId,title)) firstGW setup workflowTwo HTTP calls (lookup sheetIds, then batchUpdate)

AI / RAG

GotchaSourceFix
OpenAI GPT-5 uses /v1/responses (different shape from chat completions)LINE CS cloud callGPTBuild endpoint URL + body in a Code node based on model.includes('gpt-5')
Native Gemini support absent in n8nLINE CS cloudHTTP Request to generativelanguage.googleapis.com/v1beta/models/{model}:generateContent?key=...
Vector RAG: switch by active_ai → different embedding model → different Qdrant collectionLINE CS on-prem workflow (37 nodes!)Switch node with three paths; each path has its own Embedding node + Qdrant lookup + LLM
Ollama in Docker: from a n8n container the host is http://ollama:11434 (Docker network name), not localhostLINE CS on-prem WALKTHROUGH_N8N.mdAlways parametrise; never hard-code

Companion skills

This skill is the orchestrator. Lean on these siblings when their specific domain comes up:

  • n8n-code-to-native — once the Code → Workflow translation produces Code nodes inside the n8n workflow, run this skill to declarativise them where it's safe and helpful
  • sticky-note-to-workflow — for the rare case where the input is intent (not code), use this instead
  • tigerai-enterprise-patterns — for the governance overlay (login, audit trail, version, handover, cross-system) once the workflow exists
  • n8n-api-bridge — for the REST-only path: import / validate / activate / list / delete workflows programmatically (used by the _n8n_import_test.mjs Layer 2 validation)

Closing line

AI Coding solves "how is the function built"; Code2n8n (this skill) solves "how is the capability modularised"; n8n solves "how the modules cooperate across the whole enterprise."

Read CODE2N8N.md for the full thesis.

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

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

Convert an existing program / system into an n8n workflow that preserves enterprise governance — login, audit, version control, handover, cross-system orchestration. Use when the user asks to "把這個程式 / 專案 / 系統移到 n8n", "Code2n8n this repo", "port this codebase to n8n", "convert this serverless function / web app / script into n8n", or anytime the input is a running codebase and the desired output is an n8n workflow plus the docs/validation that go with it.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MorrisLu-Taipei/TigerAI-A2A-Code2n8n-Skill-Pack/tree/main/skills/tigerai/code-to-workflow. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Code To Workflow?

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

Có. Kỹ năng này được MorrisLu-Taipei 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 👇