taste-distillation
Skill này làm gì
Công cụ này phân tích video tham khảo để tạo “style pack”. Bộ này chứa thông tin về màu sắc, nhịp dựng (độ dài mỗi cảnh) và các yếu tố hình ảnh khác, giúp bạn tái tạo nhất quán một phong cách trong các dự án mới.
Khi nào nên dùng
- ✓Khi bạn muốn sao chép phong cách hình ảnh của một video cụ thể.
- ✓Khi bạn muốn tạo một phong cách hình ảnh có thể dùng lại cho nhiều dự án.
- ✓Khi bạn muốn biến các tài liệu tham khảo hình ảnh thành bộ công cụ chỉnh dựng.
Liên kết skill
https://github.com/affaan-m/ECC/blob/main/skills/taste-distillation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy làm cho video này có cùng phong cách hình ảnh và nhịp dựng với video tham khảo khác này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ xem các video tham khảo để lấy dữ liệu về màu sắc, thời lượng cảnh và các chi tiết hình ảnh khác. Dữ liệu này được tổ chức thành một “style pack” có thể áp dụng cho video mới.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Taste Distillation
This standalone skill ships its implementation in scripts/; use
taste-application for the subsequent generated or local-take edit. Keep each
named genre in its own pack. Measurements from Flash Ethereal must not be
silently reused for Fluid Sketch or 3D Cyber Glitch. A measured zero is valid
data; distinguish it from an absent field.
Local dependencies are in scripts/requirements.txt. Separately authorized
provider work also needs scripts/requirements-live.txt, credentials and
explicit TASTE_FORGE_ALLOW_LIVE=1. --dry-run does not read credentials or
submit jobs. Never infer that a workflow was saved from a local endpoint name;
use the actual provider-side workflow or request evidence.
Turn reference videos into a style pack: a folder of measurements and assets that later stages consume deterministically.
When to Activate
- "capture the look of these clips" / "distill the vibe" / "make this repeatable"
- User has reference footage and wants a LUT, a grade, or matching pacing
- Building a library of looks partitioned by genre
- Any request where the answer would otherwise be "describe the style in a prompt"
The Core Finding
Prompting cannot deliver a grade. Measurement can.
Measured on real footage: three paid generations with escalating colour direction moved midtone a* from +1.9 → +2.8 → +0.3 against a +24.9 target, and contrast never left ~19 against a 34.7 target. Applying a measured pack to the same footage hit chroma MAE 1.88 and contrast 33.7 in one deterministic pass, for free.
So the split is: the model supplies content, motion and lighting structure; the pack supplies the look. Colour words in a generation prompt are worse than useless — they cost money and push the render away from the neutral base the LUT wants. Say so explicitly in the prompt: "Colour: none. Render neutral. Grading is applied afterwards."
What a Pack Contains
stylepacks/<genre>/
grade.json measured colour statistics (see below)
cadence.json every detected shot boundary + the derived distribution
look.cube 33^3 LUT, drag straight into Resolve as a node LUT
spec.json VLM description, grounded in the measurements
grounding.txt the measured facts fed to the VLM
stills/ full-res frames from the longest shots (conditioning images)
plates/ screen-blend overlay elements lifted onto black
props/ minted GLB meshes
pack.json manifest
Running It
python mint.py --genre <name> --refs a.mov b.mov c.mov # offline, no API key
python distill.py --genre <name> # one VLM call
mint.py is pure numeric analysis — no network, no key, deterministic, so a pack
can be regenerated rather than backed up.
The Measurements That Matter
Chroma by luminance zone, not globally
Colour identity usually lives in one luminance band. A global a*/b* offset
mathematically cannot represent split-toning. Measure chroma inside zones
(L* edges [0,15,35,55,75,100]).
A real signature: violet at L*25 (a* +24.9, b* −17.5), near-neutral at both ends. Reporting only the darkest and lightest zones calls that "uniform cast" — always print the whole curve.
Median + MAD, never mean + std
Chroma in real reference sets is strongly right-skewed. On one measured reel the mean midtone chroma was 36.9 against a median of 17.5, so a mean-based LUT pushed colour ~3x harder than the material warranted.
Contrast is std(L*), not white minus black
The white−black range is ~100 on almost any real footage and discriminates nothing.
Background share is a first-class statistic
Record the share of pixels below L*10. No moment of the distribution can see it: a clip can hold the right mean, std and chroma while its blacks have been lifted into grey. This is exactly how a grade once scored MAE 1.88 / contrast 33.7 while the actual frame was a muddy purple mess.
Mask the interface before measuring
Screen-recorded references carry static furniture — letterbox bars, a status bar, a like icon, caption text. All of it lands in the statistics as if it were the look: black bars inflate shadow weight, a red heart skews a* toward magenta. Temporal variance separates them cleanly — the footage moves, the interface does not — so no hand-tuned crop is needed. On real material this keeps ~65% of pixels.
Cadence needs an adaptive threshold
…
Câu hỏi thường gặp
“Style pack” là gì?
Đó là bộ file ghi lại đặc điểm hình ảnh của video tham khảo, như màu sắc và nhịp dựng, để có thể áp dụng nhất quán cho các video khác.
Tại sao tôi không chỉ mô tả phong cách trong prompt?
Mô tả màu sắc và nhịp trong prompt không chính xác và thậm chí có thể làm kết quả tệ hơn. Công cụ này đo đặc điểm thực tế của video để bảo đảm độ chính xác.
“Style pack” chứa những gì?
Nó chứa dữ liệu màu sắc đã đo, thông tin về các điểm cắt cảnh, một file LUT (dùng để chỉnh màu) và các yếu tố hình ảnh khác như ảnh tĩnh nổi bật (hero still) và lớp phủ (overlay plate).
Chi tiết
Mô tả gốc của tác giả
Measure a set of reference videos into a reusable style pack - colour grade as a 3D LUT, cut rhythm as a shot-length distribution, hero stills, screen-blend overlay plates, and a text spec for a generative model. Use when the user wants to capture the look of reference footage, build a repeatable look, mint assets from references, or reproduce someone's grade and pacing.
repo: affaan-m/ECC
Độ phổ biến
- Sao GitHub
- 280k
- Vị trí xếp hạng
- #417
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
Skill tương tự
ai-presenter-video
260kBiến một chủ đề hoặc kịch bản và một ảnh người dẫn bạn được phép dùng thành video người dẫn hoàn chỉnh, có thuyết minh và phụ đề.
brag-slim
260kCho phép agent của bạn làm video ra mắt ngắn cho dự án hoặc trang web, tái sử dụng giao diện, phông chữ và tài nguyên thật cùng nhạc và âm thanh.
kanban-video-orchestrator
260kLên kế hoạch dự án video như một nhóm agent AI, mỗi agent lo một phần như cảnh, nhạc hay chỉnh sửa, từ teaser ngắn đến câu chuyện dài.