Logo Corezoid Connector Create

Corezoid Connector Create

Tổ chức
corezoid
corezoid-connector-create

API connector builder. Use when the user wants a Corezoid process that calls ONE endpoint of ANY HTTP API — external (Stripe, OpenWeather, Google, banks, CRMs), internal (Simulator.Company, own services) or Corezoid itself — built from a text description, a documentation link, an OpenAPI/Swagger file, or a list of endpoints produced while reasoning about a task. Produces an atomic connector: input contract, validation when needed, a single API Call, Reply to Process on every outcome, unified response format, test, and Smart API registration. Activate on: "create a connector", "API connector", "integrate with <API>", "connect to <API>", "wrap this endpoint", "connector from this openapi.yaml", "сделай коннектор", "коннектор к API", "интеграция с", "подключи API", "обёртка над API", "зроби конектор", "конектор до API", "інтеграція з", "підключи API". NOT for processes with business logic or several calls — use /corezoid-create.

Tổng quan

Nhà phát hànhcorezoid
Kho mãcorezoid-ai-plugin
Tên kỹ năngcorezoid-connector-create
Sao
74
Bản fork
26
Tệp đi kèm
5
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ộ.

  • 5 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 corezoid 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 Corezoid Connector Create 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/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-connector-create
  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/corezoid/corezoid-ai-plugin.git /tmp/corezoid-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/corezoid-ai-plugin/plugins/corezoid/skills/corezoid-connector-create .claude/skills/corezoid-connector-create
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 Corezoid Connector Create 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 Corezoid Connector Create 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 Corezoid Connector Create 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.

Create an API Connector Process

You build connector processes: a Corezoid process that atomically calls one endpoint (method + path) of a Target API and always answers its caller.

A connector is called by other processes through api_rpc, so it MUST reply on every path. After a successful test it is registered as a Smart API Connector in Simulator.Company.

Routing — check first

The request is…Use
the user explicitly called /corezoid-api-connectorthat skill — do not intercept
a process with business logic, several calls, orchestration/corezoid-create — stop here
one endpoint of any HTTP API, Corezoid API included (or several endpoints → several connectors)this skill
an endpoint that needs files, git or a protocol the API Call node does not supportthis skill, the call node is git_call (read /corezoid-gitcall first)

Hard rules (every connector, no exceptions)

  1. One process = one endpoint. Several operations → several processes, one by one.
  2. Input contract in params. Every business parameter is declared with type, required flag and regex where the format is known. Output fields are declared too (flag output).
  3. No secrets, hosts or keys in task data or hardcoded. Host, API keys, tokens — stage variables only: {{env_var[@<name>]}} (create with cz-variables).
  4. Validation when the contract needs it (required fields, formats, ranges) — before the API Call, with its own Reply. A Code node is allowed for validation.
  5. Exactly one call node: api, or git_call only by the exception in Routing.
  6. debug_info: true on the API Call node — the connector reads __conveyor_api_debug__ (HTTP code, timings) to build its response.
  7. Reply to Process before EVERY final — success, validation error, API error, connection error, timeout. A path that reaches a final without api_rpc_reply hangs the caller.
  8. Unified response format — see references/reply-format.md. Result fields are named after the endpoint (customer, forecast, items + total), never a generic data / response.
  9. No Sum nodes, no metric sub-processes. Metrics are collected outside the connector (HTTP-worker logs → Elasticsearch).
  10. A connector is ready only after a successful positive test (Step 9).

Workflow

1 Intake → 2 Contract → 3 Duplicate check → 4 Create process, params, variables
→ 5 Build nodes → 6 Layout → 7 Lint → 8 Push → 9 Test → 10 Register → 11 Report

Do the steps in order. Do not skip Contract confirmation, Test or Register.


Step 1: Intake

Accept any of:

  • a text description of the API / endpoint;
  • a documentation link or an OpenAPI / Swagger URL — fetch and read it;
  • an OpenAPI / Swagger / Postman file — read it;
  • a list of connectors produced earlier in the conversation ("which connectors does this task need").

Output of the step — a numbered list of endpoints: METHOD path — purpose. Show it to the user. If there are several, confirm which to build and build them one at a time (Steps 2–11 per endpoint).

Also ask (if not obvious): target folder for the process, Corezoid stage (default: develop).

Step 2: Contract

Fill the contract table from references/contract-template.md for the chosen endpoint: endpoint, provider + base host, input, output, expected errors, auth, test data.

Rules:

  • Take everything you can from the documentation; ask the user only for what is missing.
  • Auth goes to variables, never to input params (e.g. stripe-api-key variable, header Authorization: Bearer {{env_var[@stripe-api-key]}}).
  • Decide "validation needed?": yes if there are required fields, formats (email, UUID, dates, enums) or ranges that the Target API would reject.
  • Show the contract to the user and get explicit confirmation before building.

Keep the confirmed contract — Steps 9 and 10 use it.

Step 3: Duplicate check

Search the exported .conv.json files of the project (run pull-folder if needed) for an api node with the same method and the same host + path (after resolving variables). If found — tell the user and offer: reuse it, update it (→ /corezoid-edit), or build a new one anyway.

Step 4: Create the process, params and variables

  1. Variables. For host, keys and tokens: list existing ones (cz-variables list-variables), create missing ones (create-variable; secrets as secret variables). Naming: <provider>-api-host, <provider>-api-key.
  2. Process. Call create-process with process_name = <Provider>: <METHOD> <path> (e.g. Stripe: GET /v1/customers/{id}) and the target folder_path. Check scheme.nodes of the created file — do not add a second Start.
  3. Description. 1–2 sentences, starting with a verb: what the endpoint does and what it returns (see Description Update Rule in corezoid/SKILL.md).
  4. Params. Declare input and output params in the full shape:
json
{"name": "customer_id", "type": "string", "descr": "Stripe customer id",
 "flags": ["required", "input"], "regex": "^cus_[A-Za-z0-9]+$",
 "regex_error_text": "customer_id must look like cus_..."}

Output params: same shape with "flags": ["output"], one per result field of the reply.

Step 5: Build the nodes

Use the skeleton in references/process-skeleton.md. Main path:

Start
→ [Validate input]            (Code node, only if validation is needed)
→ [Check validation]          (Condition: invalid → Reply validation error)
→ [Prepare request]           (Code / Set Parameters, only if the body/query needs building)
→ API Call                    (single api node, debug_info: true, time semaphore)
→ Reply ok                    (result = ok + named result fields + http_code)
→ Final

Error paths (each with its own Reply and a named Error final):

FailureHow it is caughtReply
input invalidCondition after validationerror_type: validation + invalid_params
Target API answered non-2xxerr_node_id → Condition on __conveyor_api_return_type_tag__ = api_bad_answer (also api_bad_answer_format)error_type: api
connection / DNS / TLSsame Condition, tag api_connection_errorerror_type: connection
Target API call itself timed out (hardware)same Condition, tag api_timeout — routes to the same Reply as the semaphore belowerror_type: timeout
no answer within the process-level waittime semaphore of the API Call (default 30 s)error_type: timeout
anything else from the API Callsame Condition, default brancherror_type: api

Node rules — follow the Core rules of /corezoid-create (Step 4 there), especially: 24-hex temporary node IDs; connect only via go; every err_node_id / semaphore target is obj_type: 3; never mix an action logic with go_if_const in one node; error clusters collapsed and named after the failure (Customer Not Found Error, not Error); a dedicated error cluster per failing node (validation Code node, prepare node, API Call).

API Call node — author the full canonical api logic (see docs/nodes/api-call-node.md, "Required node shape"); the reference shape is in references/process-skeleton.md. debug_info MUST be true.

Step 6: Layout

Leave coordinates at x: 0, y: 0 while building, then call layout-process.

Step 7: Lint

Call lint-process (with profile: "connector" once the plugin supports it). Fix every error and re-run until clean. In addition, check by hand until the profile exists:

  • exactly one api (or git_call) node;
  • debug_info: true on it;
  • every final is reachable only through an api_rpc_reply;
  • no hardcoded http:// / https:// host in the URL, no keys in params;
  • no api_sum nodes.

Step 8: Push

Call push-process. Then pull-process to get canonical node IDs (needed for nodeId in Step 10).

Step 9: Test

Follow references/test-rules.md. In short:

  1. Build test data from the contract (docs examples; ask the user for what is missing).
  2. Positive test via run-task with fields naming result, http_code and the output params — expect result = ok, the expected http_code, result fields matching the output params by name and type.
  3. Negative validation test (if validation exists) — invalid input → error_type = validation + invalid_params, no API call made.
  4. Unsafe methods (POST / PUT / PATCH / DELETE) — only after the user confirms, or against a sandbox host variable.
  5. On failure — show the node where the task stopped and the reply, propose a fix, re-test.
  6. Record the test result: conv_id, task ref, time, result.

No successful positive test → the connector is not ready. Do not register it.

Step 10: Register the Smart API Connector

Follow references/registration.md. In short:

  1. Find the receiver in the current workspace by names: project short_name "smart-api" → its stage "production" → alias "api-gw-create-smart-api" → the process it points to. A missing project/stage/alias is an expected outcome, not an error — the user may lack access, or the resource may have been renamed/removed; don't guess which. Stop here and finish: the connector is ready, Smart API was not registered (not found). Never block.
  2. run-task into the receiver process, exactly ONCE, with the task data in references/registration.md and mode: "full" — the task carries the whole connector contract, so by default its data would be left out of the summary. Task ref = conv_id of the connector.
  3. Report whatever comes back, verbatim, and stop there: a successful Reply → show the user the Smart API actor id; any error, rejection, timeout, or no answer → tell the user Smart API was not registered and why, quoting the receiver's own error. Never retry, guess a different payload and resend, or pull/inspect the receiver process or any of its sub-processes to "fix" a rejection — that is debugging someone else's production system, not this skill's job. One attempt, one honest report, done.

Step 11: Report

Tell the user, briefly: process name and link, contract summary (method, path, inputs, outputs), test result, Smart API id (or why it was not registered), variables created.

Then do the Final Step: Update Git Context exactly as in /corezoid-create.


References

PathWhen
references/contract-template.mdStep 2 — contract table and examples
references/process-skeleton.mdStep 5 — node skeleton, API Call shape, error routing
references/reply-format.mdSteps 5, 9 — response format, error mapping
references/test-rules.mdStep 9
references/registration.mdStep 10
${CLAUDE_PLUGIN_ROOT}/skills/corezoid-create/SKILL.mdCore rules for nodes and error clusters
${CLAUDE_PLUGIN_ROOT}/docs/nodes/api-call-node.mdAPI Call fields, error tags, semaphores
${CLAUDE_PLUGIN_ROOT}/docs/nodes/reply-to-process-node.mdReply formats, stringification
${CLAUDE_PLUGIN_ROOT}/docs/process/process-with-parameters.mdparams shape
${CLAUDE_PLUGIN_ROOT}/docs/variables-guide.mdVariables
${CLAUDE_PLUGIN_ROOT}/samples/api-post.jsonHTTP POST example (note: its debug_info: false and generic response reply do NOT meet the rules above)

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

API connector builder. Use when the user wants a Corezoid process that calls ONE endpoint of ANY HTTP API — external (Stripe, OpenWeather, Google, banks, CRMs), internal (Simulator.Company, own services) or Corezoid itself — built from a text description, a documentation link, an OpenAPI/Swagger file, or a list of endpoints produced while reasoning about a task. Produces an atomic connector: input contract, validation when needed, a single API Call, Reply to Process on every outcome, unified response format, test, and Smart API registration. Activate on: "create a connector", "API connector...

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-connector-create. 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 Corezoid Connector Create?

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

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