Home / 0xsline / openchatcut · src/agent/skills/shader-gen/SKILL.md · GitHub

shader-gen skillA

shader-gen is agent-read markdown (skill) from 0xsline/openchatcut: 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..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified before it reaches your agent: the main file against the SHA-256 recorded here, the others against the git hashes of its source commit. The deterministic audit below grades the latest version, and the same checks always give the same file the same grade.

What the file says

# Shader Generator

Submit-only: creates a backend generation job, returns `jobId`. Use the `track_progress` tool for job lifecycle after submission.

**Always use `generate.ts` for new shaders.** Manual authoring is only for editing existing asset code — never as a fallback when generation fails.

## Catalog-first rule — try existing assets before generation

Before generating a shader, call `browse_library` unless the user names an exact asset id that is already visible in `read_project`.

`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 `read_project` asset lists.

Apply catalog entries with `edit_item`, do **not** call `submit_shader`.

Good catalog searches:

```text
browse_library(query: "zoom")
browse_library(category: "transitions", query: "dissolve")
browse_library(category: "audio-fx")
```

Generate only when no catalog entry matches the user's intent closely enough.

### `builtin:zoom` is track-bound only — DO NOT use item-bound
…

Read the whole file at its exact version.

How to install

Latest version
mdr add 0xsline/openchatcut/shader-gen@git:20260720.79e164d
Exact content
mdr add 0xsline/openchatcut/shader-gen@sha256:42025eac2bbda607

Pin to a label to follow the author's releases, or to a sha256 for exact bytes. Either way the resolved hash is written to mdr.lock, and mdr install fetches those bytes again and checks them, so it installs them exactly or fails.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_q5zdytvsaowv7ten.svg)](https://markdownregistry.com/a/art_q5zdytvsaowv7ten)

2 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260720.79e164d latest2026-07-20 79e164d 13,052 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13052 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

0xsline/openchatcut · 2,013 stars · license AGPL-3.0 · pushed 2026-09-27 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_q5zdytvsaowv7ten
GET https://markdownregistry.com/api/v1/resolve?ref=0xsline/openchatcut/shader-gen
GET https://markdownregistry.com/api/v1/blob/42025eac2bbda60765bf899cf241b64b42627ee32199b4e343c5f394fe2ab662

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from 0xsline/openchatcut

openchatcut skill
0xsline/openchatcut · skills/openchatcut/SKILL.md · Connect an MCP-capable coding agent to OpenChatCut and edit local video projects. Use when the user asks to install…
git:20260904.a78284f · audit A · 2,013 stars
ai-cinematic-short-film skill
0xsline/openchatcut · src/agent/skills/ai-cinematic-short-film/SKILL.md · Plan AI short films with story, shots, prompts, and continuity.
git:20260801.23ff26c · audit A · 2,013 stars
asset-import skill
0xsline/openchatcut · src/agent/skills/asset-import/SKILL.md · Use when acquiring or importing media into a OpenChatCut project asset library for video editing or creation, including…
git:20260814.55d927e · audit A · 2,013 stars
batch-montage-variants skill
0xsline/openchatcut · src/agent/skills/batch-montage-variants/SKILL.md · Turn one pool of existing project media into a batch of distinct, publishable montage cuts instead of a single hero…
git:20260908.52dbbec · audit A · 2,013 stars
beat-sync-montage skill
0xsline/openchatcut · src/agent/skills/beat-sync-montage/SKILL.md · Plan and build a finished beat-synced montage where cut placement serves the content, not just the metronome. Use for…
git:20260907.033479f · audit A · 2,013 stars
create-motion-graphics skill
0xsline/openchatcut · src/agent/skills/create-motion-graphics/SKILL.md · Use whenever the agent needs to add, create, hand-author, patch, or place Motion Graphic JSX assets in a OpenChatCut…
git:20260720.79e164d · audit A · 2,013 stars
ecommerce-product-montage skill
0xsline/openchatcut · src/agent/skills/ecommerce-product-montage/SKILL.md · Assemble product footage, UGC, and b-roll into a conversion-oriented montage with a hook → pain → demo → proof → CTA…
git:20260907.c38d5c5 · audit A · 2,013 stars
explainer-video skill
0xsline/openchatcut · src/agent/skills/explainer-video/SKILL.md · Create finished explainer videos from a topic, script, outline, voiceover, product logic, data, technical concept…
git:20260801.88ecefe · audit A · 2,013 stars
export skill
0xsline/openchatcut · src/agent/skills/export/SKILL.md · Use when a OpenChatCut video editing or creation workflow needs export, render, download, share, final delivery…
git:20260825.cff1ec0 · audit B · 2,013 stars
image-gen skill
0xsline/openchatcut · src/agent/skills/image-gen/SKILL.md · AI image generation via Fal.ai, gpt-image-2, nano-banana, MiniMax image-01, and xAI Grok Imagine. Use when the user…
git:20260921.b49d5cf · audit A · 2,013 stars
known-errors skill
0xsline/openchatcut · src/agent/skills/known-errors/SKILL.md · Use when a OpenChatCut tool call fails or returns an unexpected shape.
git:20260720.79e164d · audit A · 2,013 stars
livestream-to-clips skill
0xsline/openchatcut · src/agent/skills/livestream-to-clips/SKILL.md · Cut an imported livestream recording of any genre into evidence-backed, platform-ready clips by combining transcript…
git:20260825.cff1ec0 · audit A · 2,013 stars

Every file in 0xsline/openchatcut

Browse by kind, by grade A, or by owner.