Simulator Actors 标志

Simulator Actors

组织
corezoid
simulator-actors

Simulator.Company 智能体(记录)专家。当用户想创建、更新、读取、搜索或筛选表单模板的*实例*(又称 Account Template 记录),即承载数据的智能体,并且需要正确使用 `data` 值协议时使用。用户说“创建一个智能体”“添加一条记录”“根据此模板创建记录”“填写表单”“更新智能体数据”“查找字段 = … 的智能体”“按余额筛选智能体”“создай актор”“заполни шаблон”或“добавь запись”时启用。**此外**,当用户询问某个智能体拥有哪些或可以调用哪些**流程/函数/Corezoid 流程**,或询问智能体的**共享 API 密钥/可用函数**时,也使用此技能——调用 `getCorezoidProcesses`。例如:“此智能体可以调用哪些流程/函数”“智能体关联的流程”“智能体的 API 密钥”“智能体可用的函数”“які процеси/функції доступні актору”“процеси актора”“функції актора”“ключі доступу актора”“какие процессы/функции у актора”“процессы актора”“доступные функции актора”。若要处理图表/流程图的结构(链接、层、FlowchartBlock 图表),请使用 `simulator-graph`;若要设计模板本身,请使用 `simulator-forms`。

Add to TypingMind

概览

发布者corezoid
代码仓库simulator-ai-plugin
技能名称simulator-actors
星标数
61
复刻数
13
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

在 TypingMind 中安装 Simulator Actors 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-actors
  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-actors .claude/skills/simulator-actors
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Simulator Actors,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Simulator Actors AI 技能有什么作用?

Simulator.Company 智能体(记录)专家。当用户想创建、更新、读取、搜索或筛选表单模板的*实例*(又称 Account Template 记录),即承载数据的智能体,并且需要正确使用 `data` 值协议时使用。用户说“创建一个智能体”“添加一条记录”“根据此模板创建记录”“填写表单”“更新智能体数据”“查找字段 = … 的智能体”“按余额筛选智能体”“создай актор”“заполни шаблон”或“добавь запись”时启用。**此外**,当用户询问某个智能体拥有哪些或可以调用哪些**流程/函数/Corezoid 流程**,或询问智能体的**共享 API 密钥/可用函数**时,也使用此技能——调用 `getCorezoidProcesses`。例如:“此智能体可以调用哪些流程/函数”“智能体关联的流程”“智能体的 API 密钥”“智能体可用的函数”“які процеси/функції доступні актору”“процеси актора”“функції актора”“ключі доступу актора”“какие процессы/функции у актора”“процессы актора”“доступные функции актора”。若要处理图表/流程图的结构(链接、层、FlowchartBlo...

为什么在 TypingMind 中使用 Simulator Actors?

因为您只需安装一次,就能搭配任何模型使用。Simulator Actors 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Simulator Actors?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-actors。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

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

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

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

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

Simulator Actors AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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