Logo Simulator Actors

Simulator Actors

Tổ chức
corezoid
simulator-actors

Chuyên gia về actor (bản ghi) của Simulator.Company. Dùng khi người dùng muốn tạo, cập nhật, đọc, tìm kiếm hoặc lọc các *bản thể* của mẫu biểu mẫu (còn gọi là bản ghi Account Template) — tức actor chứa dữ liệu — và cần đúng giao thức giá trị `data`. Kích hoạt khi người dùng nói "create an actor", "add a record", "create a record from this template", "fill in a form", "update actor data", "find actors where field = …", "filter actors by balance", "создай актор", "заполни шаблон" hoặc "добавь запись". CŨNG dùng kỹ năng này khi người dùng hỏi actor có những **quy trình / hàm / quy trình Corezoid** nào hoặc có thể gọi, hoặc hỏi về **khóa API dùng chung / các hàm hiện có** của actor — gọi `getCorezoidProcesses`: "what processes/functions can this actor call", "actor's connected processes", "actor's API keys", "available functions of the actor", "які процеси/функції доступні актору", "процеси актора", "функції актора", "ключі доступу актора", "какие процессы/функции у актора", "процессы актора", "доступные функции актора". Với CẤU TRÚC đồ thị/lưu đồ (liên kết, lớp, sơ đồ FlowchartBlock), dùng `simulator-graph`; để thiết kế chính mẫu biểu mẫu, dùng `simulator-forms`.

Add to TypingMind

Tổng quan

Nhà phát hànhcorezoid
Kho mãsimulator-ai-plugin
Tên kỹ năngsimulator-actors
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 Actors 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-actors
  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-actors .claude/skills/simulator-actors
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 Actors 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 Actors 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 Actors 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): createActor, getActor, getActorByRef, updateActor, setActorStatus, deleteActor, searchActors, filterActors, searchLayerActors, getSystemActor, getCorezoidProcesses. Call them by these exact names.

getCorezoidProcesses(actorId) is THE tool for any question about an actor's processes / functions / available API integrations — it returns the Corezoid processes shared to the actor via its access API keys (what that actor can call). If the user asks "what functions/processes does this actor have", "what can this actor call", or about the actor's shared API keys, call getCorezoidProcesses — do not guess or use a graph-traversal tool.

getSystemActor resolves the system "twin" actor of a workspace entity — pass objType="user", objId="<userId>" to get the actor representing a user (so you can attach accounts to it or move value between users). Find the userId first with searchUsers / getUsers. Money movement between users then goes through their twin actors' accounts via transfers — see simulator-finance.

Simulator.Company Actor (Record) Specialist

You create and manage actors — the instances of a form template (Account Template). An actor's field values live in its data object. Getting the data shape right is the whole job, so this skill exists to make that mechanical.

Relationship to the other skills

  • simulator-forms designs the template (sections/fields). Read it / a form first to learn the field ids.
  • simulator-actors (this skill) creates/edits the records of that template.
  • simulator-graph handles graph structure — links, layers, FlowchartBlock diagrams. If the user wants to wire actors together or place them on a layer, defer there.
  • simulator-finance handles accounts/transactions on actors.

Workspace Context Check (MANDATORY FIRST STEP)

Verify accId is known before any tool call. If 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).

createActor can also resolve a formName to its id, but only with a workspace set.


The golden rule: data is keyed by field id

An actor's data is keyed by each form field's id (item_<digits>) — not by the field title and not by its secondary key. So the first step of every actor create/update is:

  1. Resolve the form. getForm(formId) (or searchForms then getForm). Pass filter="id,title,sections" to keep it small.
  2. Map each field you want to set → its id and class.
  3. Build data using the per-class value shapes below.

Value shape by field class

Form field class / sourceValue in data
edit text / password / email / phonestring — "dsdf@fsdf.com"
edit int / floatnumber — 1
checkboolean — true
radiothe selected option's value (string) — "o2"
select (static options)array of chosen option object(s) — [{"color":"#863434","title":"one","value":"s1"}]
select → layer/actorFilter/actorsBag/actors/formFilter[{"type":"actor","title":…,"value":"<actor UUID>"}] (formFilter = the actors of a given form)
select → forms[{"type":"form","title":…,"value":<form id number>}]
select → currencies[{"type":"currency","title":…,"value":<currency id number>}]
select → accountNames[{"type":"accountName","title":…,"value":"<account-name UUID>"}]
select → workspaceMembers[{"type":"workspaceMembers","title":…,"value":<user id number>}]
select → api/corezoidSyncApiarray of synced options ([] until synced)
multiSelectarray — [{"title":"one","value":"…"},{"title":"two","value":"…"}]
calendar{"startDate":…,"endDate":…,"timeZoneOffset":-180,"sendInvite":false} (unix seconds)
uploadarray of file refs ([] when empty)
label / button / imageno entry — display-only

The type discriminator only appears on dynamic select values. Static select/multiSelect values carry just {title,value,color?}. For a dynamic select, the value must be a real referenced id (actor UUID / currency id / account-name UUID / user id) — resolve it first (e.g. getCurrencies, getAccountNames, searchActors) rather than guessing.

Geolocation (top-level, not data). An actor carries an optional position independent of its form fields: geoPosition — {"lat": <number>, "lon": <number>} in WGS84 decimal degrees, or null to clear — and geoName — a location name string, or null. Both are set on createActor/updateActor. Latitude is hard-bounded to -90..90 (out of range is rejected), longitude outside ±180 wraps cyclically, and coordinates round to 6 decimals; lat/lon are set as a pair.

Full reference: $CLAUDE_PLUGIN_ROOT/docs/entities/actors.md and …/forms.md.

Multiform actors (__form__<formId>:<itemId>)

An actor can instantiate several forms at once (a multiform actor; the linked form tree is called a UAT). Its data then carries fields from more than one form, namespaced by a key prefix:

  • Fields of the actor's root formId (the one you pass to createActor/updateActor) → the plain field id, e.g. "name".
  • Fields owned by another form → __form__<thatFormId>:<itemId>.
json
// data for an actor created under its root form, with one field from form 16951
{
  "name": "Kulo Oleksandr",
  "__form__16951:position": "Software engineer"
}

The prefix changes only the key — the value still follows the per-class shapes above. Notes:

  • To learn <thatFormId>'s field ids, getForm(<thatFormId>) just like the root form.
  • Discover the tree with getFormsTree(accId, formId) / getLinkedForms(typeLink, formId) (see simulator-forms) to find which forms a multiform actor spans before writing its data.
  • Attaching the set of forms to an actor (PUT /actors/actor_forms) is still not a curated tool — but you can already write/read multiform data via createActor/updateActor/getActor.
Creating under the tree when asked for a CHILD (leaf) form

In a UAT workspace, an actor can only be created under the root form of the tree — not under an arbitrary leaf. So when the user says "create an actor for form X" and getForm(X) returns a non-empty parentId (X is a nested/child form), do not call createActor(formId=X, …) — the backend rejects it with 400: Form <id> is not UAT.

Instead:

  1. Walk up parentId from X to the root form of the UAT tree (getForm repeatedly until parentId is empty).
  2. Call createActor with formId = the root.
  3. Put the root's own fields under their plain id ("name"), and the requested child form's fields under the __form__<childFormId>:<itemId> prefix.
json
// Request: "create an actor for form Employee (16951)", where Employee.parentId = People (16950)
// → create under the ROOT People (16950), not under Employee:
createActor(formId=16950, title="Olena Kovalenko", data={
  "name": "Olena Kovalenko",                            // People (root) field
  "__form__16951:position": "Senior Backend Engineer"   // Employee (child) field
})

Do NOT flip the child form to uat status via setFormStatus to "work around" the error — that mutates the shared template for everyone. Use the root form as the formId instead.


Create an actor

createActor(
  formId=42,                       # or formName="Car" (resolved via the workspace)
  title="Toyota Camry 2023",
  color="#409547",                 # optional
  ref="car-toyota-camry-2023",     # optional, unique per form
  contextLayerId="<layer UUID>",   # optional — place it on a layer
  data={
    "item_make":  "Toyota",
    "item_model": "Camry",
    "item_year":  2023,
    "item_active": true,
    "item_cond":  [ {"title":"excellent","value":"c1"} ],
    "item_owner": [ {"type":"workspaceMembers","title":"Alex Kulo","value":1} ]
  })
  • Provide formId (number) or formName (string, resolved to its id).
  • Omit fields you are not setting; never invent item_* keys not present in the form.
  • Display-only fields (label/button/image) get no data entry.

Read an actor

getActor(actorId="<UUID>", filter="id,title,data")           # by UUID
getActorByRef(formId=42, ref="car-…", filter="id,title,data") # by (form, ref)

Use filter to fetch only the fields you need — actor data can be large.

Update an actor

updateActor(
  formId=42, actorId="<UUID>",
  data={ "item_year": 2024, "item_active": false })   # only these keys change

updateActor is a partial update of data — keys you include are replaced, the rest are untouched. You can also set title/description/color/status/ref. To clear a multi-value field, send [].

Re-key by ref. updateActor(formId, actorId, ref="…") sets or changes the actor's external reference — a stable business key, unique per form — the same key createActor accepts, but now editable after creation. Then address the actor by its key instead of its UUID: getActorByRef(formId, ref). Omit ref to leave it unchanged.

Embed a smart form (script) in an actor. Set appId (on createActor / updateActor) to a Smart Form (CDU/Script app) actor id — the actor's card then renders/runs that smart form; appSettings {autorun, expired, users, groups, fullWidth} tunes it. See simulator-smart-forms.

Rich description (BBCode). An actor's description renders BBCode — chips like [actor=<otherActorId>]Label[/actor] (nested actor card) and [application=<smartFormId>]Label[/application] (smart-form chip), plus formatting ([b], [color=…], [h2], [ul][*]…[/ul], [url=…]) and [md]…[/md] for markdown. Fetch the environment's exact tag set with getBbcodeTags. BBCode is processed only OUTSIDE [md] blocks. The reverse matters too: a description is rendered as BBCode by default, not markdown, so any markdown you write (##, -, **bold**, tables) MUST be wrapped in [md]…[/md] or it shows as literal text — applies to every createActor/updateActor description, Events actors (chats/meetings/tasks) included (e.g. description="[md]## Agenda\n- item[/md]"). See docs/entities/reactions.md → "Embedding".

Holes — empty placeholder nodes

A hole is an empty placeholder slot on a graph, rendered as a hollow node: it marks a position in the structure that is not yet filled. A hole becomes a normal actor once it is filled with data — ideal for laying out a template / "company DNA" graph up front and turning each slot into a real actor as the data arrives.

createActor(formId=3279, title="Budget", hole=true)        # create a hole
updateActor(formId=3279, actorId="<UUID>", hole=true)      # turn an existing actor into a hole
updateActor(formId=3279, actorId="<UUID>", hole=false)     # fill it — hole → normal actor
  • hole is a top-level boolean on createActor / updateActor; omit it → default false.
  • It is independent of status and data (a hole can still carry a title). hole=false alone flips a hole back to a normal node.
  • Place a hole on a layer like any node (e.g. manageLayerActors — see simulator-graph).

Status & delete

setActorStatus(actorId="<UUID>", status="verified")
deleteActor(actorId="<UUID>")     # irreversible — confirm with the user first

Search & filter

searchActors — free-text across the workspace

searchActors(accId="ws_xxx", query="camry", limit=20, filter="id,title,formId")

Best for "find the actor named …". Run before createActor to avoid duplicates.

filterActors — list/rank a form's actors, optionally by an account balance

# All actors of a form, newest first
filterActors(formId=42, orderBy="updated_at", withStats=true)

# Data-field filter on the actor data
filterActors(formId=42, q="status=active", status="verified,pending")

# Rank by an account's CURRENT balance, scoped to one anchor actor's neighbours
filterActors(
  formId=42,
  linkedToActorId="<anchor UUID>",   # only actors linked to this one (both directions)
  accountNameId="<account-name UUID>",
  currencyId=9,
  amountFrom=1000,                    # balance >= 1000
  orderBy="balance", orderValue="DESC",
  withStats=true)

# Only the CHILD actors of a node (e.g. expand/collapse a node's children)
filterActors(formId=42, linkedToActorId="<anchor UUID>", linkedToActorDirection="children")
# ...or only its parents: linkedToActorDirection="parents"; omit / "both" = either direction (default)
  • q filters on actor data fields; search does full-text on the title; status filters by status.
  • Balance filtering is current balance only. For turnover over a period, read each actor's accounts with getAccounts(actorId, from, to) (a simulator-finance task).
  • Returned balances are real decimal values — do not divide by 10^precision.

searchLayerActors — search within one layer

searchLayerActors(actorId="<layer UUID>", query="camry")

End-to-end example

# 1. Resolve the template and its field ids
searchForms(accId="ws_xxx", q="Car")          → formId 42
getForm(formId=42, filter="id,title,sections") → field ids: item_make, item_year, …

# 2. Avoid a duplicate
searchActors(accId="ws_xxx", query="Camry 2023")

# 3. Create the record
createActor(formId=42, title="Toyota Camry 2023",
  data={ "item_make":"Toyota", "item_model":"Camry", "item_year":2023 })

# 4. (optional) attach an account — see simulator-finance
createAccount(actorId="<new UUID>", nameId="<aname>", currencyId=1, accountType="fact")

Reference Documents

PathWhen to read
$CLAUDE_PLUGIN_ROOT/docs/entities/actors.mdActor data protocol + per-class value shapes
$CLAUDE_PLUGIN_ROOT/docs/entities/forms.mdField-class catalogue / dynamic select sources
$CLAUDE_PLUGIN_ROOT/docs/entities/search.mdSearch & filter internals

Tips

  • Always getForm first — data keys are the form's field ids, not titles.
  • If a form has a parentId, it's a leaf of a UAT tree — create the actor under the root form and put the leaf's fields under __form__<childId>:<field>. Symptom of using the wrong root: 400: Form <id> is not UAT.
  • Dynamic-select values reference real ids; resolve them, don't guess.
  • createActor accepts formName (resolved in the active workspace) when you don't have the id.
  • updateActor is partial; deleteActor is irreversible — confirm first.
  • For wiring actors into a graph (links/layers/flowcharts) use simulator-graph.
  • getCorezoidProcesses(actorId) lists the Corezoid processes shared to an actor via its access API keys — i.e. the functions/processes that actor can call.

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

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

Chuyên gia về actor (bản ghi) của Simulator.Company. Dùng khi người dùng muốn tạo, cập nhật, đọc, tìm kiếm hoặc lọc các *bản thể* của mẫu biểu mẫu (còn gọi là bản ghi Account Template) — tức actor chứa dữ liệu — và cần đúng giao thức giá trị `data`. Kích hoạt khi người dùng nói "create an actor", "add a record", "create a record from this template", "fill in a form", "update actor data", "find actors where field = …", "filter actors by balance", "создай актор", "заполни шаблон" hoặc "добавь запись". CŨNG dùng kỹ năng này khi người dùng hỏi actor có những **quy trình / hàm / quy trình Corezo...

Vì sao nên dùng Simulator Actors 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 Actors 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 Actors 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-actors. 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 Actors?

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 Actors 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 Actors 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 Actors 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 👇