clip-feedback
Skill0 starsChanged 7 months agoMITView on GitHub
Analyze an AI-generated video clip against the prompt that produced it. Detects canon rule violations, emotion/energy/world mismatches, palette drift, and quality issues, then suggests specific prompt fixes to improve the next generation. Use whenever the user has a Veo, Seedance, Kling, Runway, or other AI-generated clip and asks "why does this look wrong", "check the clip", "check this clip", "prompt feedback", "analyze this clip", "compare clip to prompt", or anytime a video was generated from a prompt and needs iteration. Trigger this skill even when the user casually asks "is this good" about an AI clip — prompt vs reality analysis is the job.
- Reads credentials
- Installs packages
In this repository5 other files it gives its agents.
- debug-pipelineSkill
- go-loopSkill
- lockscenesSkill
- nb2-batchSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Ask which clip (path) if not obvious from context
- Distinctive: line 60
Ask for or find the prompt that generated it
- Very specific: line 61
Run --rules-only first for instant feedback
- Distinctive: line 62
If the user wants deeper analysis, run the full version
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Clip Feedback — Prompt Intent vs Reality
What this does
Takes a video clip plus the prompt that generated it, analyzes what the clip actually looks like (via Gemini 2.5 Pro), and returns:
- Rule violations — character names in prompt, 4th wall breaks, missing focal length, safety trigger stacking
- Intent gaps — emotion mismatch, world palette drift, shot type wrong, energy level off
- Quality issues — text overlays, CGI artifacts, motion blur, missing face
- Specific prompt fixes — exact corrections to improve the next generation
Usage
Quick rule check (no API call — instant)
python3 scripts/prompt_feedback.py \
--clip /path/to/clip.mp4 \
--prompt "the generation prompt used" \
--rules-onlyFull analysis (calls Gemini 2.5 Pro — ~10s)
python3 scripts/prompt_feedback.py \
--clip /path/to/clip.mp4 \
--prompt "the generation prompt used" \
--source veoSupported sources: veo, seedance, kling, runway, or any label.
From a prompt file
python3 scripts/prompt_feedback.py \
--clip /path/to/clip.mp4 \
--prompt-file /path/to/prompt.txt \
--source seedanceJSON output (for piping to other tools)
python3 scripts/prompt_feedback.py \
--clip /path/to/clip.mp4 \
--prompt "..." \
--jsonWhen the user says "check the clip"
- Ask which clip (path) if not obvious from context
- Ask for or find the prompt that generated it
- Run
--rules-onlyfirst for instant feedback - If the user wants deeper analysis, run the full version
- Present the feedback summary and suggested fixes
- Offer to apply the fixes and regenerate
What it checks (canonical rules)
| Rule | What it catches |
| No character names | "Jane" → should be "the daughter" |
| No 4th wall | "looking at camera" → eyeline off-camera |
| No resolution text | "2K" in prompt → handled by tool settings |
| No music/dialogue | "music" in prompt → add to avoid line |
| Safety stacking | 3+ trigger words in one sentence → split |
| Focal length required | Missing "85mm, f/1.4" → add lens spec |
| Material descriptors | No textures → add tactile nouns |
| World palette | Palette drift → strengthen palette direction |
| Emotion match | Prompt says "dread", clip reads "calm" → add atmosphere cues |
| Quality flags | Text overlays, CGI glow, motion blur → add negative prompts |
Configuration
Configure your canonical rules in reference/prompt-rules.md. Each rule gets:
- A pattern (regex or keyword list) to detect violations in prompts
- A fix template (the correction to suggest)
- A severity (block / warn / info)
Dependencies
- Python 3.10+
google-generativeaifor Gemini analysisffmpegon PATH for frame extraction
Setup
pip install google-generativeai pillow
export GEMINI_API_KEY=your_key_hereDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

