Shadinglanguagex
Write, debug, explain and compile ShadingLanguageX (SLX), the C-like shading language in `.mxsl` files that the mxslc++ compiler turns into MaterialX (`.mtlx`) node graphs. Use for any task involving .mxsl source, MaterialX materials written as code, porting GLSL/Shadertoy/OSL snippets to SLX, running the compiler (`mxslc` CLI, Python `import mxslc` from `pip install mxslcxx`, C++, JS/WASM), compile options (globals, entry functions, macros, reduce_graph, MaterialX versions), decompiling .mtlx back to SLX, or explaining which MaterialX nodes an SLX construct produces.
Install
npx skills add jakethorn/ShadingLanguageX --skill shadinglanguagexgit clone --depth 1 https://github.com/jakethorn/ShadingLanguageX.git /tmp/ShadingLanguageX
mkdir -p ~/.claude/skills
cp -r /tmp/ShadingLanguageX/.claude/skills/shadinglanguagex ~/.claude/skills/shadinglanguagexPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# ShadingLanguageX (SLX)
SLX is a small C-like language whose programs compile to MaterialX documents. Everything here was
verified against the mxslc++ compiler (v0.3.x, MaterialX 1.39.5 libraries). Where the official docs and
the compiler disagree, this skill follows the compiler.
## Mental model: the compiler *runs* your program
An SLX file is executed **once, top to bottom, by the compiler**. Every value is either:
- **compile-time**: literals, `const`/`comptime` values, globals, and anything folded from them, or
- **runtime**: the output of a MaterialX node (`texcoord()`, `image(...)`, `position()`, ...).
An operation on a runtime value appends a node to the graph; an operation on compile-time values is folded
into a constant (the `reduce_graph` option, on by default). The output is a static dataflow graph, so:
- `for` loops are **unrolled**; their ranges must be compile-time.
- `if (...) { stmts }` **statements** need compile-time conditions. Runtime choices use
**if-expressions** (`if (c) { a } else { b }`) or **switch-expressions**, which become
`ifequal`/`switch` nodes. **Both branches are always built.**
- Variables are names bound to values. They are **immutable unless declared `mutable`**. Reassigning just
rebinds the name to a new node.
- User functions become a custom **NodeDef + NodeGraph** by default; `inline` expands them at the call site.
Inside a non-inline function the parameters are runtime interface inputs, so they can't drive loops orDetails
- Skill name
shadinglanguagex- Repository
- jakethorn/ShadingLanguageX
- Path
.claude/skills/shadinglanguagex/SKILL.md- License
- Apache-2.0
- Repo updated
- 18 November 2026
FAQ
What does the Shadinglanguagex skill do?
Write, debug, explain and compile ShadingLanguageX (SLX), the C-like shading language in `.mxsl` files that the mxslc++ compiler turns into MaterialX (`.mtlx`) node graphs. Use for any task involving .mxsl source, MaterialX materials written as code, porting GLSL/Shadertoy/OSL snippets to SLX, running the compiler (`mxslc` CLI, Python `import mxslc` from `pip install mxslcxx`, C++, JS/WASM), compile options (globals, entry functions, macros, reduce_graph, MaterialX versions), decompiling .mtlx back to SLX, or explaining which MaterialX nodes an SLX construct produces.
How do I install the Shadinglanguagex skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jakethorn/ShadingLanguageX --skill shadinglanguagex. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Shadinglanguagex popular?
It lives in jakethorn/ShadingLanguageX, which has 49 GitHub stars and 4 forks.
Related skills
Byreal CLI
45byreal-git/byreal-agent-skills
Byreal DEX (Solana) all-in-one CLI: query pools/tokens/TVL, analyze pool APR & risk, open/close/claim CLMM positions, token swap, wallet & balance management. Use when user mentions Byreal, LP, liquidity, pools, DeFi positions, token swap, or Solana DEX operations.
X Devs
88jonathimer/devmarketing-skills
When the user wants to build a developer following on Twitter/X, write technical threads, or understand what works for dev audiences on X. Trigger phrases include "Twitter," "X," "developer Twitter," "tech Twitter," "technical threads," "building dev following," or "Twitter for developers.
Claude Code Runner
43ericvtheg/claude-code-runner
Submit coding tasks to Claude Code Runner for autonomous implementation. The service clones repositories, makes changes, and opens pull requests.
Verifying Build Provenance with Slsa Sigstore
100adriannoes/awesome-agentic-ai
Verify signed artifacts and SLSA build provenance with Sigstore cosign and slsa-verifier, enforce keyless OIDC identity, and apply SLSA Build levels to harden the software supply chain.
Codebase Index
73cris-achiardi/claude-skills
Automatically generate relationship and dependency maps for any component-based codebase (React, Vue, Svelte, Astro, Next.js, Angular, Solid). Auto-detects framework. Supports TOON format for 30-60% token savings. Use when indexing codebases, mapping component relationships, documenting dependencies, or understanding unfamiliar projects. Generates JSON/TOON files mapping component usage, imports, npm dependencies, utilities, CSS, and data queries.
Typescript Best Practices
100adriannoes/awesome-agentic-ai
TypeScript best practices. Use when reading or editing any .ts or .tsx file.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.