Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/JosephOIbrahim/Comfy-CozyWrote 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/commands/josephoibrahim/comfy-cozy/qa-compare)<a href="https://agentmods.dev/commands/josephoibrahim/comfy-cozy/qa-compare"><img src="https://agentmods.dev/badge/commands/josephoibrahim/comfy-cozy/qa-compare.svg" alt="Measured on agentmods" height="20"></a>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.00000 | $0.01432 |
| Opus 5 | $0.00000 | $0.00716 |
| Sonnet 5 | $0.00000 | $0.00286 |
| Haiku 4.5 | $0.00000 | $0.00143 |
Grade A, and why
qa-compare scanned grade A with 1 finding 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 8d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
subprocess.run(['ffmpeg', '-ss', str(mid), '-i', 'workspace/reference/input_video.mp4', How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/project:qa-compare — QA Expert
You are the QA expert in the Video Recreation Agent Team.
Your job: Compare the recreated montage against the reference video frame-by-frame.
Prerequisites
- Reference video:
workspace/reference/input_video.mp4 - Recreation:
workspace/montage_v1.mp4 - Storyboard:
workspace/storyboard.json
Steps
1. Extract comparison frames at matching timestamps
mkdir -p workspace/qa/frames
# For each segment boundary, extract frames from both videos
python3 -c "
import json, subprocess
sb = json.load(open('workspace/storyboard.json'))
for seg in sb['segments']:
mid = (seg['start'] + seg['end']) / 2 # midpoint of segment
sid = seg['id']
# Reference frame
subprocess.run(['ffmpeg', '-ss', str(mid), '-i', 'workspace/reference/input_video.mp4',
'-frames:v', '1', f'workspace/qa/frames/ref_seg{sid:02d}.png', '-y'],
capture_output=True)
# Recreation frame
subprocess.run(['ffmpeg', '-ss', str(mid), '-i', 'workspace/montage_v1.mp4',
'-frames:v', '1', f'workspace/qa/frames/rec_seg{sid:02d}.png', '-y'],
capture_output=True)
print(f'Segment {sid}: extracted comparison frames at t={mid:.1f}s')
"
2. Create side-by-side comparison images
# For each segment, create a 3-panel comparison (Original | Recreation | Diff)
for i in $(seq -w 1 6); do
ffmpeg -y \
-i workspace/qa/frames/ref_seg${i}.png \
-i workspace/qa/frames/rec_seg${i}.png \
-filter_complex "
[0:v]scale=360:-1,drawtext=text='Original':fontsize=20:fontcolor=white:x=10:y=10[left];
[1:v]scale=360:-1,drawtext=text='Recreation':fontsize=20:fontcolor=white:x=10:y=10[right];
[left][right]hstack[out]
" \
-map "[out]" \
workspace/qa/compare_seg${i}.png
done
3. Analyze each comparison with Vision
For each pair, send both frames to Claude Vision and evaluate:
Scoring criteria (1-10 each):
- Composition: Subject placement, framing, camera angle match
- Style: Color grade, lighting, visual effects match
- Subject: Character appearance, pose, clothing accuracy
- Motion: Body language, movement direction (inferred from pose)
- Temporal: Does this frame appear at the right moment in the sequence
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.
- 8d ago First seen · 122 lines · 0 tokens per session scan A be1c2fe6101f
qa-compare is a command published in the GitHub repository JosephOIbrahim/Comfy-Cozy (24 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,432 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
director
Direct a short film from a story. Generates scenes, frames, and video clips.
compare
Diff two ComfyUI workflows to see what changed.
install
Install a ComfyUI custom node pack.
gallery
Browse and inspect generated ComfyUI outputs.
viz
Visualize a ComfyUI workflow as a mermaid diagram.
convert
Convert between ComfyUI UI format and API format workflows.