/sim:filesfrom Sim
Manage Sim workspace files and folders through the sim CLI. Use when listing, uploading, reading, searching, moving, renaming, sharing, restoring, or making exact or anchor-based edits to workspace files; not for knowledge-base ingestion or local filesystem edits.
Ships in Sim. 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.
Use server-side folder, search, and edit operations instead of downloading a workspace tree or rewriting a whole file when a narrower operation expresses the request.
sim --output json files ls [path] when navigating files and child folders together.
Use files list for file-only filtering and files folders list for folder-only traversal.sim files --help and the relevant subcommand help when the installed CLI may differ from
these instructions. Do not guess a newly introduced flag.Folder paths use the same slash-delimited form shown in the app; the leading slash is optional. The CLI encodes individual path segments, so pass the displayed path rather than percent-encoding it.
List one folder without descendants:
sim --output json files list --folder "Reports/2026" --no-recursive
Add --recursive when descendants belong in the result. With files list, recursion defaults to
false for an ordinary folder listing and true when --search is present. With no --folder, the
list already spans the workspace and a recursion flag has no effect.
Search file names with files list --search. Search text contents with files search:
sim --output json files search \
--query "invoice_[0-9]+" --mode regex \
--folder "Reports" "Exports" --include-subfolders
--folder on files search accepts several folder paths. Omit it to search the whole workspace.
Use --mode exact for literal text and --no-include-subfolders when only the selected folders
should be searched. Do not fetch every file and search locally when the server-side query suffices.
files search returns at most --max-results lines (default 50); truncated: true means more
exist. No match proves absence only when complete is true and indexStatus.skippedFiles and
indexStatus.partialFiles are both zero; otherwise report the result as inconclusive.
Upload a local file or create textual content directly:
sim --output json files upload ./report.csv --folder "Reports/2026"
sim --output json files create --name notes.md --folder "Reports/2026" --content "# Notes"
Create nested folders with files mkdir <path> or files folders create <path>. Move or rename a
folder atomically with files folders move <path> <destination>. Move known files with
files move --file-ids <id...> --to <folder>; omit --to to move them to the workspace root.
File names are leaf names, not paths. Use files rename <fileId> --name <name> to change one and
files move to change its folder. Do not place path separators or dot segments in a file name.
files copy --source <json> --destination <json> copies files or folders. files unzip <fileId> --yes writes every archive entry into the workspace, so confirm the destination first.
For textual work, inspect only the needed lines:
sim --output json files read <fileId> --offset 1 --limit 200
files read extracts text and supports line windows. Use files get <fileId> --output-file <path>
when the original bytes are needed. Use files describe <fileId> for metadata and sharing status.
Apply one targeted edit with files edit <fileId> --edit <json|@file>. Prefer @path or @- for
multiline content or payloads that are awkward to shell-quote.
{
"mode": "search_replace",
"search": "old text",
"content": "new text",
"replaceAll": false
}
Without replaceAll, the search must occur exactly once. Set replaceAll to true only when every
exact occurrence should change. An empty content deletes the matched text.
Anchors match complete lines after trimming surrounding whitespace. They are not substrings or
regular expressions. occurrence, when supplied, is 1-based and selects among repeated valid
matches.
Replace the lines between two retained anchors:
{
"mode": "replace_between",
"beforeAnchor": "BEGIN GENERATED",
"afterAnchor": "END GENERATED",
"content": "replacement lines",
"occurrence": 1
}
Insert immediately after a retained anchor:
{
"mode": "insert_after",
"anchor": "## Changelog",
"content": "- Added workspace file editing",
"occurrence": 1
}
Delete from the start anchor through the line before the retained end anchor:
{
"mode": "delete_between",
"startAnchor": "BEGIN OBSOLETE",
"endAnchor": "END OBSOLETE",
"occurrence": 1
}
Use files set-content only when complete replacement is intentional. A targeted edit preserves
unrelated content and reduces stale-read overwrites. Pass --expected-revision with the
revision from files describe (each write returns the new one) so a concurrent change answers
409 instead of being overwritten. On 409, read the current file and recompute the edit; do not
replay the stale write.
File content is versioned. files versions list, versions read, and versions download
inspect history; files versions revert <fileId> <version> --expected-revision <rev> is the undo
path. files versions delete permanently removes a version; use it only on explicit request.
File and folder deletion requires --yes and is soft-delete where the surface supports restore;
files batch-delete <ids...> --yes archives several files. Use files list --scope archived or
files folders list --scope archived to find deleted items (files describe <fileId> --scope archived reads one), then restore by exact file id or folder path. A recursive folder delete affects descendants, so use
it only when the requested scope is clear.
Before changing a share, inspect it with files share get <fileId>. files share set requires an OAuth
login or personal API key; a workspace key is refused. Do not expose share passwords, profile credentials, or unrelated file
content in output.
After a mutation, read the exact file, folder listing, metadata, or share state that proves the requested outcome. For edits, verify the affected region and enough surrounding lines to confirm the anchors and unrelated content remain correct. Report the file id, folder path, and operation performed, plus any concurrency or authorization error. Do not claim an accepted upload, move, or edit succeeded without checking the returned result.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (simstudioai/skills) — no native marketplace selected
npx claudepluginhub p/simstudioai-sim8 skills in this plugin
/build-workflowCreate or modify Sim workflows through the sim CLI. Use when translating a workflow request into blocks, inputs, connections, variables, and atomic graph edits; not for only running or deploying an existing workflow./deploy-workflowPublish and manage Sim workflows as APIs, chat deployments, or MCP tools through the sim CLI. Use when a tested workflow is ready to expose or deployment state must be inspected or changed; not for building or debugging a draft graph./knowledge-baseCreate and operate Sim knowledge bases through the sim CLI. Use when configuring chunking, ingesting local or workspace documents, setting up connectors, managing tags or chunks, and verifying retrieval; not for ordinary table data or workflow graph edits.