Image Insight
Overview
Analyze uploaded images and return structured JSON profiles containing
composition, color, lighting, subject, and background analysis with
actionable recreation parameters for AI image generation.
Triggers
image-insight - Primary trigger for image analysis
- "analyze this image" - Natural language trigger
- "extract visual style" - Style extraction request
- "generate image profile" - Profile generation request
- "what's in this image" - Detailed breakdown request
Workflow
Step 1: Receive Image
Accept the uploaded image file. Verify it's a valid image format.
Step 2: Multi-Category Analysis
Analyze across all schema categories:
- metadata - Confidence, image type, purpose
- composition - Rule, layout, focal points, hierarchy
- color_profile - Dominant colors with hex, palette, temperature
- lighting - Type, direction, shadows, highlights
- technical_specs - Medium, style, texture, depth of field
- artistic_elements - Genre, influences, mood, atmosphere
- typography - Fonts, placement (if text present)
- subject_analysis - Expression, hair, hands, positioning
- background - Setting, surfaces, objects catalog
- generation_parameters - Recreation prompts, keywords
Step 3: Apply Critical Area Rules
For portraits, apply detailed analysis per
references/critical-areas.md:
- Hair: exact length, cut style, natural imperfections
- Hands: each hand separately, finger positions, tension
- Background: wall material distinction
(drywall vs concrete vs brick)
- Lighting: directionality, shadow characteristics
Step 4: Generate JSON Output
Return structured JSON following references/json-schema.md.
Output requirements:
- Valid JSON only - no markdown, no commentary
- All sections populated with specific values
- Hex codes for colors
- Actionable generation prompts
Quick Reference
Color Profile
{
"color": "coral pink",
"hex": "#FF7F7F",
"percentage": "35%",
"role": "primary subject"
}
Lighting Assessment
- Directional: Strong shadows, sculpted appearance
- Diffused: Soft minimal shadows, even illumination
- Assess: type, direction, shadow edge quality, contrast ratio
Subject Analysis Priorities
- Facial expression: mouth, eyes, emotion, authenticity
- Hair: length, cut, texture, natural imperfections
- Hands: position, tension, naturalness
- Body: posture, angle, weight distribution
Resources
references/
- core-prompt.md - Core analysis system prompt
- json-schema.md - Complete JSON output schema
- analysis-rules.md -
Category-specific analysis rules
- critical-areas.md -
Hair, hands, background, lighting details
scripts/
validate_output.py - Validate JSON structure and completeness
Anti-Patterns
- Vague descriptions: Avoid "nice", "good", "beautiful" -
use specific technical terms
- Perfect hair: Never describe hair as "perfect" -
real hair has flyaways, frizz, variation
- Generic backgrounds: Don't say "wall" -
specify material (painted drywall, concrete, brick)
- Skipped hands: Always document hand positions
even if hidden or out of frame
- Markdown in output: Output pure JSON only -
no code blocks, no explanatory text
Extension Points
- Image Type Variants: Create specialized schemas
for landscapes, products, architecture
- Selective Analysis: Add parameter to request specific categories only
- Batch Processing: Extend for analyzing multiple images in sequence
- Confidence Thresholds: Add configurable confidence scoring criteria
Design Rationale
This skill encapsulates 15+ years of visual analysis expertise to:
- Enable consistent, reproducible image analysis across different contexts
- Generate actionable prompts for AI image recreation
(Midjourney, DALL-E, etc.)
- Provide structured data for downstream processing and automation
- Standardize style extraction with emphasis on natural imperfections
over idealized descriptions
- Support multimodal analysis leveraging Claude's vision
capability
1---2name: image-insight3description: Analyze images and generate comprehensive JSON profiles for style recreation. Use when users upload images for visual analysis, style extraction, AI image generation prompts, or need detailed breakdowns of composition, lighting, color, and subject elements.4---56# Image Insight78## Overview910Analyze uploaded images and return structured JSON profiles containing11composition, color, lighting, subject, and background analysis with12actionable recreation parameters for AI image generation.1314## Triggers1516- `image-insight` - Primary trigger for image analysis17- "analyze this image" - Natural language trigger18- "extract visual style" - Style extraction request19- "generate image profile" - Profile generation request20- "what's in this image" - Detailed breakdown request2122## Workflow2324### Step 1: Receive Image2526Accept the uploaded image file. Verify it's a valid image format.2728### Step 2: Multi-Category Analysis2930Analyze across all schema categories:31321. **metadata** - Confidence, image type, purpose332. **composition** - Rule, layout, focal points, hierarchy343. **color_profile** - Dominant colors with hex, palette, temperature354. **lighting** - Type, direction, shadows, highlights365. **technical_specs** - Medium, style, texture, depth of field376. **artistic_elements** - Genre, influences, mood, atmosphere387. **typography** - Fonts, placement (if text present)398. **subject_analysis** - Expression, hair, hands, positioning409. **background** - Setting, surfaces, objects catalog4110. **generation_parameters** - Recreation prompts, keywords4243### Step 3: Apply Critical Area Rules4445For portraits, apply detailed analysis per46[references/critical-areas.md](references/critical-areas.md):4748- Hair: exact length, cut style, natural imperfections49- Hands: each hand separately, finger positions, tension50- Background: wall material distinction51 (drywall vs concrete vs brick)52- Lighting: directionality, shadow characteristics5354### Step 4: Generate JSON Output5556Return structured JSON following [references/json-schema.md](references/json-schema.md).5758**Output requirements:**5960- Valid JSON only - no markdown, no commentary61- All sections populated with specific values62- Hex codes for colors63- Actionable generation prompts6465## Quick Reference6667### Color Profile6869```json70{71 "color": "coral pink",72 "hex": "#FF7F7F",73 "percentage": "35%",74 "role": "primary subject"75}76```7778### Lighting Assessment7980- **Directional**: Strong shadows, sculpted appearance81- **Diffused**: Soft minimal shadows, even illumination82- Assess: type, direction, shadow edge quality, contrast ratio8384### Subject Analysis Priorities85861. Facial expression: mouth, eyes, emotion, authenticity872. Hair: length, cut, texture, natural imperfections883. Hands: position, tension, naturalness894. Body: posture, angle, weight distribution9091## Resources9293### references/9495- [core-prompt.md](references/core-prompt.md) - Core analysis system prompt96- [json-schema.md](references/json-schema.md) - Complete JSON output schema97- [analysis-rules.md](references/analysis-rules.md) -98 Category-specific analysis rules99- [critical-areas.md](references/critical-areas.md) -100 Hair, hands, background, lighting details101102### scripts/103104- `validate_output.py` - Validate JSON structure and completeness105106## Anti-Patterns107108- **Vague descriptions**: Avoid "nice", "good", "beautiful" -109 use specific technical terms110- **Perfect hair**: Never describe hair as "perfect" -111 real hair has flyaways, frizz, variation112- **Generic backgrounds**: Don't say "wall" -113 specify material (painted drywall, concrete, brick)114- **Skipped hands**: Always document hand positions115 even if hidden or out of frame116- **Markdown in output**: Output pure JSON only -117 no code blocks, no explanatory text118119## Extension Points1201211. **Image Type Variants**: Create specialized schemas122 for landscapes, products, architecture1232. **Selective Analysis**: Add parameter to request specific categories only1243. **Batch Processing**: Extend for analyzing multiple images in sequence1254. **Confidence Thresholds**: Add configurable confidence scoring criteria126127## Design Rationale128129This skill encapsulates 15+ years of visual analysis expertise to:1301311. Enable consistent, reproducible image analysis across different contexts1322. Generate actionable prompts for AI image recreation133 (Midjourney, DALL-E, etc.)1343. Provide structured data for downstream processing and automation1354. Standardize style extraction with emphasis on natural imperfections136 over idealized descriptions1375. Support multimodal analysis leveraging Claude's vision138 capability