/simulator:simulator-attachmentsfrom simulator
Manages file uploads, attachments, and linking to actors/comments in Simulator.Company workspaces. Handles base64 upload, attachId management, rename, list, link/unlink operations.
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):
uploadBase64,getAttachments,getActorAttachments,addAttachments,updateAttachment,removeAttachments. Plus the engine toolsuploadActorPicture/uploadActorPictureBulkfor actor avatars. Call them by these exact names.
A file is uploaded once into the workspace and becomes an attachment record (with an
attachId). You then link that record to actors or reactions. Listing, renaming and
unlinking operate on the record.
Relationship to the other skills
simulator-reactions— a comment can carry files via itsattachments:[{attachId}].simulator-actors—uploadActorPicturesets an actor's avatar (an engine tool, not here).
attachId, stored fileName).attachId to an actor/reaction (or pass it in a reaction's attachments).uploadBase64, getAttachments, addAttachments, removeAttachments take an accId
(workspace id) — it defaults to the configured workspace if omitted. updateAttachment
is addressed by attachId only.
uploadBase64(
accId="ws_xxx", # optional — defaults to the configured workspace
file="<base64 string>", # prefer RAW base64; a data:<mime>;base64, prefix is also stripped server-side
originalName="report.pdf", # sets the type + title
ttl=0) # seconds; 0 = permanent
# → returns the attachment record incl. attachId + fileName
Prefer raw base64. A
data:URI prefix is accepted and stripped server-side, but raw base64 is the safe default. Multipart uploads are not a curated tool — useuploadActorPicturefor actor images, oruploadBase64for everything else.
addAttachments(accId="ws_xxx", items=[
{ "attachId": 5521, "actorId": "<actor or reaction UUID>" }
])
removeAttachments(accId="ws_xxx", items=[
{ "attachId": 5521, "actorId": "<actor or reaction UUID>" }
]) # unlinks; does NOT delete the stored file
Which files you may link. The file must be in the target actor's workspace and within your reach: you uploaded it, or it already hangs on an actor you can view. An unlinked file is its uploader's alone, except an anonymous visitor's upload (public form/widget intake), which a workspace member or API key may link. Anything else →
400(another workspace) /403. The same rule applies to a reaction'sattachments. Link the file you just uploaded, not an id picked fromgetAttachments.
getAttachments(accId="ws_xxx", limit=50, orderBy="created_at", orderValue="DESC") # all files in the workspace
getActorAttachments(actorId="<actor UUID>", limit=100) # only files linked to one actor
updateAttachment(attachId=5521, title="Q3 report.pdf")
Use
getActorAttachmentswhen you want a single actor's files;getAttachmentslists the whole workspace.getActorAttachmentsis addressed byactorId(noaccId).
# 1. upload
uploadBase64(originalName="contract.pdf", file="<base64>") → attachId 5521
# 2. link it to the actor
addAttachments(items=[{ "attachId": 5521, "actorId": "<actor UUID>" }])
# (or attach to a comment instead — see simulator-reactions: createReaction(..., attachments=[{attachId:5521}]))
| Path | When to read |
|---|---|
$CLAUDE_PLUGIN_ROOT/docs/entities/attachments.md | Attachment model, statuses, storage, virus-scan flow |
$CLAUDE_PLUGIN_ROOT/docs/entities/reactions.md | Attaching files to comments |
attachId, then addAttachments (or a reaction's attachments).removeAttachments only unlinks — it does not delete the stored bytes.uploadBase64 prefers raw base64; a data:<mime>;base64, prefix is stripped server-side.uploadActorPicture (handles URL / local path / base64, auto-rasterises SVG).addAttachments/removeAttachments items need BOTH attachId and actorId per entry.What SKILL.md sets; muted values are Claude Code's defaults
21 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-accessSimulator.Company access-control specialist — who can view/modify/remove/sign/execute an object (actor, form, account, template, tree layer). Use when the user wants to share or unshare an object, grant or revoke permissions, list who has access, or bulk-share. Activate when the user says "share this with", "give access to", "grant permission", "revoke access", "who can see/edit this", "set permissions", "make read-only", "поділись з", "надай доступ", "забери доступ", "хто має доступ", "права доступу", "дай доступ", "открой доступ", "отзови доступ", "кто имеет доступ", "права доступа". Also activate when a tool fails because the caller has NO access to an object — "request access", "I can't see this actor", "access denied", "403", "no permission", "запроси доступ", "немає доступу", "немає прав", "відмовлено в доступі", "запроси доступ", "нет доступа", "доступ запрещён". For the object's own data use the domain skill (`simulator-actors` / `simulator-forms` / `simulator-finance`).
npx claudepluginhub corezoid/simulator-ai-plugin --plugin simulatorOther plugins' skills for the same job