/simulator:simulator-accessfrom simulator
Manages Simulator.Company access control: share/unshare objects, grant/revoke permissions, list access, and bulk-share across actors, forms, accounts, templates, and tree layers.
Ships in simulator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Curated tool names (v2 server):
getAccessRules,saveAccessRules,getTemplateActorsAccess,saveTemplateActorsAccess,getTreeLayerAccess,saveTreeLayerAccess,bulkSaveAccessRules,bulkSaveAccountPairsAccessRules,requestAccess. Call them by these exact names.
Access rules say who (a user, SA user, or group) can do what (view / modify / remove /
sign / ds / execute) to an object. Grants are applied asynchronously — save calls
return a taskId.
actor, form, account, formTemplate, templateActors, treeLayer.{action, data} where action ∈ create | update | delete.userId | saId | groupId, plus:
{view, modify, remove (required booleans), sign?, ds?, execute?}. view is
implied when any other privilege is set.{sign, ds, execute} positive integers ordering those reactions
(same number = parallel, higher waits for lower). Optional — pass it only to set a
sequence. A user holding sign/ds/execute without an order still counts toward task
completion; once anyone on the object has an order, such a user acts after the ordered users
of that stage. On update of an actor's own access, resend reactionOrders to keep the
sequence — omitting it clears the stored order. A graph/layer cascade never touches
sign/ds/execute or their orders on the actors inside.
recursive/notifydefault to true; the tools send an explicitfalsewhen you set it, so an opt-out is honoured. "Grant but don't cascade to children" ⇒recursive=false.
Objects are addressed by their own id (objId), so most tools need no accId. Only
bulkSaveAccountPairsAccessRules takes an accId (defaults to the configured workspace).
userId / groupId)A rule's grantee is identified by a real userId (or saId / groupId) — resolve it first,
never guess:
searchUsers(accId, query) — find a workspace member by name/email (the quickest path).getUsers(accId) — list all members.getUser(accId, userId, type="group") — resolve a group id when sharing with a group.Share onto the
user, never their twin actor. Each user has a 1:1 digital-twin actor, but access is granted to theuserId— passuserIdin the rule'sdata, not the twin actor's id. The twin actor is for transactions / accounts / graph placement (getSystemActor), not for sharing. See$CLAUDE_PLUGIN_ROOT/docs/entities/users.md.
getAccessRules(objType="actor", objId="<actor UUID>") # actor | form | account | formTemplate | treeLayer
getTemplateActorsAccess(objId="<form-template id>") # the actors of a form template
getTreeLayerAccess(objId="<layer / root actor id>") # the actors on a tree layer
# Give user 4210 view + modify on an actor, but not delete:
saveAccessRules(objType="actor", objId="<actor UUID>", rules=[
{ "action": "create", "data": {
"userId": 4210,
"privs": { "view": true, "modify": true, "remove": false } } }
])
# Revoke a group's access to an account entirely:
saveAccessRules(objType="account", objId="<account id>", rules=[
{ "action": "delete", "data": { "groupId": 88 } }
])
# Apply to this object only (don't cascade) and stay quiet:
saveAccessRules(objType="actor", objId="<UUID>", recursive=false, notify=false, rules=[ … ])
saveTemplateActorsAccess(objId=<form-template id>, rules=[…]) and
saveTreeLayerAccess(objId=<layer id>, rules=[…]) take the same rules shape for the
template-actor and tree-layer scopes.
A rule on the actors of a system form (type: "system") gives the grantee access to every
actor of that form, existing and new; deleting the rule revokes it. The backend restricts it:
system_actors:management permission (owner and admin
roles by default). Anyone else — a member, a guest, an API key — gets 403.userId of a user of type api) can be added. Adding a person
or a group returns 400: share the individual actors instead. Existing rules of any grantee
can still be updated or deleted.privs.view and privs.modify are applied. The other privileges of an
existing rule stay as they are; view: false drops all privileges of the rule, and modify
is not granted without view. Unlike other objects, view is not implied here: to grant
access, send view: true explicitly.saveAccessRules(objType="templateActors", …) is the same call as
saveTemplateActorsAccess, so these rules apply to it too.userId 0) is read-only: changing or deleting it
returns 400. Leave it out of rules.# Let API key 7001 read all events (Events form template 12):
saveTemplateActorsAccess(objId="12", rules=[
{ "action": "create", "data": {
"userId": 7001,
"privs": { "view": true, "modify": false, "remove": false } } }
])
bulkSaveAccessRules checks every item as its own call would (a templateActors item of a
system form follows the rules above) and validates all items before saving any: one invalid item
fails the whole call and nothing is applied.
# Many objects at once (≤50), each with its own rules:
bulkSaveAccessRules(items=[
{ "objType": "form", "objId": "42", "rules": [ … ] },
{ "objType": "actor", "objId": "<UUID>", "rules": [ … ] }
])
# Share a whole account-name category across the workspace (every account named <prefix>_*):
bulkSaveAccountPairsAccessRules(accId="ws_xxx", items=[
{ "objId": "<account-name id prefix>", "rules": [ … ] }
])
Mid-task a tool may fail with 403 / Access Denied (or getActor etc. returns not-found)
because the current user has no view access to that object. Don't give up or guess —
ask the owner for access with requestAccess:
requestAccess(objType="actor", objId="<actor UUID>") # request view access
requestAccess(objType="actor", objId="<actor UUID>", modify=true) # request view + edit
requestAccess does not grant access — it raises a request to the object's owner(s)
(creates a REQUEST_ACCESS invite + a request-access event they can approve/decline). You then
have to wait for approval before the blocked operation will work.requestEventId.view). objType is usually actor; it also accepts form / account / template
/ treeLayer.saveAccessRules(... privs:{view:true}) on the object (or the owner acts on the
request-access event in the UI).When a read/write step is blocked by access, tell the user it's blocked, call
requestAccess, and report that approval is pending — rather than failing silently or inventing data.
taskId (applied async); the change may take a moment to fully propagate.userId / saId / groupId.privs.view/modify/remove are required; sign/ds/execute optional. Setting any privilege implies view.reactionOrders is optional — a single executor needs only execute:true.recursive=false ⇒ this object only; notify=false ⇒ no notifications (both honoured).requestAccess(objType, objId) — it asks the owner (doesn't grant); approval is needed before retrying. It's the one access tool callable without view.action:"delete" (grantee id only) to revoke; create/update to grant or change.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub corezoid/simulator-ai-plugin --plugin simulator21 skills in this plugin
/simulatorUniversal Simulator.Company platform assistant. Use when the user asks anything about Simulator.Company, wants to work with the Simulator API, mentions actors, forms, graphs, layers, accounts, transactions, or any other Simulator entity. Also use when the user asks to "use simulator", "call the simulator API", or needs to manage business processes in Simulator. This skill provides deep knowledge of the platform model and guides you to use the simulator MCP tools correctly.
/simulator-actorsSimulator.Company actor (record) specialist. Use when the user wants to create, update, read, search, or filter the *instances* of a form template (a.k.a. Account Template records) — i.e. data-bearing actors — and needs the `data` value protocol right. Activate when the user says "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", "создай актор", "заполни шаблон", or "добавь запись". ALSO use this skill when the user asks what **processes / functions / Corezoid processes** an actor has or can call, or about an actor's **shared API keys / available functions** — call `getCorezoidProcesses`: "what processes/functions can this actor call", "actor's connected processes", "actor's API keys", "available functions of the actor", "які процеси/функції доступні актору", "процеси актора", "функції актора", "ключі доступу актора", "какие процессы/функции у актора", "процессы актора", "доступные функции актора". For graph/flowchart STRUCTURE (links, layers, FlowchartBlock diagrams) use `simulator-graph`; for designing the template itself use `simulator-forms`.
Other plugins' skills for the same job