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.
git clone --depth 1 https://github.com/ZJU-REAL/Easelnpx agentmods add skills/zju-real/easel/green-screenWrote 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.
[](https://agentmods.dev/skills/zju-real/easel/green-screen)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.py(key -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。
规则
- 幕布色默认绿;蓝幕/其它色用
--color指定。 - 背景四选一(
--bg/--bg-color/--bg-blur),互斥。 - 背景自动缩放裁切到前景画幅、视频背景自动循环补足到前景时长。
- 前景音轨自动保留。
- 抠像质量取决于素材(幕布纯净度、打光均匀度);脚本尽力,但拍摄差无法救回。
- 产物统一进
outputs/主题名/。
参考来源
绿幕抠像用 ffmpeg chromakey(按颜色距离生成 alpha)+ despill(抑制主体边缘溢色)+
overlay 合成,是标准无 GPU 抠像方案。把颜色阈值、边缘融合、背景适配封装成确定性脚本。
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.
- 9d ago First seen · 70 lines · 168 tokens per session scan A 516f15c58eef
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.
Other skills, from other repositories
ppt-generation
Generate PPTX presentations from slide plan + content.
chart-visualization
Generate charts: select type, extract data, render image.
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.
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…
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…
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…