CLI tool that analyzes web animation videos frame-by-frame using Claude Vision
Debugging CSS animations and transitions is painful. You see a desync, but figuring out the exact timing is trial and error. Browser DevTools don't help with complex sequences.
Claude Eye uses AI vision to analyze screen recordings frame-by-frame:
- Record your animation with any screen recorder
- Analyze with
npx claude-eye analyze video.mov - Get a detailed report showing exact timestamps of desyncs
# Clone the repo
git clone https://github.com/santifer-dev/claude-eye.git
cd claude-eye
# Install dependencies
npm install
# Build
npm run build- Node.js 18+
- ffmpeg installed (
brew install ffmpegon macOS) CLAUDE_EYE_API_KEYenvironment variable set
npx claude-eye analyze video.movnpx claude-eye analyze video.mov \
--fps 5 \ # Frames per second to extract (default: 5)
--start 5 \ # Start analysis at second 5
--end 15 \ # End at second 15
--context "CSS opacity transition" \ # Context for Claude
--output ./reports/ # Output directory🔍 Claude Eye v1.0.0
Animation analysis powered by Claude Vision
Video: error.mov
FPS: 5
Start: 5s
End: 15s
Context: CSS opacity transition
✔ Extracted 50 frames (5s - 15s)
✔ Analyzed 50 frames
✔ Timeline built: 4 elements tracked, 2 issues found
✔ Report generated
✅ Analysis complete!
Output files:
Report: ./output/report.md
JSON: ./output/analysis.json
Frames: ./output/frames/
⚠️ Found 2 timing issue(s)
- 00:06.200: Elements out of sync: 1 visible, 2 still transitioning (70% opacity spread)
- 00:06.600: Elements out of sync: 2 visible, 1 still transitioning (45% opacity spread)
export CLAUDE_EYE_API_KEY="sk-ant-..."- Extract: FFmpeg extracts frames at specified FPS
- Analyze: Each frame is sent to Claude Vision API
- Timeline: Results aggregated, desyncs detected
- Report: Markdown report generated
The generated report.md includes:
- Summary: Video info, analysis parameters
- Timeline: Frame-by-frame opacity table
- Transition Points: When elements change state
- Desync Events: Detailed breakdown of timing issues
- Recommendations: Suggested fixes
Claude Eye generates reports that Claude Code can read:
# In Claude Code:
"Read the Claude Eye report at output/report.md and suggest the fix"
MIT
CLI que analiza videos de animaciones web frame por frame usando Claude Vision
Debuggear animaciones CSS es doloroso. Ves un desync, pero encontrar el timing exacto es prueba y error. Las DevTools del navegador no ayudan con secuencias complejas.
Claude Eye usa visión AI para analizar grabaciones de pantalla frame por frame:
- Graba tu animación con cualquier grabador de pantalla
- Analiza con
npx claude-eye analyze video.mov - Obtén un reporte detallado con timestamps exactos de desyncs
# Clonar el repo
git clone https://github.com/santifer-dev/claude-eye.git
cd claude-eye
# Instalar dependencias
npm install
# Build
npm run build- Node.js 18+
- ffmpeg instalado (
brew install ffmpegen macOS) - Variable de entorno
CLAUDE_EYE_API_KEYconfigurada
npx claude-eye analyze video.movnpx claude-eye analyze video.mov \
--fps 5 \ # Frames por segundo a extraer (default: 5)
--start 5 \ # Iniciar análisis en segundo 5
--end 15 \ # Terminar en segundo 15
--context "CSS opacity transition" \ # Contexto para Claude
--output ./reports/ # Directorio de salidaexport CLAUDE_EYE_API_KEY="sk-ant-..."- Extrae: FFmpeg extrae frames al FPS especificado
- Analiza: Cada frame se envía a Claude Vision API
- Timeline: Resultados agregados, desyncs detectados
- Reporte: Genera reporte Markdown
Claude Eye genera reportes que Claude Code puede leer:
# En Claude Code:
"Lee el reporte de Claude Eye en output/report.md y sugiere el fix"
MIT