Trellis Session Insight
mindfold-ai/Trellis
Reach into past AI conversation history through the trellis mem CLI.
Work with the Cranelift JIT MLIR backend. An agent skill from elodin-sys/elodin.
$ npx skills add elodin-sys/elodin --skill elodin-cranelift -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install elodin-sys/elodin elodin-cranelift --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/elodin-sys/elodin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/elodin-cranelift .claude/skills/elodin-cranelift && 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 "elodin-cranelift" agent skill from https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-cranelift into .claude/skills/elodin-cranelift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "elodin-cranelift", 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/elodin-sys/elodin/tree/main/.cursor/skills/elodin-craneliftType 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 elodin-sys/elodin --skill elodin-cranelift -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install elodin-sys/elodin elodin-cranelift --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elodin-sys/elodin.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/elodin-cranelift .agents/skills/elodin-cranelift && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "elodin-cranelift" agent skill from https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-cranelift into .agents/skills/elodin-cranelift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "elodin-cranelift", 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 elodin-sys/elodin --skill elodin-cranelift -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install elodin-sys/elodin elodin-cranelift --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elodin-sys/elodin.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/elodin-cranelift .cursor/skills/elodin-cranelift && 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 "elodin-cranelift" agent skill from https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-cranelift into .cursor/skills/elodin-cranelift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "elodin-cranelift", 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/elodin-sys/elodin.git --path .cursor/skills/elodin-cranelift--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 elodin-sys/elodin --skill elodin-cranelift -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install elodin-sys/elodin elodin-cranelift --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elodin-sys/elodin.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/elodin-cranelift .gemini/skills/elodin-cranelift && 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 "elodin-cranelift" agent skill from https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-cranelift into .gemini/skills/elodin-cranelift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "elodin-cranelift", 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 elodin-sys/elodin elodin-craneliftInstalls 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 elodin-sys/elodin --skill elodin-cranelift -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/elodin-sys/elodin.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/elodin-cranelift .github/skills/elodin-cranelift && 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 "elodin-cranelift" agent skill from https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-cranelift into .github/skills/elodin-cranelift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "elodin-cranelift", 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 elodin-sys/elodin --skill elodin-cranelift -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install elodin-sys/elodin elodin-cranelift --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elodin-sys/elodin.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/elodin-cranelift .opencode/skills/elodin-cranelift && 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 "elodin-cranelift" agent skill from https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-cranelift into .opencode/skills/elodin-cranelift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "elodin-cranelift", 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.
elodin-craneliftWork with the Cranelift JIT MLIR backend. An agent skill from elodin-sys/elodin.
Elodin Cranelift is an agent skill from elodin-sys/elodin. Work with the Cranelift JIT MLIR backend. Use when modifying libs/cranelift-mlir/, adding new StableHLO ops, debugging simulation correctness issues, running the checkpoint diagnostic tool, or working on the pointer-ABI tensor runtime.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Debugging. The repository describes itself as: Elodin simulation and flight software monorepo. The licence is Apache-2.0.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 729022c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
cargobashpythonjustnixpython3From 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.
Elodin Cranelift loads about 2k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 632 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); files beside SKILL.md are not scanned.
The full file from elodin-sys/elodin at commit 729022c, republished under its Apache-2.0 licence (© elodin-sys). 632 words, ~2,039 tokens.
.claude/skills/elodin-cranelift/SKILL.md (or your agent's skills folder).libs/cranelift-mlir/ compiles StableHLO MLIR to native code via Cranelift JIT — the default CPU backend for Elodin simulations. Deep internals live in ARCHITECTURE.md; profiling is in PERFORMANCE.md.
Cranelift is the default (backend="cranelift" in WorldBuilder.run / .build). Override per-run:
ELODIN_BACKEND=jax-cpu python examples/<name>/main.py run # XLA native, reference for correctness
ELODIN_BACKEND=jax-gpu python examples/<name>/main.py run # XLA CUDAOr in Python:
w.run(system, backend="jax-cpu")| Path | Purpose |
|---|---|
src/ir.rs | Internal IR: Module, FuncDef, Instruction variants |
src/parser.rs | StableHLO text → IR (Winnow parser, child contexts for while/case) |
src/lower.rs | IR → Cranelift JIT. Dual ABI, cross-ABI marshaling, SIMD, slot pooling |
src/tensor_rt.rs | Runtime: broadcast_nd, slice, transpose, reduce, gather_nd, scatter, matmul |
tests/ops.rs | Per-op golden tests, both ABI paths |
tests/checkpoint_test.rs | XLA-vs-Cranelift comparator |
libs/nox-py/src/cranelift_compile.rs | JAX → StableHLO, XLA reference checkpoint |
libs/nox-py/src/cranelift_exec.rs | CraneliftExec tick loop |
libs/nox-py/src/exec.rs | WorldExec enum (dispatches Cranelift vs JAX) |
Always run inside nix develop.
cargo test -p cranelift-mlir # all unit + golden tests
cargo test -p cranelift-mlir --test ops # per-op only
cargo clippy -p cranelift-mlir -- -Dwarnings
cargo fmt -p cranelift-mlir -- --check
# Full simulation regression (requires `just install` first):
just install
ELODIN_BACKEND=cranelift bash scripts/ci/regress.sh --all # every example
ELODIN_BACKEND=cranelift bash scripts/ci/regress.sh ball examples/ball/main.py # one example
ELODIN_BACKEND=cranelift bash scripts/ci/regress.sh --update ball examples/ball/main.py # re-baseline after verifying correctnessBaselines live in scripts/ci/baseline/; tolerances in scripts/ci/baseline/tolerances.json.
Large stablehlo.constant dense<"0x..."> blobs over 1 MB are transparently interned by libs/cranelift-mlir:
src/parser.rs decodes large hex constants as raw bytes and interns them through src/const_cache.rs.${ELODIN_CACHE_DIR:-~/.cache/elodin/const-cache}.ConstantValue::DenseExternal is cheap to clone and carries the cached mapping handle.src/lower.rs registers each mapping with JITBuilder::symbol and lowers it through declare_data(Linkage::Import), so constants are not copied into the JIT arena.CompiledModule must retain the Arc<CachedConst> handles for every imported constant. The JIT symbol stores raw pointers, so dropping the parsed IR module before live execution would otherwise leave dangling mmap pointers.elodin monte-carlo run ... pins one campaign ELODIN_CACHE_DIR
across all workers. Add --memory-probe only for memory-proof runs; it writes
memory.json with shared-constant PSS evidence without a bespoke runner.Relevant tests:
cargo test -p cranelift-mlir --test large_constant_cache
cargo test -p cranelift-mlir --test imported_data_arena -- --ignored --nocapture
cargo test -p cranelift-mlir large_external_constant_8d_dynamic_sliceCustomer-style checkpoint repro:
ELODIN_CRANELIFT_DEBUG_DIR=/tmp/dbg \
cargo test -p cranelift-mlir --test checkpoint_test --release verify_checkpoint -- --ignored --nocapture
# To hold two verifier processes for mmap/PSS sampling:
ELODIN_CACHE_DIR=/tmp/elodin-const-cache-proof \
ELODIN_CRANELIFT_DEBUG_DIR=/tmp/dbg \
ELODIN_CRANELIFT_CHECKPOINT_HOLD_AFTER_TICK_MS=120000 \
cargo test -p cranelift-mlir --test checkpoint_test --release verify_checkpoint -- --ignored --nocaptureInstruction variant in src/ir.rsparse_op() in src/parser.rslower_instruction() in src/lower.rslower_instruction_mem() in src/lower.rstensor_<op>_f64 in src/tensor_rt.rs, register in TensorRtIdstests/ops.rs exercising both run_mlir and run_mlir_memcargo test -p cranelift-mlirThe dual-ABI / SIMD / tensor-runtime design constraints each step has to satisfy are documented in ARCHITECTURE.md.
ELODIN_BACKEND=cranelift ELODIN_CRANELIFT_DEBUG_DIR=/tmp/dbg python examples/<name>/main.py runpython3 libs/cranelift-mlir/scripts/catalog_ops.py /tmp/dbg/stablehlo.mlir (safe on multi-GB files — do NOT grep them)testdata/, create an e2e testELODIN_BACKEND=cranelift bash scripts/ci/regress.sh <name> examples/<name>/main.pyThe tick checkpoint diagnostic tool is the workhorse. Full usage and MLIR-bisection workflow in ARCHITECTURE.md — Checkpoint Diagnostic Tool section. Quick commands:
# Capture XLA reference + Cranelift outputs for every tick input:
ELODIN_BACKEND=cranelift ELODIN_CRANELIFT_DEBUG_DIR=/tmp/ckpt \
bash scripts/ci/regress.sh <example> examples/<example>/main.py
# Compare, per output, element-by-element:
ELODIN_CRANELIFT_DEBUG_DIR=/tmp/ckpt \
cargo test -p cranelift-mlir --test checkpoint_test --release -- --ignored --nocaptureOnce the diverging output is identified, reduce it to a minimal tests/ops.rs reproducer before fixing.
--release first: some JIT paths trip ptr::copy_nonoverlapping debug-mode UB checks.Follow "Adding a new op".
Only two matter day-to-day:
ELODIN_BACKEND — cranelift (default), jax-cpu, jax-gpu.ELODIN_CRANELIFT_DEBUG_DIR=<dir> — single flag for every diagnostic (profile probes, op-category sampling, tick waveform, instr/fold reports, inliner and slot-pool traces, MLIR dump, first-tick XLA reference checkpoint). Files land flat under <dir>. Zero overhead when unset.Full outputs and reading guide: PERFORMANCE.md.
libs/cranelift-mlir/ARCHITECTURE.md — compilation pipeline, dual ABI, SIMD (LaneRepr), JIT memory layout, tensor runtime, LAPACK via faer, gather patterns, while-loop scoping, checkpoint tool, testing strategy, opportunities.libs/cranelift-mlir/PERFORMANCE.md — ELODIN_CRANELIFT_DEBUG_DIR outputs, profile report fields, diff + waveform scripts, Tracy workflow.libs/cranelift-mlir/README.md — crate-level quick start.© elodin-sys, 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
Just SKILL.md in .cursor/skills/elodin-cranelift of elodin-sys/elodin.
Open the folder on GitHubat commit 729022c
Elodin Cranelift 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 |
|---|---|---|---|---|---|---|
| Elodin Cranelift this skillelodin-sys/elodin | 547 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Trellis Session Insightmindfold-ai/Trellis | 15k | 4 repos | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Native Data FetchingCherryHQ/cherry-studio-app | 4k | 6 repos | ~2.9k | Automated safety check: Notes | MIT | |
| Debugging Executionsn8n-io/n8n | 207k | — | ~2.6k | Automated safety check: Pass | Custom licence | |
| Aoti Debugpytorch/pytorch | 104k | 1 repos | ~1.7k | Automated safety check: Pass | Custom licence | |
| Herdr Throwaway Reproductionherdrdev/herdr | 43k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
mindfold-ai/Trellis
Reach into past AI conversation history through the trellis mem CLI.
CherryHQ/cherry-studio-app
A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.
n8n-io/n8n
Debug failed or wrong-output workflow executions using executions tools.
pytorch/pytorch
Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.
herdrdev/herdr
Runs a disposable, uniquely named Herdr session inside an existing one so runtime, pane, terminal or API bugs can be reproduced without touching the main session.
ultralisp/ultralisp
A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes
elodin-sys/elodin
Compare two git branches (usually the current branch vs main) by running every example on each, capturing exit codes, logs, and editor screenshots, then diffing the results.
elodin-sys/elodin
Work with Elodin-DB, the time-series telemetry database. An agent skill from elodin-sys/elodin.
elodin-sys/elodin
Develop and contribute to the Elodin codebase. An agent skill from elodin-sys/elodin.
elodin-sys/elodin
Contribute to the Elodin Editor, the 3D viewer and graphing tool.
elodin-sys/elodin
Run the Elodin Editor without a physical display in Gamescope, take screenshots, and record video through PipeWire and GStreamer.
elodin-sys/elodin
Develop and calibrate simulations against experimental truth data using elodin monte-carlo.
Categories
Work with the Cranelift JIT MLIR backend. An agent skill from elodin-sys/elodin. Elodin Cranelift is an agent skill from elodin-sys/elodin. Work with the Cranelift JIT MLIR backend.
Elodin Cranelift fits situations like: modifying libs/cranelift-mlir/; adding new StableHLO ops; debugging simulation correctness issues; running the checkpoint diagnostic tool.
Run `npx skills add elodin-sys/elodin --skill elodin-cranelift -a claude-code`. Or copy the skill folder (.cursor/skills/elodin-cranelift in elodin-sys/elodin) into .claude/skills/elodin-cranelift in your project. Claude Code loads it when a task matches its description.
Run `npx skills add elodin-sys/elodin --skill elodin-cranelift -a codex`. Or copy the skill folder (.cursor/skills/elodin-cranelift in elodin-sys/elodin) into .agents/skills/elodin-cranelift 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 elodin-sys/elodin --skill elodin-cranelift -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/elodin-cranelift, .gemini/skills/elodin-cranelift, .github/skills/elodin-cranelift and .opencode/skills/elodin-cranelift in your project.
Going by SKILL.md and its folder, Elodin Cranelift needs the command-line tools its instructions call (cargo, bash, python, just, nix and python3). Our summary lists: Python 3.
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. Review the folder before installing.
Elodin Cranelift 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 2k tokens (SKILL.md is roughly 8.2k 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 Elodin Cranelift: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Aoti Debug (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
elodin-sys (a GitHub organization) maintains it in elodin-sys/elodin, which has 547 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 9, 2026.
Source: elodin-sys/elodin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.