Wasm Compatibility
ericmjl/llamabot
Check if a marimo notebook is compatible with WebAssembly (WASM) and report any issues.
Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes.
$ npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PhySpace/SimpleCADAPI marimo-pair --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PhySpace/SimpleCADAPI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/marimo-pair .claude/skills/marimo-pair && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "marimo-pair" agent skill from https://github.com/PhySpace/SimpleCADAPI/tree/master/.agents/skills/marimo-pair into .claude/skills/marimo-pair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "marimo-pair", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PhySpace/SimpleCADAPI/tree/master/.agents/skills/marimo-pairType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PhySpace/SimpleCADAPI marimo-pair --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PhySpace/SimpleCADAPI.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/marimo-pair .agents/skills/marimo-pair && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "marimo-pair" agent skill from https://github.com/PhySpace/SimpleCADAPI/tree/master/.agents/skills/marimo-pair into .agents/skills/marimo-pair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "marimo-pair", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PhySpace/SimpleCADAPI marimo-pair --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PhySpace/SimpleCADAPI.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/marimo-pair .cursor/skills/marimo-pair && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "marimo-pair" agent skill from https://github.com/PhySpace/SimpleCADAPI/tree/master/.agents/skills/marimo-pair into .cursor/skills/marimo-pair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "marimo-pair", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PhySpace/SimpleCADAPI.git --path .agents/skills/marimo-pair--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PhySpace/SimpleCADAPI marimo-pair --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PhySpace/SimpleCADAPI.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/marimo-pair .gemini/skills/marimo-pair && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "marimo-pair" agent skill from https://github.com/PhySpace/SimpleCADAPI/tree/master/.agents/skills/marimo-pair into .gemini/skills/marimo-pair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "marimo-pair", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PhySpace/SimpleCADAPI marimo-pairInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PhySpace/SimpleCADAPI.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/marimo-pair .github/skills/marimo-pair && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "marimo-pair" agent skill from https://github.com/PhySpace/SimpleCADAPI/tree/master/.agents/skills/marimo-pair into .github/skills/marimo-pair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "marimo-pair", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PhySpace/SimpleCADAPI marimo-pair --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PhySpace/SimpleCADAPI.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/marimo-pair .opencode/skills/marimo-pair && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "marimo-pair" agent skill from https://github.com/PhySpace/SimpleCADAPI/tree/master/.agents/skills/marimo-pair into .opencode/skills/marimo-pair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "marimo-pair", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
marimo-pairDrive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes.
Marimo Pair is an agent skill from PhySpace/SimpleCADAPI. Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes. Use when the user wants to start a marimo notebook or pair on an active marimo session.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts (for example `reference/execution-context.md`, `reference/finding-marimo.md` and `reference/gotchas.md`).
It sits in Data & Analytics, covering Jupyter notebooks. It works with marimo and Python. The repository describes itself as: An agent-native CAD SDK for language models to create, inspect, and reconstruct complex, editable 3D models. The licence is Apache-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ea93070. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(bash **/scripts/discover-servers.sh *)Bash(bash **/scripts/execute-code.sh *)ReadFrom allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Marimo Pair loads about 3k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 1,429 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from PhySpace/SimpleCADAPI at commit ea93070, republished under its Apache-2.0 licence (© PhySpace). 1,429 words, ~2,978 tokens.
.claude/skills/marimo-pair/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.marimo is a reactive Python runtime for building reproducible Python programs
(marimo notebooks). Cells are connected by the variables they define and
reference. Running a cell re-executes dependents in dataflow order. The active
runtime holds the kernel namespace, cell state, and dataflow graph. The
notebook (.py file) is the artifact the kernel writes from that state while a
session is running.
A user interacts with the same runtime via a notebook UI with cells, outputs, and widgets.
WARNING. The active runtime is the source of truth. During a session, you
SHOULD NOT modify the associated .py file directly. File edits WILL NOT reach
the active kernel or user, and the kernel may overwrite them on save. Use
marimo._code_mode (cm) for notebook changes. Reading disk is fine, but
prefer ctx.cells[...].code for current cell code.
The harness reports the absolute path to this SKILL.md. Resolve bundled
scripts/... and reference/... paths from its parent directory, even when
the current working directory is a notebook workspace. In command examples,
replace /absolute/path/to/marimo-pair with that directory.
Start every code-mode session with this dedicated command:
bash /absolute/path/to/marimo-pair/scripts/execute-code.sh \
--url http://localhost:2718 \
-c "import marimo._code_mode as cm; help(cm)"Follow this order for each kernel, including read-only tasks:
help(cm) output.cm.get_context() or another cm API in a later call.Do not run task-specific cm code before the inspection command succeeds.
Use the bundled execute-code.sh from the reported skill directory or MCP
(execute_code(...)) to run Python in a live marimo kernel.
execute-code.sh always takes --url. If the user provides a notebook URL,
run the required inspection against it directly:
bash /absolute/path/to/marimo-pair/scripts/execute-code.sh \
--url http://localhost:2718 \
-c "import marimo._code_mode as cm; help(cm)"After that command succeeds, pass task code with -c CODE, - for stdin, or
a file path:
bash /absolute/path/to/marimo-pair/scripts/execute-code.sh \
--url http://localhost:2718 - <<'PY'
import marimo._code_mode as cm
async with cm.get_context() as ctx:
cid = ctx.create_cell("x = df.head()")
ctx.run_cell(cid)
PYIf the user gives no URL, find or start a notebook. Look for a running server
with bash /absolute/path/to/marimo-pair/scripts/discover-servers.sh, MCP
list_sessions(), or local process context, and pass the url it reports to
--url. With one notebook open, the script targets it automatically; with
several, pass --file with the notebook's file key.
If no server is running and the user wants a notebook, start marimo with
--no-token (and without --headless) so it auto-registers for discovery. The
notebook UI must be open for execute-code to target it. The right invocation
depends on context (project tooling, global install, sandbox mode). If the
notebook file contains a PEP 723 # /// script header, it MUST be opened with --sandbox — otherwise marimo
ignores the inline dependencies. See
finding-marimo.md for the full decision tree and
execution-context.md for selector resolution,
scripts, MCP, and shell quoting.
execute-code evaluates Python in marimo's scratchpad: a temporary namespace
with a shallow copy of the kernel globals. Notebook variables are available by
name, but new top-level bindings and rebindings are discarded after each call.
In-place mutations to notebook-owned objects can persist because those names
still reference live objects.
Each call reports stdout and stderr from the scratchpad, plus console output from notebook cells it causes to run, including reactive descendants.
Use ordinary Python in the scratchpad to inspect variables, sample data, test transformations, probe APIs, check imports, and read widget state.
print(df.head())
x = 10
print(x)Here df comes from notebook globals, while x is a scratchpad-local binding.
x exists for this call only and WILL NOT be added to notebook globals.
cmTop-level scratchpad assignments and rebindings are temporary. To persist work,
including new variables, you MUST submit changes through marimo._code_mode
(cm).
marimo._code_mode is a PRIVATE, UNSTABLE agent API (note the leading
underscore). It exists for tools like this skill to drive a live kernel from
the scratchpad. DO NOT import it from notebook cells, library code, or
anything a user would run — methods can change or disappear across marimo
versions and kernels. Treat every import marimo._code_mode as cm as
scratchpad-only.
Open a code-mode context to queue notebook changes.
import marimo._code_mode as cm
async with cm.get_context() as ctx:
cid = ctx.create_cell("x = df.head()")
ctx.run_cell(cid)The scratchpad supports top-level async code. Use async with directly;
wrapping it in asyncio.run(...) is unnecessary and can conflict with the
kernel's event loop.
After this block exits and the new cell runs, x is notebook state. Later
scratchpad calls can read x by name. Code later in the same scratchpad call
should read ctx.globals["x"], because the scratchpad namespace was copied
before the cell ran.
Inside the context, queued mutation methods are synchronous. Call them
directly; do not await them. Each call queues an operation for marimo to
apply when the context exits normally. If the block raises, the queue is
discarded.
On clean exit, marimo applies packages, validates and applies structural cell
changes, runs queued cells, then may run dependents. Validation is only
structural since queued cell runs can still error. create_cell and
edit_cell change notebook structure only. Use run_cell to execute.
create_cell currently defaults to hide_code=True, which collapses the code
editor in the UI. Pass hide_code=False if the user wants created cells to
be visible without manually expanding them.
marimo imposes a small contract on notebook code so it can keep the notebook as a directed acyclic graph (DAG):
import * prevents static analysis of definitions.These rules keep the kernel, UI, and saved artifact consistent.
When cm submits a cell body, marimo parses its top-level definitions and
references. Public names enter the graph. Names that start with _ are local
to their cell and unavailable to other cells. If a cm edit violates the
contract, marimo rejects the structural change and returns the validation
error.
A notebook is an ordered collection of cells. ctx.cells is the document view
and ctx.graph is the dataflow view.
for cell in ctx.cells:
cell # .id, .code, .name, .config, .status, .errors
ctx.cells["setup"] # by name
ctx.cells[0] # by position
list(ctx.cells.keys()) # all IDs, in notebook orderCell IDs are opaque strings which can be queried from the notebook or captured
from cm return values:
cid = ctx.create_cell("df = pd.read_csv('data.csv')")
print(cid) # e.g. 'Hbol'Alternatively, cells can be assigned and referenced by name. The graph can be
used to understand its role in the dataflow.
for cid, impl in ctx.graph.cells.items():
impl # .defs, .refs (sets of public names)
ctx.graph.descendants(cid) # cells that re-run when this one changes
ctx.graph.ancestors(cid) # cells this one depends onIn marimo, deletes are destructive so it can be useful to query the descendants prior to deleting to understand it's impact.
The graph contract keeps marimo able to run and save the notebook. Passing those checks alone does not guarantee a useful artifact. Committed cells should still be readable, rerunnable, and editable.
Make durable edits that reuse the notebook's existing names, imports,
dependencies, and UI model. Don't be lazy. Avoid one-off workarounds that pass
cm validation but leave a brittle notebook.
Submit the code that belongs in the cell.
create_cell and edit_cell take cell contents,
not saved-file @app.cell wrappers.edit_cell, read the current body from
ctx.cells[...] and submit the full replacement.np already exists, use it or edit the owning
import cell. DO NOT add import numpy as _np just to bypass the graph.Multiply-defined names; edit the
owning cell or give the result a new name. See
gotchas.md.create_cell and edit_cell change structure
only. Queue ctx.run_cell(...) when the cell should execute.A cell is also a rerun boundary. Put expensive or reusable computation upstream of presentation so UI edits stay cheap. Keep cheap, presentation-specific work with the view when that is easier to read.
Use mo.vstack and mo.hstack only when the composition is part of the UI.
Narrative often reads better in an adjacent markdown cell.
cm-Managed ChangesUse cm APIs when they exist. Avoid direct file edits, shell package commands,
and scratchpad-only state for changes that should persist.
.py artifact - DO NOT use Edit, Write, or
NotebookEdit on the notebook file during a live session. Use
ctx.edit_cell(...) even for small changes.cm - use ctx.packages.add() or
ctx.packages.remove() instead of direct uv or pip; confirm
non-obvious dependency changes./tmp/...
unless the work is intentionally transient.Inspect the object before changing it. Different UI objects update through different paths.
mo.ui.* through cm - use ctx.set_ui_value(element, value) inside
cm.get_context().widget.value = 5.For designing custom visual or interactive output, see rich-representations.md.
© PhySpace, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts) in .agents/skills/marimo-pair of PhySpace/SimpleCADAPI.
Open the folder on GitHubat commit ea93070
Marimo Pair next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Marimo Pair this skillPhySpace/SimpleCADAPI | 140 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Wasm Compatibilityericmjl/llamabot | 182 | 2 repos | ~1.6k | Automated safety check: Pass | None | |
| Marimo Paircosanlab/nltools | 131 | 1 repos | ~3k | Automated safety check: Pass | MIT | |
| Marimo Notebookcosanlab/nltools | 131 | 4 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Marimo Pair Vscodemarimo-team/marimo-lsp | 130 | — | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Marimobrycewang-stanford/Auto-Empirical-Research-Skills | 4.5k | — | ~2.8k | Automated safety check: Pass | Custom licence |
ericmjl/llamabot
Check if a marimo notebook is compatible with WebAssembly (WASM) and report any issues.
cosanlab/nltools
Work inside a running marimo notebook's kernel — execute code, create cells, and build a notebook as an artifact.
cosanlab/nltools
Write a marimo notebook in a Python file in the right format.
marimo-team/marimo-lsp
Drive a live marimo notebook in VS Code as a workspace: run Python in the same kernel the user does, inspect and explore live notebook state and data, prototype and debug code, and commit durable…
brycewang-stanford/Auto-Empirical-Research-Skills
Reactive Python notebook system. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.
minicoohei/ai-agent-camp
marimo ノートブックを正しいフォーマットでPythonファイルに作成するスキル. An agent skill from minicoohei/ai-agent-camp.
PhySpace/SimpleCADAPI
Build, assemble, inspect, reconstruct, and export parametric CAD models with the SimpleCADAPI Python SDK.
PhySpace/SimpleCADAPI
Session retrospective for improving marimo-pair and marimo.codemode.
Categories
Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes. Marimo Pair is an agent skill from PhySpace/SimpleCADAPI. Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes.
Marimo Pair fits situations like: the user wants to start a marimo notebook; pair on an active marimo session.
Run `npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a claude-code`. Or copy the skill folder (.agents/skills/marimo-pair in PhySpace/SimpleCADAPI) into .claude/skills/marimo-pair in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a codex`. Or copy the skill folder (.agents/skills/marimo-pair in PhySpace/SimpleCADAPI) into .agents/skills/marimo-pair in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PhySpace/SimpleCADAPI --skill marimo-pair -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/marimo-pair, .gemini/skills/marimo-pair, .github/skills/marimo-pair and .opencode/skills/marimo-pair in your project.
Going by SKILL.md and its folder, Marimo Pair needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: Python 3; A Bash shell. Its frontmatter pre-approves these tools: Bash(bash **/scripts/discover-servers.sh *), Bash(bash **/scripts/execute-code.sh *), Read.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Marimo Pair is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Marimo Pair: Wasm Compatibility (ericmjl/llamabot, 182 stars), Marimo Pair (cosanlab/nltools, 131 stars), Marimo Notebook (cosanlab/nltools, 131 stars) and Marimo Pair Vscode (marimo-team/marimo-lsp, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PhySpace (a GitHub organization) maintains it in PhySpace/SimpleCADAPI, which has 140 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 2, 2026.
Source: PhySpace/SimpleCADAPI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.