/sim:tablefrom Sim
Create and operate Sim tables through the sim CLI. Use when designing typed schemas, loading or querying rows, importing CSV data, or connecting a workflow or enrichment to table columns; not for knowledge-base documents or workflow graph 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.
Treat the table schema as an API contract. Discover the current table before writing, make the smallest requested mutation, and verify stored rows or run state afterward.
sim --output json tables list. Read the target with
sim --output json tables get <tableId> before changing its schema or data.Create a table with at least one explicit column:
sim --output json tables create \
--name contacts \
--schema @schema.json
The schema file has this shape:
{
"columns": [
{ "name": "email", "type": "string", "required": true, "unique": true },
{ "name": "active", "type": "boolean" },
{ "name": "score", "type": "number" }
]
}
Use only the accepted types: string, number, currency, boolean, date, json, and
select. A select column must define options with stable id and display name values; only a
select may use multiple. A currency may specify a three-letter currencyCode. Mark a natural
key unique when later writes must be idempotent. Do not use json to avoid designing queryable
columns.
Use tables columns create, tables columns update, or tables columns delete for a requested
schema change. Fail on incompatible existing values or uniqueness conflicts instead of weakening
the schema.
Create one row with --data or several with --rows; the flags are mutually exclusive:
sim --output json tables rows create <tableId> --data @row.json
sim --output json tables rows create <tableId> --rows @rows.json
Use tables rows update <tableId> <rowId> --data @patch.json to merge specified cells into one
known row. Use tables upsert <tableId> --on email --data @row.json only against a unique column.
An upsert's update branch replaces the complete row and clears omitted columns, so always send
the complete desired row.
For many rows: tables rows update-each applies a distinct patch per listed row,
tables rows batch-update --filter patches every matching row, and tables rows batch-delete
deletes matching or listed rows. The last two cannot be undone; count the filter's matches first.
For CSV input, prefer the import command over parsing client-side:
sim --output json tables import ./contacts.csv --name contacts
sim --output json tables import ./updates.csv --table-id <tableId> --mode append
--mode replace is destructive for an existing table. Use it only when explicitly requested.
Unless the caller deliberately chose --no-wait, require the import's terminal result rather than
treating queue acceptance as completion. tables imports cancel keeps rows already written;
re-importing after a cancelled append duplicates them.
Saved views live under tables views. A deleted table is archived; tables restore <tableId>
recovers it.
Filter and sort with the table commands instead of fetching every row:
sim --output json tables rows query <tableId> \
--filter '{"all":[{"field":"active","op":"eq","value":true}]}' \
--sort '[{"field":"score","direction":"desc"}]' \
--limit 100
Use tables rows count when only a count is needed and tables rows search for a
case-insensitive substring across cells. A negating filter may include null or absent values; add
an explicit isNotNull or isNotEmpty condition when nulls must be excluded. Avoid --limit 0 on
an unbounded table; for a full pull use tables exports create <tableId> --format csv|json, then
exports get until finished and exports download. Request --include-run-state only when
workflow-group diagnostics are needed; it caps a page at 200 rows (the CLI still pages under
--limit 0) and a page over 2 MiB of run state returns 413.
Read the target workflow and identify real workflow inputs and block output paths before creating a group. The group body maps table columns to workflow inputs and workflow outputs back to new table columns:
{
"type": "manual",
"workflowId": "<workflowId>",
"name": "Score contacts",
"deploymentMode": "deployed",
"autoRun": false,
"inputMappings": [{ "inputName": "email", "columnName": "email" }],
"outputs": [{ "blockId": "<blockId>", "path": "score", "columnName": "score" }]
}
Always set autoRun and deploymentMode in the group body. A group without autoRun defaults to
true and fires a metered run for every later row whose inputs fill. A group without
deploymentMode runs the active deployment (deployed) and refuses while the workflow is
undeployed; live runs the editable draft.
Create the group with both files:
sim --output json tables groups create <tableId> \
--group @group.json \
--output-columns @output-columns.json \
--no-auto-run
output-columns.json is an array of typed column definitions; an entry naming an existing column
attaches it. The --auto-run flag only decides whether existing rows are scheduled now (default
no); it does not set the group's autoRun. Opt in only when the user intends that metered fan-out.
Run explicitly with tables dispatches create <tableId> --group-ids <id>, narrowing with
--run-mode incomplete, --row-ids, --filter, or --max-rows; use tables rows enrich for one
row. Inspect dispatches get and row run state (tables enrichment get for one cell group) until
terminal. dispatches cancel stops dispatching, but cells already queued keep running; stop those
with tables cancel-runs <tableId> --scope all|row --yes. Change a group with tables groups update.
Read the table again after schema changes. Query a bounded sample after data changes and confirm
types, unique keys, and expected values. For groups, confirm the group mapping and relevant row run
state. Report the table id, its exact webUrl from the create or get response as a clickable link,
affected row count, group or dispatch ids, and any terminal error. Do not construct a table URL from
ids or the profile's API origin; a missing webUrl is a response-contract failure. Never print
profile credentials, connector keys, or private cell values unrelated to the request.
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./filesManage 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./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./run-toolCall one Sim integration tool directly through the sim CLI, using credentials Sim already holds. Use for a single action against a connected service — send a message, create an issue, scrape a page; not for multi-step logic or anything scheduled, which belongs in a workflow./run-workflowTest and debug Sim workflows through the sim CLI using manual runs, trigger payloads, run-from-block, selected outputs, and run records. Use after authoring or when diagnosing execution; not for graph edits or deployment changes.