AI Image Pairwise Eval — AI skill for Claude Code
Evaluate AI-generated art without vibes: position-bias-safe pairwise judging and similarity to reference images with open_clip.
How to install AI Image Pairwise Eval
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Kein-chronicle/ai-image-pairwise-eval and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Image Pairwise Eval does
Evaluate AI-generated art without vibes: position-bias-safe pairwise judging and similarity to reference images with open_clip.
Alternatives in AI
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Pixel Agents — Compressed Reference — VS Code extension with embedded React webview: pixel art office where AI agents (Claude Code terminals) are an 6.5k ★
- Fast Agent — Code, Build and Evaluate agents - excellent Model and Skills/MCP/ACP Support 3.7k ★
README
ai-image-pairwise-eval
**Evaluate AI-generated art without vibes: position-bias-safe pairwise judging and similarity to reference images with open_clip.**
[](https://github.com/Kein-chronicle/ai-image-pairwise-eval/actions/workflows/test.yml) 
Why
An LLM that says "this looks better" mostly says "this was shown first". Ask twice with the order swapped and treat a flipped answer as a tie. For references, measure embedding similarity instead of describing.
**Status: beta (embedding inference untested).** Beta: only the pairwise logic is tested; model inference is not exercised by the tests. Embedding similarity is not a quality score.
Install
**As a Claude Code skill** (Claude uses it when the task matches the skill description):
git clone https://github.com/Kein-chronicle/ai-image-pairwise-eval.git ~/.claude/skills/art-eval
For a single project, clone into `/.claude/skills/art-eval` instead, then start a new Claude Code session.
**As plain scripts:**
git clone https://github.com/Kein-chronicle/ai-image-pairwise-eval.git
cd ai-image-pairwise-eval
**Requires:** Python 3.10+, Pillow, torch, pillow, open_clip_torch (optional, for art_similarity.py).
Use the security-patched Pillow runtime:
python3 -m pip install -r requirements.txt
Quick start
Resolve a pairwise judgement:
$ bash examples/demo.sh
# Position bias: ask the judge twice with the two images swapped.
# Each answer is the POSITION picked (first|second). Consistent picks mean a real preference:
$ python3 scripts/pairwise.py first second
A
[exit 0]
# Picking 'first' both times means the judge likes position, not the image: a tie
$ python3 scripts/pairwise.py first first
TIE (answer flipped with order: position bias)
[exit 1]
# Embedding similarity to references needs: pip
Related Skills
Veo Prompts Skill
Free Claude Code & Codex skill: Prompting Google's Veo and the Omni Flash model in Flow or the Gemini API: pro
Skill Photo Album
A Claude Code skill that turns a large mixed pool of photos, videos and AI-edited images into a print-ready ve
Jev Search Rerank Eval
Does a TypeSafe Jev rerank beat embedding search? Graded relevance eval (9,831 pairs, 164 zh/en queries) over
Script To Video Prompts
Agent Skill that turns scripts into paste-ready AI video prompts: one prompt per 10-second clip, with timed sh
Generate Clip
Generate AI video clips for your Remotion project. Create unique footage from text descriptions or animate sti
Codixel
Claude Code skill for making pixel art with AI: from a reference image to an animated sprite, plus a small Jav
Related Agents
Image Creator
AI image generation specialist. Use proactively when the user wants to create images, generate pictures, make
Image Generator
Generates and edits images using the OpenAI Image API via the bundled CLI (scripts/image_gen.py). Use for conc
Ranking Ctr Specialist
Specialist for ads, recommendation, and ranking models (CTR/CVR prediction) - calibration, normalized entropy,