Logo de Code To Workflow

Code To Workflow

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

Visão geral

Publicado porMorrisLu-Taipei
RepositórioTigerAI-A2A-Code2n8n-Skill-Pack
Nome da habilidadecode-to-workflow
Estrelas
86
Forks
26
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por MorrisLu-Taipei no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Code To Workflow no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/MorrisLu-Taipei/TigerAI-A2A-Code2n8n-Skill-Pack/tree/main/skills/tigerai/code-to-workflow
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Code To Workflow em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Code To Workflow automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Code To Workflow não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Code To Workflow faz?

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.

Por que usar Code To Workflow no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Code To Workflow é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Code To Workflow no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/MorrisLu-Taipei/TigerAI-A2A-Code2n8n-Skill-Pack/tree/main/skills/tigerai/code-to-workflow. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Code To Workflow?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Code To Workflow?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Code To Workflow com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Code To Workflow é gratuita?

Sim. A habilidade é publicada no GitHub por MorrisLu-Taipei sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇