shader-gen

shader-gen is a skill for Claude Code from 0xsline/OpenChatCut. It costs 113 tokens per session (2,886 once invoked), scanned C, original, AGPL-3.0.

An AI shader generator for WebGL video effects. WebGL is a browser technology for drawing accelerated graphics, and shaders are small programs that control how those graphics look.

In plain words
What is it for?
Use it to generate video effects such as transitions, reveals, wipes, push-ins, masks, and film-style color grades for WebGL-based projects.
Why use it?
It helps create custom visual processing when a built-in video effect does not cover the requested look. The description specifically covers effects, transitions, masks, zooms, and color grading.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to generate video effects such as transitions, reveals, wipes, push-ins, masks, and film-style color grades for WebGL-based projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xsline/openchatcut/shader-gen
About the project

OpenChatCut is an open-source, local-first video editor that combines conversational AI agents with editable projects containing professional multitrack timelines, media, effects, and exports. Creators and developers use it to have agents perform video-editing work while retaining manual control over the project. The catalogue entries provide agent skills and MCP integration for operating the editor.

0xsline/OpenChatCut · 1,645 stars · on GitHub · openchatcut.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0xsline/OpenChatCut --skill shader-gen
Clone the repo
git clone --depth 1 https://github.com/0xsline/OpenChatCut

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shader-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xsline/openchatcut/shader-gen.svg)](https://agentmods.dev/skills/0xsline/openchatcut/shader-gen)
Your own site
<a href="https://agentmods.dev/skills/0xsline/openchatcut/shader-gen"><img src="https://agentmods.dev/badge/skills/0xsline/openchatcut/shader-gen.svg" alt="Measured on agentmods" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,886 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.02886
Opus 5 $0.00056 $0.01443
Sonnet 5 $0.00023 $0.00577
Haiku 4.5 $0.00011 $0.00289

Measured 9d ago against content hash 42025eac2bbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

shader-gen scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- Generation always produces a library asset — never refuse because the timeline isn't ready.
src/agent/skills/shader-gen/SKILL.md · 219 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 219 lines · 113 tokens per session scan C 42025eac2bbd

Subscribe to this mod's changes

shader-gen is a skill published in the GitHub repository 0xsline/OpenChatCut (1,645 stars, last pushed today), licensed AGPL-3.0. It adds 113 tokens to every session and 2,886 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories