Face

From clawic/skills · View interactive version

Face is an AI agent skill from the GitHub repository clawic/skills. Put a human face on your agent with fast avatar shortlists, gender control, transparent options, and reusable profile links. Use when the user wants an avatar, profile face, or group image.

How to use this skill

Skill file

Put a Face on Your Agent

Use this skill to give an agent, persona, group, or Telegram surface a real human-looking face fast.

The job is simple:

Core Workflow

1. Start from the stable URL

Default to:

https://generated.photos/faces/beautified/{gender}/young-adult

Notes:

2. Only trust filters the site already exposes

From the page HTML, the route families that were verified as stable are:

Do not invent deeper URL combinations from memory. If the user wants narrower filtering, open the base page and follow the exact links that page emits.

3. Extract faces from HTML before using a browser

The page already contains:

Use a direct fetch first. Return 3 to 6 options max.

python3 - <<'PY'
import json
import re
from urllib.request import Request, urlopen

url = "https://generated.photos/faces/beautified/female/young-adult"
raw = urlopen(Request(url, headers={"User-Agent": "Mozilla/5.0"})).read().decode()

cards = re.findall(
    r'href="(/face/[^"]+)".*?data-image-id="([^"]+)".*?src="(https://images.generated.photos[^"]+)"',
    raw,
    re.S,
)
transparent = {
    image_id: thumb.replace("\\u002F", "/")
    for image_id, thumb in re.findall(
        r'id:"([^"]+)".*?transparent:\{thumb_url:"([^"]+)"',
        raw,
    )
}

for n, (detail, image_id, thumb) in enumerate(cards[:6], 1):
    print(json.dumps({
        "n": n,
        "detail": "https://generated.photos" + detail,
        "thumb": thumb,
        "transparent": transparent.get(image_id),
    }))
PY

4. Treat background as extraction, not routing

Do not model background as a clean route parameter.

What was verified:

Rule:

5. Always keep the user in the loop

Default output should be:

Do not auto-pick unless the user asks.

6. Reuse the chosen face properly

Once the user chooses one:

Recommended Response Shape

When you answer, keep it compact:

I found 4 options for your agent face.

1. Option A
   Detail: ...
   Preview: ...
   Transparent: ...

2. Option B
   Detail: ...
   Preview: ...
   Transparent: ...

Tell me which one you want and I’ll prepare it as the avatar.

Common Mistakes

External Endpoints

| Endpoint | Data Sent | Purpose |

|----------|-----------|---------|

| https://generated.photos | Filter path segments and face detail page requests | Find faces and open detail pages |

| https://images.generated.photos | Image GET requests only | Preview and transparent preview retrieval |

No other data is sent externally.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.