Logo Aibuilder Json Creator

Aibuilder Json Creator

Cộng đồng
sangfor-aibuilder
aibuilder-json-creator

Generate, repair, and validate import-ready FastGPT workflow JSON from natural-language requirements or existing JSON. Use for FastGPT agents/workflows, broken JSON imports, node/edge/reference validation, strict runtime node IO, Markdown chatConfig, and deterministic acceptance checks.

Tổng quan

Nhà phát hànhsangfor-aibuilder
Kho mãaibuilder-json
Tên kỹ năngaibuilder-json-creator
Sao
28
Bản fork
1
Tệp đi kèm
21
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 là Markdown thuần túy, không phải 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ộ.

  • 21 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 sangfor-aibuilder công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Aibuilder Json Creator 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/sangfor-aibuilder/aibuilder-json/tree/main/aibuilder-json-creator
  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/sangfor-aibuilder/aibuilder-json.git /tmp/aibuilder-json
mkdir -p .claude/skills
cp -r /tmp/aibuilder-json/aibuilder-json-creator .claude/skills/aibuilder-json-creator
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 Aibuilder Json Creator 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ự tải Aibuilder Json Creator 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 Aibuilder Json Creator không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

FastGPT JSON Config Skill

Treat this skill as a specification plus test suite: generate by copying templates, then prove the file passes deterministic checks.

Required Resources

Load these first for every generation or repair task:

  1. references/generation-hard-rules.md
  2. references/official-default-node-templates.json
  3. references/official-node-contract-summary.md
  4. references/runtime-node-templates.md
  5. references/node-field-contracts.md
  6. references/acceptance-spec.md
  7. scripts/validate_fastgpt_json.py

Load conditional references only when the requirement needs them:

  • references/required-input-rules.md
  • references/ifelse-rules.md
  • references/dataset-rules.md
  • references/classify-rules.md
  • references/node-selection-rules.md
  • references/workflow-generation-playbook.md
  • references/json-config-runtime-reference.md
  • references/json-import-feature-guide.md only for import UI/background behavior; do not copy node templates from it
  • references/json-config-specification.md only for historical/background context; do not copy node templates or IO keys from it
  • references/json-config-troubleshooting.md only when repairing a known broken file; do not copy node templates from it
  • references/protocol-v1.md

Execution Protocol

Follow this order exactly.

  1. Decompose the request into stages.
  2. Create a node inventory.
  3. Copy node shapes from official-default-node-templates.json; use runtime-node-templates.md only as an override and usage guide.
  4. Fill inputs[].value after node IDs are fixed.
  5. Generate edges last.
  6. Save JSON with UTF-8.
  7. Run python scripts/validate_fastgpt_json.py <generated-file>.
  8. Fix any ERROR: and rerun until VALIDATION_OK.
  9. Apply readable layout before validation:
    • connected columns must be spaced at least 1500 on x
    • branch or sibling nodes must be spaced at least 1000 on y
    • prefer 0, 1500, 3000, 4500... for x positions
    • do not stack connected nodes at the same position

Node Inventory

Before writing JSON, record:

  • nodeId
  • flowNodeType
  • purpose
  • position
  • required input keys
  • output keys
  • upstream data dependencies
  • visual predecessor and visual successor

Include exactly one workflowStart and one userGuide.

Copy Rules

  • Keep runtime configuration in node.inputs, never props.
  • Use references/official-default-node-templates.json as the source of truth for single-node default inputs, outputs, render types, value types, labels, hidden fields, and dynamic system fields.
  • runtime-node-templates.md is not a competing template source. It only explains how to copy official defaults and which scenario values may be filled.
  • Do not invent inputs, outputs, handles, or variable syntax.
  • Generate clean UTF-8 Chinese user-facing text.
  • Required files flow through workflowStart.userFiles and readFiles.system_text.
  • Normal input references use ["nodeId", "outputKey"].
  • answerNode.text.value must be a string. Variable references inside it must use {{$nodeId.outputKey$}}; never use array references such as ["nodeId", "outputKey"] for answerNode.text.
  • textEditor.system_textareaInput uses {{$nodeId.outputKey$}} when embedding upstream variables in text.
  • Every runtime reference must point to a node that is upstream of the consuming node in the visual edge graph. A direct edge is not required when the referenced node and the consuming node are already on the same upstream chain.
  • Do not leave business nodes isolated. Every non-workflowStart and non-userGuide node must be reachable from workflowStart through edges, and every final path must reach an answerNode.

Edge Rules

  • Edges are visual canvas connections, not data bindings.
  • Normal edges must use:
    • sourceHandle: "{sourceNodeId}-source-right"
    • targetHandle: "{targetNodeId}-target-left"
  • Never use business keys such as system_text, answerText, userFiles, userChatInput, fileUrlList, system_textareaInput, or text as edge handles.
  • Branch nodes use their documented branch handles.
  • Edges express the readable execution chain. Do not add a separate direct edge for every referenced input when the referenced node is already upstream of the consuming node through the chain.
  • If node B references output from node A and A is not already upstream of B, add or reorder visual edges so A becomes upstream of B.
  • Do not create unreferenced business nodes just to satisfy a design idea.

Hard Requirements

  • Official default workflowStart has input userChatInput and output userChatInput; add userFiles only when the workflow needs chat file upload.
  • Every chatNode includes model, isResponseAnswerText, systemPrompt, history, quoteQA, fileUrlList, and userChatInput.
  • chatNode.model.renderTypeList includes settingLLMModel.
  • If a chatNode eventually outputs through an answerNode, set isResponseAnswerText.value = false.
  • contentExtract outputs only success, fields, and system_error_text.
  • textEditor puts deterministic template text in system_textareaInput.value.
  • answerNode is final reply only and uses input key text.
  • answerNode.text.value must never be ["nodeId", "outputKey"]; use "{{$nodeId.outputKey$}}" instead.
  • ifElseNode.ifElseList.value[] uses condition plus list.
  • httpRequest468.system_httpReqUrl.value is never empty.
  • userGuide follows the official default system config inputs (welcomeText, variables, questionGuide, tts, whisper, scheduleTrigger) and has no business outputs.
  • Generated JSON must not contain mojibake markers.
  • Connected nodes must differ by at least 1500 on x.
  • Branch/sibling nodes must differ by at least 1000 on y.
  • Node layout must remain readable; avoid stacked or overlapping positions.
  • Runtime references and edges must agree: every ["nodeId", "outputKey"] and every {{$nodeId.outputKey$}} used inside a node must reference a node that is reachable upstream through the visual edge graph. Do not require direct source-to-target edges for all references.
  • Every business node must be on the workflow path: reachable from workflowStart and able to reach an answerNode, unless it is userGuide.

Validation

  • Save the JSON to disk first unless the user explicitly requests chat-only output.
  • Run the bundled validator from the skill directory or by absolute path.
  • Any ERROR: is blocking.
  • If the validator cannot run, report 未验证:未能运行校验脚本.
  • Do not call JSON import-ready unless validation passes.

Final Response

Return a concise Chinese report:

  1. 需求确认
  2. 生成结果 or 修复结果
  3. 验证报告
  4. 文件路径

Do not paste large JSON unless the user asks.

Protocol Export

When the user asks to "export with skill protocol", output a fenced block using fastgpt-json-skill-protocol/v1 from references/protocol-v1.md.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

Kỹ năng AI Aibuilder Json Creator làm được gì?

Generate, repair, and validate import-ready FastGPT workflow JSON from natural-language requirements or existing JSON. Use for FastGPT agents/workflows, broken JSON imports, node/edge/reference validation, strict runtime node IO, Markdown chatConfig, and deterministic acceptance checks.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/sangfor-aibuilder/aibuilder-json/tree/main/aibuilder-json-creator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành 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 Aibuilder Json Creator?

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.

Bạn có thể dùng Aibuilder Json Creator 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 Aibuilder Json Creator 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 Aibuilder Json Creator có miễn phí không?

Kỹ năng này được sangfor-aibuilder 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇