# shaders toolset

> Talos next · Since next

4 tools, about 499 tokens when enabled.

Enabled with the `tools.enable` tool, or `argus-agent --toolsets shaders`. Calling any of its tools also turns it on.

| Tool | Tokens | Description |
|---|---|---|
| `shader.library` | 88 | What a shader may use: models, functions (the prelude), glsl (a cheat sheet), examples (six shaders). |
| `shader.measure` | 113 | Static cost, caps met (desktop, web, hd: uncalibrated), derived metadata (usesDerivatives, usesScreenInputs), what HD would downgrade, hd (passes, pipelines, ray-hit handling, codes), variants, pre-warm estimate. |
| `shader.preview` | 150 | Material contact sheet PNG: 4 angles x 3 times x day/backlit/night. |
| `shader.write` | 148 | [editor or disk] Check a *.shader.wgsl, then save it: errors come back as {code, line, col, message, hint}, nothing written. |
