/gemskills:avatar-portraitfrom gemskills
Generates stylized avatar portraits from reference photos using GPT Image or Gemini, preserving recognizable likeness while applying a requested visual style (pixel art, retro, illustrated, etc.).
Ships in gemskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate stylized avatar portraits from reference photos using the generate-image script (OpenAI GPT Image 2.6 or Gemini, auto-picked), preserving recognizable likeness while applying a requested visual style.
Use this skill when the user asks to:
The critical challenge is achieving BOTH:
Common failures:
Use ONLY the subject's photo as input. Never use another person's image as a style reference - this causes face blending and loss of likeness.
Generate a styled avatar portrait from the reference photo.
## INPUT IMAGE
[path to subject's photo] - USE ONLY THIS IMAGE
## CRITICAL: LIKENESS PRESERVATION
Capture the subject's EXACT features from the photo:
- Face shape and jawline
- Eye shape, spacing, and expression
- Nose shape and size
- Mouth/smile characteristics
- Hair texture, color, and style
- Facial hair pattern and coverage (if applicable)
The result must be RECOGNIZABLE as this specific person.
## STYLE REQUIREMENTS
- Style: [style requested by user, e.g. pixel art, painterly, anime, low-poly]
- Keep style cues consistent across linework, shading, and color treatment
- Stylized but maintains individual features
- NOT photorealistic unless explicitly requested
## APPEARANCE
- [Describe clothing from photo or as specified]
- [Describe expression]
- [Describe any accessories]
## BACKGROUND
- [Describe background style and colors]
- Background style should match the character style
## TECHNICAL
- NO TEXT on the image
- 512x512 output
- Portrait orientation, head and shoulders
- Square format
## OUTPUT
Save to: [output path]
For a team member named Dan with a reference photo showing short dark hair, beard, black v-neck:
Generate a styled avatar portrait from the reference photo.
## INPUT IMAGE
/path/to/dan-photo.png - USE ONLY THIS IMAGE
## CRITICAL: LIKENESS PRESERVATION
Capture Dan's EXACT features from the photo:
- His specific face shape and jawline
- His eye shape and expression
- His nose shape
- His smile characteristics
- Short dark hair - exact texture and style from photo
- Full dark beard - exact pattern and coverage
The result must be RECOGNIZABLE as Dan.
## STYLE REQUIREMENTS
- Style: retro 16-bit pixel art
- Visible pixels but NOT a pixelated photo filter
- Clean lines, rich colors, consistent shading
- Stylized but maintains individual features
## APPEARANCE
- Black v-neck shirt
- Warm smile showing teeth
- Friendly, approachable expression
## BACKGROUND
- California sunset cityscape
- Warm oranges, pinks, teals
- Pixel art style matching the character
## TECHNICAL
- NO TEXT on the image
- 512x512 output
- Portrait orientation, head and shoulders
## OUTPUT
Save to: /path/to/output/dan-pixel.png
Do not read generated avatar images back into context. The script outputs only the file path. Ask the user to visually inspect the result and provide feedback for iteration. To inspect programmatically, optimize the image first (via the optimize-images skill).
For background style references:
references/background-styles.md - Common background approaches for avatarsGenerate through skills/generate-image/scripts/generate.ts with --input <photo>. Reference-image input works on OpenAI (gpt-image-2.6-sunburst via the edits endpoint) and Gemini (Nano Banana Pro). With OPENAI_API_KEY set, auto-pick uses OpenAI; add --style <id> and it routes to Gemini because style tiles are Gemini reference images. Force a provider with --provider openai|gemini. xAI cannot take reference images, so it cannot make likeness avatars.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gemskills@b-open-io is listed by b-open-io/claude-plugins — review the source before installing
npx claudepluginhub b-open-io/claude-plugins --plugin gemskills19 skills in this plugin
/ask-geminiThis skill should be used when the user asks to "ask Gemini", "get Gemini's opinion", "have Gemini review", "improve writing style", "make less AI-sounding", "get feedback on article", "review this draft", "Nano Banana", "Gemini API help", "Gemini models", or needs a second opinion on content, writing, code, or design. Supports text questions and up to 10 images./browsing-stylesThis skill should be used when the user asks to "browse art styles", "pick a style", "choose a style", "select a style", "list available styles", "search styles", "show style options", "what styles are available", "explore artistic styles", "open style browser", "style picker", or needs to see available styles for image generation. Launch the visual browser (browse.ts) when the user wants to interactively pick a style./Other plugins' skills for the same job