Aibuilder Json Creatorのロゴ

Aibuilder Json Creator

コミュニティ
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.

概要

公開者sangfor-aibuilder
リポジトリaibuilder-json
スキル名aibuilder-json-creator
スター
28
フォーク
1
同梱ファイル
21
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 21個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    sangfor-aibuilderがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAibuilder Json CreatorをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/sangfor-aibuilder/aibuilder-json/tree/main/aibuilder-json-creator
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAibuilder Json Creatorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAibuilder Json Creatorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Aibuilder Json Creatorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでAibuilder Json Creatorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Aibuilder Json Creatorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAibuilder Json Creatorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/sangfor-aibuilder/aibuilder-json/tree/main/aibuilder-json-creatorを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Aibuilder Json Creatorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Aibuilder Json Creatorは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAibuilder Json Creatorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Aibuilder Json Creator」は無料ですか?

sangfor-aibuilderがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇