openscreen-effects
БесплатноБез исполняемых скриптовНе проверенWrites Off-Menu effects for OpenScreen, custom WGSL shaders that the native compositor draws on the real recording, in the preview and in every export…
от getopenscreen★ 8 547 звёзд на GitHubОб этом скилле
Write Off-Menu effects
An Off-Menu effect is a function you write in WGSL and lay on the timeline like a zoom. The
compositor runs it on every output pixel, in the preview and in the export alike, so what
getFrames shows you is what the export will contain. Write one when no setting does what the
user asked; reach for settings first (setEditorSettings, zooms, annotations).
If a tool this skill names is not in your tool list, the installed OpenScreen is older than this
skill: offer to update it (see the openscreen-demo skill, step 1), or fall back to what exists,
getFrames with atSec in place of getContactSheet, of getBeforeAfter and of getFrames
region.
Before you write
- Read the resource
openscreen://effects/contract. It is the authority on contract 1: inputs, parameters, rules, targets, cost. This skill does not replace it. - Read the project with
getCurrentDocument. Effects are placed in ruler seconds, like zooms and annotations.effectslists the regions,effectDefinitionsthe code's name, cost and parameters, without the code (getEffectreads it). - Decide the moments the effect acts on: a click, a beat, a block of the interface. Write them down with their ruler seconds; you will look at exactly those moments.
The loop
- Write the shader and its parameters, and lay it with
addEffect:startSec,endSec, andeffectwithname,description(one sentence on what it does, for the next agent),codeandparams. Leavetargetout: the defaultimagekeeps text readable. - Read the answer. Code that does not compile comes back with the compiler's error at the line of your code: fix that line and call again. An accepted effect returns its tier and, when the region is longer than the tier is meant for, a recommendation.
- Look at the moments it acts, never at a random frame:
getContactSheetwithprojectId,startSec/endSecover the 1 to 2 s where the effect moves,count12 to 24: the animation frame by frame in one image.getFrameswithprojectIdandregionon the part that matters (a ring, the loupe's glass, a corner of a highlight) to judge it at the video's own resolution.
- Re-tune. A value change is
setEffectwithvalueson the region (effectRegionId); a code change issetEffectDefinitionon theeffectId, which recompiles and updates every region using it. Moving or resizing the region issetEffectwithstartSec/endSec. To see exactly what a re-tune changed, callcreateCheckpointbefore it andgetBeforeAfterwith thatcheckpointIdafter it: each moment comes back as a before and after pair, with the region of the frame that changed. A moment that reads unchanged shows no difference the comparison can see: a faint change can pass it, so compare aregionwhen it matters. - Stop when the effect reads at a glance and nothing on screen fights it. Remove a failed
attempt with
removeModifieron the region id; its definition goes with its last region.
Expect two or three iterations. More than five on one look means the idea, not the tuning, is wrong: simplify it.
What an effect reads
| Input | Use it for |
|---|---|
frame(uv) |
The composed picture at the output's resolution: grading, distortion, glows. |
footage(p) |
The recording itself at its own resolution, at point p of its surface, with no cursor, webcam, frame or background. Anything that magnifies. |
image(p), ctx.image |
The effect's own image, when you gave it one: a logo, a texture, a mask. p is the image's own uv; ctx.image holds its size in pixels (xy) and its width over height (z). See "An image of its own". |
ctx.time |
Programme seconds, continuous through cuts and speed changes. |
ctx.region |
x: progress 0 to 1 over the region; y: its length in s; z: seconds since it began. Entrances and exits. |
ctx.cursor |
xy: the pointer tip in uv; z: 1 while it is on screen. |
ctx.clicks[i] |
The last 4 clicks of the last 2 s, newest first: xy where, z seconds since, w 1 when the slot is used. |
ctx.footage, ctx.camera |
The recording's and the webcam's rectangles in uv (x, y, w, h); the camera is zero-sized without one. |
fx_to_footage(uv), fx_from_footage(p) |
Map between output uv and the recording's surface (0 to 1 across the recording), zoom, layout and 3D camera included. |
ctx.footage_aspect, ctx.aspect, ctx.resolution |
Round distances on the recording, round distances on the output, output size. |
params.<name> |
Your de |
Установить openscreen-effects в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл openscreen-effects?
Writes Off-Menu effects for OpenScreen, custom WGSL shaders that the native compositor draws on the real recording, in the preview and in every export, through addEffect, setEffect, setEffectDefinition and getEffect. Covers the write, compile, look, re-tune loop, what an effect can read (the composed frame, the recording at full resolution, time, the pointer, recent clicks, the recording's and the webcam's rectangles, typed parameters), cost tiers and how to stay light, the pitfalls that waste iterations, and a cookbook of validated effects (a soft ring on each click, a glass loupe, a spotlight on an interface block). Use when the user asks for a visual effect no OpenScreen setting offers, a click effect, a ripple, a glow, a highlight, a loupe or magnifier, a lens, a spotlight, a colour grade, a glitch or a transition look, or says shader, WGSL or Off-Menu. Not for placing zooms and callouts (openscreen-motion) or for making a whole demo (openscreen-demo).
Как установить скилл openscreen-effects?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openscreen-effects запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic