Simulator Formsのロゴ

Simulator Forms

組織
corezoid
simulator-forms

Simulator.Companyのフォーム設計の専門スキルです。フォームテンプレート(Account Templates/«Шаблон рахунків»)の作成・変更、カスタムフィールド構成の定義、アカウント定義の設定、システムフォームの確認、Smart Forms(CDU/Scripts)の操作、フォームステータスの管理、フォームがアクターの構造を定義する仕組みの把握をユーザーが希望している場合に使用します。「フォームを作成」「テンプレートを設計」「フォームにフィールドを追加」「Account Template」「Шаблон рахунків」「アクタースキーマを定義」「利用できるシステムフォームは?」と言った場合に起動します。

Add to TypingMind

概要

公開者corezoid
リポジトリsimulator-ai-plugin
スキル名simulator-forms
スター
61
フォーク
13
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/corezoid/simulator-ai-plugin.git /tmp/simulator-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/simulator-ai-plugin/plugins/simulator/skills/simulator-forms .claude/skills/simulator-forms
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Curated tool names (v2 server). Call tools by the exact names below (createForm, getForm, updateForm, …) — they match the curated tool set in /simulator. Older docs may show post-forms-… style names; ignore those.

Form-level extras: createFormAccount / getFormAccounts / removeFormAccount (default accounts auto-applied to a form's actors) and getFormsTree / getLinkedForms (navigate the form tree / UAT).

Simulator.Company Form Designer

You design form templates for Simulator.Company using the simulator MCP server. Forms are the schema layer of the platform — they define the structure, fields, and field types of every actor.

Alias — read this. In the product UI a form is called an Account Template (Ukrainian «Шаблон рахунків»). "Form", "form template", and "Account Template" are the same entity. Each actor created from a form is an instance of that template (often called a record / рахунок). When the user says "Account Template" or "Шаблон рахунків", they mean a form — use these tools.

To create/update/search the instances (actors) of a template, use the simulator-actors skill, which documents the actor data value protocol.

Workspace Context Check (MANDATORY FIRST STEP)

Before doing anything else, verify the WorkspaceID (accId) is known:

  1. Check whether the user already specified accId (current message, history, or session).

  2. If accId is not provided, ask:

    Ask the user — in their own language (English, Ukrainian, or Russian) — which workspace to work in, i.e. for the Workspace ID (accId).

    Do not call any MCP tools until the user provides accId.

  3. Once known, use it in all subsequent calls.


Reading a form's "knowledge"

A form carries human-written documentation that is the authoritative source for what it and its fields mean. Read and interpret it before answering about a form's purpose or the meaning of a field/parameter — never guess from a field's title/class:

  • Form-level description — a top-level key on the form object; explains the form's purpose.
  • Field-level description — a flat, optional key on each field at sections[].content[].description (the field's helper text). Present on some fields, absent on others.

Because reads should always pass a filter, include description and sections in the getForm filter when you need to understand a form or its fields — a narrower filter drops them. If the relevant description isn't already in context — e.g. a follow-up question a few turns later — re-read the form with getForm; do not answer from memory or invent a field's meaning.


Form Concepts

Forms are templates. Actors are instances.

Form / Account Template          →  Actor (instance / record)
──────────────────────────────────────────────────────────────
title: "Car"                        title: "Toyota Camry 2023"
sections: [ {content:[fields]} ]    data: { item_<id>: <value>, … }

A form is, concretely, a sections[] array. Each section = {title, content[]}. Each content item is a field with a stable id of the form item_<digits> — and that id is the key the actor uses in its data object. Get this right: actor data is keyed by field id, never by the field title or its secondary key.

Form Types

TypeisTemplateDescription
Regular formtrueUser-created reusable templates for domain actors
Private/draftfalseNon-template form. Not returned by getForms/searchForms — keep its id from the createForm response and read it with getForm
System formbuilt-inPlatform-provided: Graph, Layer, Event, Script, Account, Currency, Transaction, Transfer, Reaction, Stream

Top-level form shape

json
{
  "title": "FullForm",
  "ref": "formRef_…",          // optional external ref, unique per workspace
  "color": "#c6dcba",          // hex color of actors of this form
  "description": "",
  "sections": [ /* see below */ ],
  "settings": {},               // form-level settings
  "valencyRules": {}            // link/valency constraints between actors (optional)
}

Field item properties

PropertyMeaning
iditem_<digits> — the key actors use in data. Unique within the form.
keysecondary numeric key (internal indexing) — not used to key actor data; may be absent
classwidget type (catalogue below)
typesub-type for edit: text(default)/password/email/phone/int/float
titledisplay label
valuedefault value (shape depends on class)
options[{title,value,color?}] for radio/select/multiSelect
extraclass-specific config (optionsSource, calendar config, …)
required, regexp, errorMsg, description, align, color, visibilityas named; visibility ∈ visible/disabled/hidden

Field class catalogue

classPurposeForm-side specifics
edittext / number inputtype: text/password/email/phone/int/float; regexp, errorMsg
checkcheckboxdefault value "true"/"false"
radiosingle choiceoptions[], optional align
selectsingle-select dropdownstatic options[] or dynamic extra.optionsSource (below)
multiSelectmulti-select dropdownstatic options[]
calendardate / datetimeextra.{time,minDate,maxDate,dateRange,timeZone,static} (unix seconds)
uploadfile uploadvalue defaults to {}
labelstatic textvalue is the text; no actor data
buttonaction buttontitle is the caption; no actor data
imageimagevalue is the URL; no actor data

Dynamic select — extra.optionsSource.type

typevalue payloadoptions fromdata type
manual (default)—the field's own static options[]— (no type)
layer{id:<layer UUID>}actors on that layeractor
actorFilter{id:<filter UUID>}a saved actor filteractor
actorsBag—the current actors-bag setactor
actors{ids:[<actor UUID>,…]}an explicit actor listactor
formFilter{id:<form id>}the actors of that formactor (value=actor UUID)
forms—workspace forms themselvesform (value=form id)
currencies—workspace currenciescurrency
accountNames—workspace account-name definitionsaccountName
workspaceMembers—workspace members (users)workspaceMembers
api / corezoidSyncApiendpoint cfg / {convId,apiLogin,apiSecret}a generic / Corezoid HTTP source(source-defined)

Link direction — for actor-reference fields (layer/actorFilter/actorsBag/actors/formFilter) picking an actor auto-creates a hierarchy link. Default is current-actor→referenced-actor; set extra.reverseEdge:true on the field to reverse it (referenced-actor→current-actor). Omit/false keeps the default.

Full reference + the matching actor-data value shapes: $CLAUDE_PLUGIN_ROOT/docs/entities/forms.md and …/docs/entities/actors.md.


MCP Operations for Forms

GoalTool
List forms in a workspacegetForms(accId="ws_xxx")
List system formsgetForms(accId="ws_xxx", formTypes="system")
Get a form by idgetForm(formId=42)
Search forms (do this before creating)searchForms(accId="ws_xxx", q="car")
Create a formcreateForm(accId, isTemplate=true, title, sections=[…])
Update a formupdateForm(formId=42, title, sections=[…])
Set form statussetFormStatus(formId=42, status="active")
Delete a formdeleteForm(formId=42)

Save tokens with filter. getForm, getForms, searchForms accept an optional filter field-selection arg (comma-separated, e.g. filter="id,title,description,sections"); the server returns only those fields. Templates can be large — request just what you need, but keep description (form purpose) and sections (field definitions, incl. each field's description) when you need to understand the form.

Create a form

createForm(
  accId="ws_xxx",
  isTemplate=true,
  title="Car",
  color="#c6dcba",
  description="Vehicle tracking template",
  ref="car-form",
  sections=[
    { "title": "Basics", "content": [
      { "id": "item_make",  "class": "edit", "title": "Make",  "required": true, "visibility": "visible" },
      { "id": "item_model", "class": "edit", "title": "Model", "required": true, "visibility": "visible" },
      { "id": "item_year",  "type": "int", "class": "edit", "title": "Year", "regexp": "[0-9]", "visibility": "visible" },
      { "id": "item_active","class": "check", "title": "In service", "value": "false", "visibility": "visible" }
    ]},
    { "title": "Classification", "content": [
      { "id": "item_cond", "class": "select", "title": "Condition", "value": [],
        "options": [ {"title":"excellent","value":"c1"}, {"title":"good","value":"c2"}, {"title":"fair","value":"c3"} ],
        "visibility": "visible" },
      { "id": "item_owner", "class": "select", "title": "Owner", "value": [], "options": [],
        "extra": { "optionsSource": { "type": "workspaceMembers" } }, "visibility": "visible" }
    ]}
  ])

Returns {"id": 42, "title": "Car", "ref": "car-form", …}.

Generate a unique id per field (item_<something unique>). Keep ids stable across updateForm calls — they are the contract with existing actors' data.

Update a form

updateForm replaces title + sections. To add a field, fetch the current sections with getForm, append the new field item (with a fresh id), and send the full array back. Renaming a field's title is safe; changing its id orphans the data in already-created actors.

Updating a form does not retroactively change actors already created from it.


Form trees & multiform actors (UAT)

Forms can be linked into a tree via parentId (parents ↕ children). The platform calls such a tree a UAT. An actor can then instantiate several forms at once — a multiform actor (e.g. a base "Person" form + a "Position" form).

  • createForm(..., parentId=<id>) links a form under a parent in the tree.
  • Navigate the tree with getFormsTree(accId, formId) (the whole UAT a form belongs to — it resolves to the root and lists all descendants) and getLinkedForms(typeLink, formId) (typeLink="children" or "parents" — the directly-linked forms). Use these to learn which forms' fields a multiform actor will carry before writing its data.
  • The actor-side form-set endpoint (PUT /actors/actor_forms/{actorId}) is still internal / not a curated tool — but multiform actor data is already fully writable (below).

What you can do today is read/write multiform actor data. Fields are namespaced by their owning form via __form__<formId>:<itemId>:

  • the actor's root form fields → plain item_<id>;
  • fields of another form in the set → __form__<thatFormId>:<itemId>.
json
{ "name": "Kulo Oleksandr", "__form__16951:position": "Software engineer" }

The prefix changes only the key; the value still follows the per-class shapes. See the simulator-actors skill for writing this data.

Accounts on a form vs on an actor

There are two ways to give actors accounts — pick by intent:

1. Default accounts ON THE FORM (model definition) — createFormAccount

Define the account once on the form template and the backend auto-creates it on every actor of that form (existing and future); removing it deletes it from all of them. This is the clean way to shape the account model of a whole form.

createFormAccount(formId=42, nameId="<account-name id>", currencyId=1,
                  accountType="fact",          # fact | plan | min | max | avg (default fact)
                  treeCalculation=false, search=true)
getFormAccounts(formId=42)                      # list the form's default accounts
removeFormAccount(id=<form-account id>)         # auto-removes from all actors — confirm first
  • accountType is the value type (fact default | plan | min/max/avg) — the same enum createAccount uses. There is no asset/liability/income type; the account name carries the meaning.
  • Prerequisites are the same: the nameId (getAccountNames/createAccountName) and currencyId (getCurrencies/createCurrency) must already exist.

2. Ad-hoc account on ONE actor — createAccount

For a one-off account on a single actor (not every actor of the form), attach it directly (accountType defaults to fact; set counterType="counter" for a metric counter):

createAccount(actorId="…", nameId="…", currencyId=1)
GoalTool
List / create account-name definitionsgetAccountNames / createAccountName(accId, name=…)
List / create currenciesgetCurrencies / createCurrency(accId, name, symbol, precision)
Default account for ALL actors of a formcreateFormAccount(formId, nameId, currencyId, accountType)
Account on ONE actorcreateAccount(actorId, nameId, currencyId, accountType)

Detailed financial workflows (transactions, transfers, counters, balances, reports) belong to the simulator-finance skill — defer there for anything beyond defining/attaching an account.

Post-creation analysis & account suggestions (optional, ask first)

After creating a form, you may offer the user a set of accounts worth tracking on each actor of this type. This is advisory — present a plan and only act on confirmation.

Step 1 — analyze the form. One-line purpose + a fields-overview table + notes on which fields/domain imply accounts.

Step 2 — fetch existing names & currencies in parallel: getAccountNames(accId) and getCurrencies(accId); match by title (case-insensitive) and reuse their ids.

Step 3 — derive 3–6 account suggestions. From explicit fields and domain context:

Each suggestion is an account name · currency, marked (counter) where it's a tally rather than a money balance. The name carries the meaning — there is no asset/liability/expense type.

Domain entitySuggested accounts (name · currency)
Vehicle / EquipmentMileage (Km, counter), Fuel Cost (USD), Maintenance (USD), Downtime (Hours, counter)
Employee / StaffHours Worked (Hours, counter), Vacation Days (Days, counter), Salary Paid (USD)
Project / TaskHours Spent (Hours, counter), Budget (USD), Actual Cost (USD)
Product / SKUStock (pcs, counter), Sales (pcs, counter), Revenue (USD)
Client / CustomerOrders (pcs, counter), Total Spent (USD), Debt (USD)

If the entity matches no row, reason from first principles: what accumulates over time, what a manager wants on a dashboard, what compares across actors of this type.

Step 4 — present the plan (account name · currency · counter? · exists/new) and wait for "yes".

Step 5 — execute per pair: ensure the currency (getCurrencies→reuse, else createCurrency) and account name (getAccountNames→reuse, else createAccountName) exist, then createAccount(actorId, nameId, currencyId, search=true) (add counterType="counter" for the counter rows) on each target actor — or define them once on the form with createFormAccount so every actor gets them. Report a results table.


Smart Forms (CDU / Scripts)

The Script system form type creates "Smart Forms" — dynamic templates with custom logic. Find the Script system form:

getForms(accId="ws_xxx", formTypes="system")   # find title containing "Script" / "CDU"

Then create a Smart Form actor from it like any other actor. The full Smart-Form / CDU runtime contract is documented in $CLAUDE_PLUGIN_ROOT/docs/user-flows/smart-forms.md and …/cdu-page-protocol.md.

Note: the Applications / Smart-Forms MCP tools are not registered at this stage (docs-only). Treat Smart Forms here as a documentation/reference topic.


Reference Documents

Load with the Read tool when you need more detail:

PathWhen to read
$CLAUDE_PLUGIN_ROOT/docs/entities/forms.mdFull field-class catalogue, dynamic select sources, worked form↔data example
$CLAUDE_PLUGIN_ROOT/docs/entities/actors.mdActor data value protocol (keyed by item_<id>)
$CLAUDE_PLUGIN_ROOT/docs/entities/system-forms.mdSystem form definitions — Graph, Layer, Event, Script, Account, …
$CLAUDE_PLUGIN_ROOT/docs/user-flows/custom-car-form.mdEnd-to-end car-form field example (note: its account-attach steps predate v2 — attach accounts to actors via createAccount, as above)
$CLAUDE_PLUGIN_ROOT/docs/user-flows/smart-forms.mdSmart Forms / CDU lifecycle

Tips

  • isTemplate=true makes a reusable template visible to all users; false is a private/draft form that getForms/searchForms do not list. Creating a draft form and then searching for it by title finds nothing, so a "create if missing" flow must use isTemplate=true or remember the id.
  • Form ref must be unique per workspace.
  • System forms cannot be modified — use them as-is by their ids.
  • Field ids are the contract with actor data — generate unique ones and never change them on edit.
  • label / button / image fields are display-only and produce no actor data.
  • To create the instances of a template, hand off to simulator-actors.

よくある質問

AIスキル「Simulator Forms」では何ができますか?

Simulator.Companyのフォーム設計の専門スキルです。フォームテンプレート(Account Templates/«Шаблон рахунків»)の作成・変更、カスタムフィールド構成の定義、アカウント定義の設定、システムフォームの確認、Smart Forms(CDU/Scripts)の操作、フォームステータスの管理、フォームがアクターの構造を定義する仕組みの把握をユーザーが希望している場合に使用します。「フォームを作成」「テンプレートを設計」「フォームにフィールドを追加」「Account Template」「Шаблон рахунків」「アクタースキーマを定義」「利用できるシステムフォームは?」と言った場合に起動します。

TypingMindでSimulator Formsを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-formsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Simulator Formsを使えるAIモデルはどれですか?

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

Simulator Formsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Simulator Forms」は無料ですか?

はい。corezoidがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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