Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

shaderfx-effects

БесплатноБез исполняемых скриптовНе проверен

Write your own GPU effects for Levea in WGSL (ShaderFX ABI v2 + v3): filters that read and rewrite the footage, transitions that read clip A and clip B, and…

brajendrak00068от brajendrak00068137 установок в других каталогах

Об этом скилле

ShaderFX: custom GPU filters, transitions and generators (ABI v2)

ShaderFX lets an agent write a small WGSL function, fx(c: FxCtx) -> vec4<f32>, and run it on the GPU as part of a Levea edit. The server wraps it in a harness (bindings, helpers, output handling), validates it with naga before anything is saved or rendered, and the WebGPU preview and the Vulkan export compile the same wrapped shader with the same bindings, so what render_preview shows is what the export renders.

Use a built-in effect first when one fits: search_tools with catalog: "vfx" (368 GPU effects) or catalog: "transitions" (168). Write a ShaderFX effect when the look you need does not exist, when it has to read the footage in a specific way, or when you want a reusable house effect with its own parameters.

Setup

This skill calls the Levea (livecore.ai) editing service, which requires a Levea account and API key.

  1. Sign up and generate an API key at https://livecore.ai/?openclaw=1&utm_source=clawhub&utm_medium=skill&utm_campaign=shaderfx-effects
  2. Provide the key to the tool you use:
    • MCP server levea-mcp-server (npm): set LEVEA_API_KEY in the MCP server config. LEVEA_API_URL is optional and defaults to https://api.livecore.ai.
    • Hosted MCP (https://api.livecore.ai/api/v1/misc/mcp): OAuth, no key needed.
    • OpenClaw plugin openclaw-ai-video-editor (ClawHub): set apiKey in the plugin config.

Tools

MCP tool Canonical action (also callable via execute_action / execute_batch) What it does
create_shader_effect CREATE_SHADER_EFFECT { name, source, manifest, description?, is_public?, overwrite? } Validates and saves an effect to your library; returns effect_id and the parameter table (name, type, slot, accessor), or errors: [{ line, column, message }] and saves nothing. overwrite: true replaces your effect of the same name
list_shader_effects LIST_SHADER_EFFECTS { include_public?, query?, limit? } Your saved effects (id, name, kind, output, params)
(via execute_action) GET_SHADER_EFFECT { effect_id } One effect with its source, manifest and parameter table
apply_shader_effect APPLY_SHADER_EFFECT (fields below) Adds a ShaderFX layer to the project
delete_shader_effect DELETE_SHADER_EFFECT { effect_id } Removes it from the library; layers it was applied to keep their compiled shader

APPLY_SHADER_EFFECT fields:

field meaning
effect_id or source + manifest a saved effect, or inline code (validated the same way)
kind filter | transition | generator. Optional: the request's, else the manifest's, else transition when from_layer_id + to_layer_id are given, filter when target_layer_id is
target_layer_id filter: the layer whose picture is src(); the effect layer goes just above it and spans its window. Omit to filter everything composited below (the effect goes above the top picture layer)
from_layer_id + to_layer_id transition: outgoing clip A and incoming clip B (see Transitions below)
params values by manifest name: { "strength": 0.8, "tint": "#ff8800", "direction": [0, 1] }. Unknown names or wrong shapes are errors; floats are clamped to the param's min/max
param_keyframes animate params over time (see Parameter keyframes below)
start_time, end_time filter / generator window in timeline seconds (default: the target's window, else the whole timeline). Ignored for transitions
duration_sec, easing transition length (default 0.8 s) and the easing of its progress (default linear)
output overrides the manifest's output mode
intensity, opacity, z_index the layer's c.intensity (default 1), opacity (default 1) and stacking override

The result names the new layer (layer_id, createdLayerIds), its window and the parameter table. Failure codes: SHADER_FX_INVALID (shader or manifest errors, with errors), SHADER_FX_INVALID_PARAMS, SHADER_FX_TARGET_NOT_FOUND, SHADER_FX_CLIPS_NOT_ADJACENT, SHADER_FX_NO_HANDLES, SHADER_FX_NOT_FOUND.

The old path still works: APPLY_VFX / TRANSITION with custom_shader_frag is ABI v1 (evaluate_pixel(uv, time, res, progress, intensity), no picture input, light-only output). Use ABI v2 for anything new.

Workflow

  1. Write source + manifest. Call create_shader_effect.
  2. If it returns errors, fix those lines (they are numbered in YOUR source, not the wrapped shader) and call again.
  3. apply_shader_effect with the returned effect_id, the layers, the window and params.
  4. render_preview at 2-4 timestamps inside the window (for a transition: start, middle, end) and look at the frames. A shader the GPU could not build is reported there (customShaderErrors). Adjust params or the source and re-apply.
  5. Export with execute_action EXPORT_VIDEO.

You can skip the library and pass source + manifest straight to `

Полный SKILL.md на ClawHub

Установить shaderfx-effects в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл shaderfx-effects?

Write your own GPU effects for Levea in WGSL (ShaderFX ABI v2 + v3): filters that read and rewrite the footage, transitions that read clip A and clip B, and generators like light leaks, plus (ABI v3) named textures, feedback trails, multi-pass bloom, data-driven charts and instanced particles / sprites, with real alpha, typed reusable parameters, server-side validation with line/column errors, and an effect library. The same shader runs in the WebGPU preview and the Vulkan export.

Как установить скилл shaderfx-effects?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл shaderfx-effects запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить shaderfx-effects с