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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

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

安装到其他智能体

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

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Simulator Forms。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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.

常见问题

Simulator Forms AI 技能有什么作用?

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,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Simulator Forms?

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

Simulator Forms 可以搭配多少个 AI 模型使用?

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

Simulator Forms AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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