b-open-io/gemskills/avatar-portrait
Claude Code and agent skill by b-open-io/gemskills
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "create an avatar from a photo", "generate a portrait avatar", "make a profile image", "convert headshot to styled portrait", "team member avatar", "character-style avatar", or needs likeness-preserving avatars in any style (including pixel art).
Install
npx vskill@latest install b-open-io/gemskills/avatar-portraitSKILL.md
Avatar Portrait
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.
When to Use
Use this skill when the user asks to:
- Create avatars from photos
- Generate team member profile images in a specific style
- Convert headshots to stylized portraits (pixel, retro, illustrated, modern)
- Create consistent character portraits that resemble real people
Core Principles
Balance Likeness and Style
The critical challenge is achieving BOTH:
- Recognizable likeness - Must look like the source person
- Chosen style fidelity - Clear style, not photorealistic unless requested
Common failures:
- Too photorealistic = ignores requested style
- Too stylized = loses resemblance to source person
Single Source Input
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.
Prompt Template
Example: Individual Avatar
For a team member named Dan with a reference photo showing short dark hair, beard, black v-neck:
Context Discipline
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).
Iteration Workflow
- First attempt: Generate with detailed prompt
- Review: Check both likeness AND style
- Adjust if needed:
- If too photorealistic: Emphasize "stylized pixel art character"
- If likeness lost: Strengthen feature descriptions from source
- If wrong features: Be more specific about what to capture
Common Issues
Face doesn't match source
- Ensure ONLY the subject's photo is used as input
- Add more specific feature descriptions
- Reference exact details visible in the photo
Too photorealistic
- Emphasize the style family and key style cues
- Request "stylized" and "illustrated feel"
- Add explicit anti-photorealism language unless photorealism was requested
Too cartoonish / loses likeness
- Strengthen the likeness preservation section
- List specific features to capture
- Emphasize "RECOGNIZABLE as this person"
Reference Files
For background style references:
- `references/background-styles.md` - Common background approaches for avatars
Provider support
Generate 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.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/avatar-portrait/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/b-open-io/gemskills/avatar-portrait)