Logo Simulator Forms

Simulator Forms

Tổ chức
corezoid
simulator-forms

Chuyên gia thiết kế biểu mẫu của Simulator.Company. Dùng khi người dùng muốn tạo hoặc chỉnh sửa mẫu biểu mẫu (còn gọi là Account Templates / «Шаблон рахунків»), xác định cấu trúc trường tùy chỉnh, thiết lập định nghĩa tài khoản, khám phá biểu mẫu hệ thống, làm việc với Smart Forms (CDU / Scripts), quản lý trạng thái biểu mẫu hoặc tìm hiểu cách biểu mẫu xác định cấu trúc actor. Kích hoạt khi người dùng nói "create a form", "design a template", "add fields to form", "Account Template", "Шаблон рахунків", "define actor schema" hoặc "what system forms are available".

Add to TypingMind

Tổng quan

Nhà phát hànhcorezoid
Kho mãsimulator-ai-plugin
Tên kỹ năngsimulator-forms
Sao
61
Bản fork
13
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được corezoid công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Simulator Forms 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-forms
  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/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
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 Simulator Forms 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ự nạp Simulator Forms 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 bạn có thể dùng Simulator Forms với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

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

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.

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

Kỹ năng AI Simulator Forms làm được gì?

Chuyên gia thiết kế biểu mẫu của Simulator.Company. Dùng khi người dùng muốn tạo hoặc chỉnh sửa mẫu biểu mẫu (còn gọi là Account Templates / «Шаблон рахунків»), xác định cấu trúc trường tùy chỉnh, thiết lập định nghĩa tài khoản, khám phá biểu mẫu hệ thống, làm việc với Smart Forms (CDU / Scripts), quản lý trạng thái biểu mẫu hoặc tìm hiểu cách biểu mẫu xác định cấu trúc actor. Kích hoạt khi người dùng nói "create a form", "design a template", "add fields to form", "Account Template", "Шаблон рахунків", "define actor schema" hoặc "what system forms are available".

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-forms. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Simulator Forms?

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.

Có thể dùng Simulator Forms 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 Simulator Forms 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 Simulator Forms có miễn phí không?

Có. Kỹ năng này được corezoid phát hành trên GitHub theo giấy phép MIT. 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇