skills$openclaw/agent-selfie
iisweetheartii2.8k

by iisweetheartii

agent-selfie – OpenClaw Skill

agent-selfie is an OpenClaw Skills integration for coding workflows. AI agent self-portrait generator. Create avatars, profile pictures, and visual identity using Gemini image generation. Supports mood-based generation, seasonal themes, and automatic style evolution.

2.8k stars3.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameagent-selfie
descriptionAI agent self-portrait generator. Create avatars, profile pictures, and visual identity using Gemini image generation. Supports mood-based generation, seasonal themes, and automatic style evolution. OpenClaw Skills integration.
owneriisweetheartii
repositoryiisweetheartii/agent-selfie
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @iisweetheartii/agent-selfie
last updatedFeb 7, 2026

Maintainer

iisweetheartii

iisweetheartii

Maintains agent-selfie in the OpenClaw Skills directory.

View GitHub profile
File Explorer
8 files
.
scripts
selfie.py
10.5 KB
_meta.json
462 B
HEARTBEAT.md
966 B
INSTALL.md
1.1 KB
package.json
1.9 KB
README.md
2.1 KB
SKILL.md
3.8 KB
SKILL.md

name: agent-selfie description: AI agent self-portrait generator. Create avatars, profile pictures, and visual identity using Gemini image generation. Supports mood-based generation, seasonal themes, and automatic style evolution. homepage: https://github.com/IISweetHeartII/agent-selfie metadata: openclaw: emoji: "🤳" category: creative requires: bins: - python3 env: - GEMINI_API_KEY primaryEnv: GEMINI_API_KEY tags: - selfie - avatar - identity - creative - profile - ai-art

agent-selfie

AI agent self-portrait generator. Create avatars, profile pictures, and visual identity using Gemini image generation. Supports mood-based generation, seasonal themes, and automatic style evolution.

Quick Start

export GEMINI_API_KEY="your_key_here"
python3 scripts/selfie.py --format avatar --mood happy --theme spring --out-dir ./selfies
python3 scripts/selfie.py --personality '{"name": "Rosie", "style": "anime girl with pink hair and blue eyes", "vibe": "cheerful and tech-savvy"}' --format avatar
python3 scripts/selfie.py --personality ./personality.json --mood creative --theme halloween --format full --count 3
python3 scripts/selfie.py --moods
python3 scripts/selfie.py --themes

Command Examples (All Flags)

python3 scripts/selfie.py --personality '{"name": "Agent", "style": "friendly robot", "vibe": "curious and helpful"}'
python3 scripts/selfie.py --personality ./personality.json
python3 scripts/selfie.py --mood professional --theme winter --format avatar
python3 scripts/selfie.py --format banner --count 2 --out-dir ./output
python3 scripts/selfie.py --moods
python3 scripts/selfie.py --themes

Mood / Theme Presets

TypePresets
Moodhappy, focused, creative, chill, excited, sleepy, professional, celebration
Themespring, summer, autumn, winter, halloween, christmas, newyear, valentine

Platform Integration Guide

  • Discord: use the generated PNG as your bot or agent avatar; upload the avatar format for best crop.
  • Twitter/X: set avatar for profile, banner for header; keep the banner prompt style consistent.
  • AgentGram: store the PNG in your asset bucket and reference it in your profile metadata.
  • Any platform: pick avatar for 1:1, banner for 16:9, full for story/vertical layouts.

Personality Config

Personality can be inline JSON or a file path. Minimum fields are name, style, and vibe.

{
  "name": "Rosie",
  "style": "anime girl with pink hair and blue eyes",
  "vibe": "cheerful and tech-savvy"
}

Tips:

  • style should describe visual traits and aesthetic.
  • vibe should describe attitude, energy, and personality.
  • Keep style and vibe consistent with the agent's identity.

Cron Integration (OpenClaw)

# Run a daily selfie at 09:00
0 9 * * * GEMINI_API_KEY=your_key_here /usr/bin/python3 /path/to/agent-selfie/scripts/selfie.py --mood professional --format avatar --out-dir /path/to/selfies

Troubleshooting

  • GEMINI_API_KEY not set: export the key or pass it via your runtime environment.
  • No image in response: try again, or simplify the personality/style prompt.
  • HTTP 429 / 5xx: rate limit or service issue; retry later.
  • Output missing: ensure --out-dir is writable and has permission.

Integration with Other Skills

  • AgentGram — Post your selfies on the AI agent social network! Use agent-selfie to create your avatar, then share it on AgentGram.
  • gemini-image-gen — General-purpose image generation using the same Gemini API key. Create any kind of image, not just selfies.

Changelog

  • v1.0.0: Initial release with personality, mood, theme, format, batch, and gallery output.
README.md

Agent Selfie 🤳

AI agent self-portrait generator for OpenClaw. Create avatars, profile pictures, and visual identity using Google Gemini image generation.

ClawHub MIT License

Features

  • Personality-driven — Define your agent's visual identity with name, style, and vibe
  • Mood presets — happy, focused, creative, chill, excited, sleepy, professional, celebration
  • Theme presets — spring, summer, autumn, winter, halloween, christmas, newyear, valentine
  • Format options — avatar (1:1), banner (16:9), full body (9:16)
  • Batch generation — Generate multiple selfies at once with HTML gallery
  • Zero dependencies — Pure Python stdlib, no pip install needed

Quick Start

export GEMINI_API_KEY="your_key_here"
python3 scripts/selfie.py --format avatar --mood happy --theme spring

Installation

Via ClawHub

npx clawhub install agent-selfie

Manual

git clone https://github.com/IISweetHeartII/agent-selfie.git

Usage

# With custom personality
python3 scripts/selfie.py --personality '{"name": "Rosie", "style": "anime girl with pink hair", "vibe": "cheerful"}'

# From personality file
python3 scripts/selfie.py --personality ./personality.json --mood creative --theme halloween --count 3

# List available presets
python3 scripts/selfie.py --moods
python3 scripts/selfie.py --themes

Skill Files

FileDescription
SKILL.mdFull skill documentation for OpenClaw agents
HEARTBEAT.mdPeriodic self-portrait generation guide
package.jsonSkill metadata for ClawHub registry
scripts/selfie.pyMain generation script

Requirements

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install agent-selfie?

Run openclaw add @iisweetheartii/agent-selfie in your terminal. This installs agent-selfie into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/iisweetheartii/agent-selfie. Review commits and README documentation before installing.