Corezoid Connector Create 标志

Corezoid Connector Create

组织
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.

概览

发布者corezoid
代码仓库corezoid-ai-plugin
技能名称corezoid-connector-create
星标数
74
复刻数
26
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 corezoid 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Corezoid Connector Create AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-connector-create
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Corezoid Connector Create,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Corezoid Connector Create。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Corezoid Connector Create 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Corezoid Connector Create AI 技能有什么作用?

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

为什么在 TypingMind 中使用 Corezoid Connector Create?

因为您只需安装一次,就能搭配任何模型使用。Corezoid Connector Create 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Corezoid Connector Create?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-connector-create。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Corezoid Connector Create?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Corezoid Connector Create 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Corezoid Connector Create 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Corezoid Connector Create AI 技能免费吗?

是的。corezoid 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇