Skip to content
Back to skills

Creative Media Prep

ASecurity

Deterministic local media preparation, visual quality assurance, asset triage, and sandboxed HTML/JS motion iteration inside Iris. Use for raw video shot breakdown, studio subject cutout and scene compositing with 3-backdrop edge inspection, pixel-preserving localized image repair (zero drift outside mask), batch messy-folder deduplication and corruption quarantine, or creating/revising versioned Code Motion nodes (`plugin:code-project`). Prefer these zero-cost local tools before paid generat...

  • 149 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgonodeawssecurity

Works with

  • cli

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add avabbbb/Iris --skill creative-media-prep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Creative Media Prep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Creative Media Prep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/avabbbb-creative-media-prep/badge)](https://www.skillsdirectory.com/skills/avabbbb-creative-media-prep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: creative-media-prep
description: Deterministic local media preparation, visual quality assurance, asset triage, and sandboxed HTML/JS motion iteration inside Iris. Use for raw video shot breakdown, studio subject cutout and scene compositing with 3-backdrop edge inspection, pixel-preserving localized image repair (zero drift outside mask), batch messy-folder deduplication and corruption quarantine, or creating/revising versioned Code Motion nodes (`plugin:code-project`). Prefer these zero-cost local tools before paid generative redraws.
---

# Creative Media Prep & Deterministic QA

Prefer fast, zero-cost, pixel-accurate local tools before paid generative models whenever preservation, auditability, or batch hygiene matters. Reserve paid generation for creative synthesis that deterministic image/video processing cannot compute.

## Routing Rules (Deterministic First)

1. **Raw video breakdown & keyframe selection (`iris_video_shot_breakdown`)**
   - Detect hard cuts deterministically, avoid fade-in black/blurry boundary frames by choosing settled interior timestamps, emit standardized `shot_{NN}_{SS}s{hh}.png` names, a structured manifest, and a contact sheet node on Canvas.
2. **Subject cutout & scene compositing (`iris_local_cutout_composite`)**
   - For clean or studio-lit backdrops, run deterministic border-seeded flood + chromaticity/gradient barrier + enclosed-gap detection + foreground decontamination + directional relighting rather than asking an image generator to redraw the person (which causes face/dimension drift).
   - Always produce and visually inspect the **3-backdrop edgecheck** strip (black / white / crimson) to verify collar, hairline, and arm-torso gaps before declaring done.
3. **Localized detail repair & Canvas region targeting (`iris_localized_repair_qa`)**
   - Never deliver an unconstrained full-image generative edit when only a small region (tie, logo, wardrobe blemish) should change.
   - When the user circles/boxes a region on Canvas (`圈选区域给 Agent`), parse the injected `[iris:region nodeId="..." title="..." x=.. y=.. w=.. h=.. featherPx=..]` coordinates and prefer `action="local_repair"` with `region: { x, y, w, h }` for deterministic $0 texture restoration (stripes, fabrics, stains, tears) with `outsideChangedPixels === 0` before calling a paid generative redraw.
   - For generative candidates, use `action="composite_back"` so pixels outside the mask stay mathematically byte-identical (`outsideChangedPixels === 0`, `outsideMaxChannelDiff === 0`), and always output the red-overlay pixel-diff heatmap alongside the repaired image as visual proof.
4. **Messy asset folder triage & error recovery (`iris_asset_triage`)**
   - Never delete or overwrite source files in place; keep triage non-destructive and `read`-tiered.
   - Classify by **magic bytes** (not file extension) to catch PNG/JPEG disguised as `.mp4`, 0-byte or truncated ISO-BMFF containers, exact SHA-256 duplicates, and ultra-low-res thumbnails.
   - Before FFmpeg or Cut export, preflight trailing-comma JSON configs and odd image dimensions (`pad=ceil(iw/2)*2:ceil(ih/2)*2` for `libx264` `yuv420p`).
5. **Editable HTML/JS Motion & iterative revisions (`iris_code_project` + `iris_workflow_history`)**
   - Keep `plugin:code-project` nodes strictly isolated with `sandbox="allow-scripts"` (never `allow-same-origin`).
   - Render onto a primary `<canvas>` and expose top-level `CONFIG` parameters + `window.seekToFrame(frame)` so Canvas users can scrub any frame deterministically AND export real H.264/VP9 MP4 directly in-browser via Mediabunny WebCodecs (`导出 MP4`, $0, auto-attached as a Canvas video node ready for Cut).
   - Preserve every revision (`v1`, `v2`, `v3`) for lossless diff and one-click rollback. Take a canvas snapshot via `iris_workflow_history` before large multi-node edits.

## Context Precedence & Boundaries

- Follow Iris's 6-tier context precedence strictly: **1 Security & Approval Gates > 2 Current Task > 3 Project Norms > 4 User Personal Norms (read-only to Agent) > 5 Agent-Learned Preferences > 6 Default Skill/Tool Policy**. Never attempt to overwrite or delete user-authored norms via `iris_memory` (the harness rejects it with `USER_NORM_PROTECTED`).
- Never bypass `spend` or `delete` approval gates in `agentToolPolicy`.
- Never claim a visual defect is fixed without inspecting the rendered artifact (edgecheck strip, diff heatmap, or scrubbed motion frame).
- Report exact counts, hashes, pixel-diff metrics, and quarantined files instead of vague summaries.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.