green-screen

green-screen is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 168 tokens per session (1,042 once invoked), scanned A, original, Apache-2.0.

A video compositing tool that removes a green screen, blue screen, or chosen solid colour and places the foreground over a new background.

In plain words
What is it for?
Use it to replace a filmed backdrop with an image, video, solid colour, or a blurred version of the original scene.
Why use it?
It handles colour removal, green-edge cleanup, edge blending, background sizing, and audio preservation in one process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/shared/scripts/chromakey.py key -i <绿幕视频> \.

Good fit Use it to replace a filmed backdrop with an image, video, solid colour, or a blurred version of the original scene.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel
agentmods
npx agentmods add skills/zju-real/easel/green-screen

Made for: Claude Code, Codex.

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 green-screen

README.md
[![agentmods](https://agentmods.dev/badge/skills/zju-real/easel/green-screen/github.svg)](https://agentmods.dev/skills/zju-real/easel/green-screen)
Your own site
<a href="https://agentmods.dev/skills/zju-real/easel/green-screen"><img src="https://agentmods.dev/badge/skills/zju-real/easel/green-screen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for green-screen

Your own site · 80×15
<a href="https://agentmods.dev/skills/zju-real/easel/green-screen"><img src="https://agentmods.dev/badge/skills/zju-real/easel/green-screen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00168 $0.01042
Opus 5 $0.00084 $0.00521
Sonnet 5 $0.00034 $0.00208
Haiku 4.5 $0.00017 $0.00104

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

Security

Grade A, and why

green-screen scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/openclaw/green-screen/SKILL.md · 70 lines

What it actually says

绿幕抠像 / 换背景合成

把绿幕前景抠出来合成到新背景。全部走 skills/shared/scripts/chromakey.py不要手拼 chromakey/overlay 滤镜——脚本已处理抠像、溢色抑制(despill)、边缘融合、 背景缩放、音轨保留。

只改画幅见 video-reframe;从零 AI 生成画面见 ai-video-gen;通用剪辑见 video-editing

输入

字段 必填 说明
前景视频 绿幕/蓝幕拍摄的素材(没给就问)
背景 四选一:图片 / 视频 / 纯色 / 前景自身模糊
幕布色 默认绿 0x00ff00;蓝幕用 0x0000ff

输出(outputs/主题名/

  • 合成后视频(*-composited.mp4
  • 报告:分辨率、抠掉的颜色、所用背景

执行步骤

脚本路径(相对项目根):skills/shared/scripts/chromakey.pykey -h 看参数)。

# 合成到图片背景
python skills/shared/scripts/chromakey.py key -i <绿幕视频> \
  --bg <背景图> -o outputs/主题名/<名>-composited.mp4

# 合成到视频背景(背景自动循环补足)
python skills/shared/scripts/chromakey.py key -i <绿幕视频> \
  --bg <背景视频> -o outputs/主题名/<名>.mp4

# 合成到纯色背景
python skills/shared/scripts/chromakey.py key -i <绿幕视频> \
  --bg-color white -o outputs/主题名/<名>.mp4

# 背景=前景自身放大模糊(虚化景深感)
python skills/shared/scripts/chromakey.py key -i <绿幕视频> \
  --bg-blur -o outputs/主题名/<名>.mp4

调参(抠不干净时)

  • 绿边残留 / 抠不净:调大 --similarity(默认 0.30,可到 0.4)。
  • 主体边缘被吃 / 镂空:调小 --similarity,或加大 --blend(默认 0.10)柔化边缘。
  • 主体泛绿(溢色):脚本已自动 despill;仍明显时说明幕布打光不匀,属素材问题。
  • 蓝幕--color 0x0000ff

规则

  1. 幕布色默认绿;蓝幕/其它色用 --color 指定。
  2. 背景四选一(--bg / --bg-color / --bg-blur),互斥。
  3. 背景自动缩放裁切到前景画幅、视频背景自动循环补足到前景时长。
  4. 前景音轨自动保留。
  5. 抠像质量取决于素材(幕布纯净度、打光均匀度);脚本尽力,但拍摄差无法救回。
  6. 产物统一进 outputs/主题名/

参考来源

绿幕抠像用 ffmpeg chromakey(按颜色距离生成 alpha)+ despill(抑制主体边缘溢色)+ overlay 合成,是标准无 GPU 抠像方案。把颜色阈值、边缘融合、背景适配封装成确定性脚本。

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 · 70 lines · 168 tokens per session scan A 516f15c58eef

Subscribe to this mod's changes

green-screen is a skill published in the GitHub repository ZJU-REAL/Easel (494 stars, last pushed 2d ago), licensed Apache-2.0. It adds 168 tokens to every session and 1,042 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. 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

ppt-generation

Generate PPTX presentations from slide plan + content.

HezaoHezao/poirot · 13 tokens

chart-visualization

Generate charts: select type, extract data, render image.

HezaoHezao/poirot · 17 tokens

jacky-motion2-0-srt

A workflow for turning a Chinese spoken script and matching SRT subtitle file into a single 16:9 HTML information animation. SRT is a subtitle file that stores text with start and end times; the animation follows those times and adds recorded-screen placeholders when needed.

Jackywxsz/Jacky-motion · 127 tokens

video-podcast-maker

Use when the user gives a topic and wants an automated topic-driven narrated explainer, podcast, or knowledge-summary video (Bilibili / YouTube / Xiaohongshu / Douyin / WeChat Channels), or asks to learn visual design patterns from a reference video/image. Trigger when the user mentions creating a knowledge video…

Agents365-ai/video-podcast-maker · 214 tokens

video-podcast-maker-lite

Minimal personal narrated-video pipeline — a topic becomes a talking-head-free explainer MP4 (1080p or 4K) via script → Azure TTS (SSML) → Remotion. Use when the user wants a quick narrated video from a topic without the full video-podcast-maker machinery (no extra skills, no thumbnails/shorts/publish matrix). Do NOT…

Agents365-ai/video-podcast-maker · 96 tokens

video-podcast-maker-nano

Smallest personal narrated-explainer-video pipeline (spoken narration over visuals, not an audio podcast), fully tool-agnostic and autonomous by default — topic → research ∥ asset collection → script → TTS → video → 4K render ∥ publish info + cover. The skill defines the pipeline logic and self-verified checkpoints…

Agents365-ai/video-podcast-maker · 163 tokens