photo-color
Adjust photo brightness, contrast, and saturation based on natural language prompts using GPT-5 text analysis. Use when the user asks to adjust brightness, change contrast, modify saturation, apply a specific style, or fix photo issues like washed out colors.
What this skill does
# Photo Color
## When to Use
Use this skill when the user asks to:
- Adjust brightness (e.g., "make it brighter", "darken the photo")
- Change contrast (e.g., "increase contrast", "make it more dramatic")
- Modify saturation (e.g., "make colors more vibrant", "desaturate")
- Apply a specific style (e.g., "cinematic look", "natural enhancement")
- Fix photo issues (e.g., "fix washed out colors", "add warmth")
## Instructions
This skill uses GPT-5 text API to interpret natural language and calculate color adjustments. Always:
1. **Validate input** - Ensure photo exists and is JPG/PNG format
2. **Analyze photo** - Calculate current brightness, contrast, saturation scores
3. **Call GPT-5** - Get enhancement suggestions based on user's prompt and photo analysis
4. **Select best match** - Choose suggestion that best matches prompt keywords (vivid/natural/dramatic)
5. **Apply enhancements** - Adjust colors and save to new file (never overwrite original)
6. **Report results** - Show multipliers applied and GPT-5's reasoning
### Usage
```python
from photo_color import main
result = main(
photo_path="photo.jpg",
prompt="Make the colors more vibrant and warm"
)
# Returns: "photo-enhanced.jpg"
```
### Command Line
```bash
python photo_color.py <photo_path> "<prompt>" [output_path]
```
### Examples
**Vivid colors:**
```
Make the colors much more vibrant and vivid
Increase saturation by 50%
Make colors pop
```
**Natural enhancement:**
```
Apply a subtle natural enhancement
Keep it looking natural and soft
```
**Cinematic/dramatic:**
```
Create a dramatic cinematic look with high contrast
Make it bold and intense
```
**Fix issues:**
```
Fix the washed out appearance
Increase saturation to make colors more realistic
Add warmth to the photo
```
**Specific adjustments:**
```
Brighten and increase contrast
Make it darker and more moody
```
## Output
- Returns path to enhanced photo
- Never overwrites original
- Format: `{original_name}-enhanced.{ext}`
- Multipliers in safe range (0.5-2.0)
- Displays style name and GPT-5's reasoning
## Enhancement Styles
GPT-5 suggests these style categories:
- **Vivid**: High saturation (1.3-1.5), increased brightness and contrast
- **Natural**: Subtle adjustments (1.05-1.2), minimal changes
- **Dramatic**: High contrast (1.5-1.8), bold adjustments
- **Custom**: Tailored to specific prompt requirements
## Error Handling
- Falls back to safe defaults (×1.2 saturation, ×1.1 brightness, ×1.1 contrast) if GPT-5 unavailable
- Validates multipliers (0.5-2.0 range)
- Clear error messages for missing files or invalid formats
## Requirements
- OPENROUTER_API_KEY environment variable must be set
- Photo must be JPG or PNG format
- Photo under 50MB recommended
## Technical Implementation
See `references/implementation.md` for:
- GPT-5 text API integration
- Photo analysis algorithms
- Color enhancement styles
- Prompt matching strategy
## Examples
See `examples/common-use-cases.md` for:
- Vivid color enhancement
- Natural subtle adjustment
- Dramatic cinematic look
- Fix washed out photos
- Add warmth
- Before/after comparisons
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.