wasm-compatibility
FeaturedCheck if a marimo notebook is compatible with WebAssembly (WASM) and report any issues.
AI & Automation 957 stars
79 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# WASM Compatibility Checker for marimo Notebooks
Check whether a marimo notebook can run in a WebAssembly (WASM) environment — the marimo playground, community cloud, or exported WASM HTML.
## Instructions
### 1. Read the notebook
Read the target notebook file. If the user doesn't specify one, ask which notebook to check.
### 2. Run marimo's WASM lint rules
marimo ships three lint rules that catch most WASM incompatibilities automatically. Run them first, and build the report from their output instead of re-deriving these checks by hand:
```bash
marimo check <notebook> --select MW --format json
```
- **MW001** `incompatible-import` — stdlib modules missing or non-functional in Pyodide (`subprocess`, `pdb`, `dbm`, `resource`, `fcntl`, `termios`, `readline`, `curses`, `tkinter`, `pydecimal`, `test`), plus multiprocessing exports and submodules that need native synchronization, shared memory, pipes, or process forking (`Lock`, `Condition`, `Semaphore`, `Barrier`, `Manager`, `Pipe`, `RLock`, `shared_memory`, `ForkContext`/`ForkProcess`, `ThreadPool`, and others). `Process`, `Queue`, `SimpleQueue`, `Pool`, and `ProcessPoolExecutor` stay allowed — they run on WASM-compatible cooperative adapters (see step 3).
- **MW002** `unsafe-system-call` — calls such as `os.system()`, `os.fork()`, `signal.signal()`, `breakpoint()` that fail in Pyodide even when the import itself succeeds.
- **MW003** `incompatible-package` — resolves the notebook's PEP 723 dependency tree (skipping any...
Details
- Author
- autonomous-ai
- Repository
- autonomous-ai/openharness
- Created
- 1 months ago
- Last Updated
- today
- Language
- C
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
marimo-notebook
Write a marimo notebook in a Python file in the right format.
957 Updated today
autonomous-ai AI & Automation Featured
jupyter-to-marimo
Convert a Jupyter notebook (.ipynb) to a marimo notebook (.py).
957 Updated today
autonomous-ai AI & Automation Listed
marimo-notebook
marimo ノートブックを正しいフォーマットでPythonファイルに作成するスキル。 「marimoノートブック作成」「インタラクティブノートブック」「Pythonノートブック」等のリクエストで発動。
347 Updated 3 weeks ago
minicoohei