shader-gen
Agent skill fromChatCut-Inc/agent-plugin
AI shader generator for WebGL video effects, transitions, masks, and color grading (LUT / 调色 / 电影感 / film look). Use when the user wants a video effect (滤镜 / 特效), a transition (转场 / crossfade / wipe / cube / 3d), a mask (蒙版 / 遮罩 / reveal), a zoom / push-in (推近 / 推镜头), or a color grade — try the built-in effects (zoom, builtin LUTs) before generating a new shader.
How to install shader-gen
install shader-gen
# install the agent-plugin pack with the skills CLI
npx skills add ChatCut-Inc/agent-plugin# or add only this skill to Claude Code: copy the folder
antigravity/skills/shader-gen/
# into
~/.claude/skills/shader-gen/ (all projects)
.claude/skills/shader-gen/ (one project)
1# Shader Generator23If `submit_shader` or `inspect_item` are not loaded yet, load them with `ToolSearch` before calling them, so you use their real parameters instead of guessing.45Submit-only: creates a backend generation job, returns `jobId`. Use the `track_progress` tool for job lifecycle after submission.67**Always use `generate.ts` for new shaders.** Manual authoring is only for editing existing asset code — never as a fallback when generation fails.89## Catalog-first rule — try existing assets before generation1011Before generating a shader, call `browse_library` unless the user names an exact asset id that is already visible in `browse_assets`.1213`browse_library` is the source of truth for built-in effects, built-in transitions, and project effect/transition assets. Built-ins are stable global asset ids, not per-project DB assets, so they may not appear in `browse_assets`.1415Apply catalog entries with `edit_item`, do **not** call `submit_shader`.1617Good catalog searches:1819```text20browse_library(query: "zoom")21browse_library(category: "transitions", query: "dissolve")22browse_library(category: "audio-fx")23```2425Generate only when no catalog entry matches the user's intent closely enough.2627### `builtin:zoom` uses the same track-bound placement as every effect28…
Excerpt shown under the repository's Apache-2.0 license.
