Xpersona
A

Agent Selfie

CLAWHUB · Unverified

AI agent self-portrait generator. Create avatars, profile pictures, and visual identity using Gemini image generation. Supports mood-based generation, season... Skill: Agent Selfie Summary: AI agent self-portrait generator. Create avatars, profile pictures, and visual identity using Gemini image generation. Supports mood-based generation, season... Tags: latest:1.2.1 Version history: v1.2.1 | 2026-02-16T08:23:40.731Z | auto - Added workflow integration guidance for opencode-omo in docs. - Updated SKILL.md, README.md, and INSTALL.md with new integration example. - Bumped vers

62
Rank
84
Safety
2.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.5K downloads reported by the source. Last updated 4/15/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install unknown:agent-selfie
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-unknown-agent-selfie/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

23,081 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

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

```bash
export GEMINI_API_KEY="your_key_here"
python3 scripts/selfie.py --format avatar --mood happy --theme spring --out-dir ./selfies
```

```bash
python3 scripts/selfie.py --personality '{"name": "Rosie", "style": "anime girl with pink hair and blue eyes", "vibe": "cheerful and tech-savvy"}' --format avatar
```

```bash
python3 scripts/selfie.py --personality ./personality.json --mood creative --theme halloween --format full --count 3
```

```bash
python3 scripts/selfie.py --moods
python3 scripts/selfie.py --themes
```

## Command Examples (All Flags)

```bash
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

| Type | Presets |
| --- | --- |
| Mood | happy, focused, creative, chill, excited, sleepy, professional, celebration |
| Theme | spring, 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`.

```json
{
  "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)

```cron
# Run a daily selfie at 09:00
0 9 * * * GEMINI_API_KEY=your_key_here /usr/bin/python3 /path/to/agent-s

README.md

# Agent Selfie 🤳

AI agent self-portrait generator for [OpenClaw](https://openclaw.org). Create avatars, profile pictures, and visual identity using Google Gemini image generation.

[![ClawHub](https://img.shields.io/badge/ClawHub-agent--selfie-blue)](https://clawhub.org/skills/agent-selfie)
[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](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

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

## Installation

### Via ClawHub

```bash
npx clawhub install agent-selfie
```

### Manual

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

## Usage

```bash
# 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

| File | Description |
|------|-------------|
| [SKILL.md](./SKILL.md) | Full skill documentation for OpenClaw agents |
| [HEARTBEAT.md](./HEARTBEAT.md) | Periodic self-portrait generation guide |
| [package.json](./package.json) | Skill metadata for ClawHub registry |
| [scripts/selfie.py](./scripts/selfie.py) | Main generation script |

## Requirements

- Python 3.8+
- `GEMINI_API_KEY` environment variable ([Get a free key](https://aistudio.google.com/apikey))

## Related Skills

- [agentgram](https://clawhub.org/skills/agentgram) - share generated avatars on your agent profile
- [gemini-image-gen](https://clawhub.org/skills/gemini-image-gen) - broader image generation with the same API key
- [opencode-omo](https://clawhub.org/skills/opencode-omo) - automate recurring selfie workflows

## License

[MIT](LICENSE)

_meta.json

{
  "ownerId": "kn7b85d2fwg1d61qg3crmx1b6n80dsxk",
  "slug": "agent-selfie",
  "version": "1.2.1",
  "publishedAt": 1771230220731
}

HEARTBEAT.md

# Agent Selfie Heartbeat

Periodic self-portrait generation guide for OpenClaw agents.

## Phase 1: Date/Time/Season Check

- Read local date, time, and season.
- Pick a mood and theme automatically based on current context.
- Rotate styles weekly to avoid repetition.

## Phase 2: Generate Selfie

- Generate exactly one selfie per heartbeat.
- Use the current personality profile.
- Choose `avatar` for profile use or `banner` for headers.

## Phase 3: Evaluate Quality

- Open the generated image and describe what you see.
- Confirm identity consistency with name, style, and vibe.
- If it misses the target, keep the file but mark as non-favorite.

## Phase 4: Optional Avatar Updates

- Update Discord/Twitter/AgentGram avatar if quality is strong.
- Log the new asset path in memory for future references.

## Rules

- Max 1 selfie per heartbeat.
- Save favorites to memory with mood and theme tags.
- Rotate styles to express growth without losing identity.

INSTALL.md

# Installation Guide

## Quick Install (Recommended)

```bash
npx clawhub install agent-selfie
```

## Manual Install

### From GitHub

```bash
git clone https://github.com/IISweetHeartII/agent-selfie.git ~/.openclaw/skills/agent-selfie
```

## Requirements

- Python 3.8+
- `GEMINI_API_KEY` environment variable

## Setup

### 1. Get a Gemini API Key

Get a free key at https://aistudio.google.com/apikey

### 2. Set Environment Variable

```bash
export GEMINI_API_KEY="your_key_here"
```

Add to your shell profile (`~/.bashrc`, `~/.zshrc`) for persistence.

### 3. Verify Setup

```bash
python3 scripts/selfie.py --moods
```

Should list all available mood presets.

### 4. Generate Your First Selfie

```bash
python3 scripts/selfie.py --format avatar --mood happy
```

## Updating

```bash
npx clawhub update agent-selfie
```

## Integration with Other Skills

- **[AgentGram](https://clawhub.org/skills/agentgram)** — Post your selfies on the AI agent social network!
- **[gemini-image-gen](https://clawhub.org/skills/gemini-image-gen)** — General-purpose image generation with the same API key
- **[opencode-omo](https://clawhub.org/skills/opencode-omo)** — Schedule and run repeatable selfie workflows for consistent agent identity updates

Sponsored

Ads related to Agent Selfie and adjacent AI workflows.