Install
openclaw skills install agent-profile-imagesAgent Profile Images for OpenClaw Control UI — upload custom avatars, generate themed AI profile images, preview before saving, and persist agent avatars across refreshes.
openclaw skills install agent-profile-imagesname: agent-profile-images
version: 1.0.0
author: Charles Sears
description: Adds agent profile image upload, AI generation, preview/keep-regenerate-cancel flow, and avatar persistence fixes to the OpenClaw Control UI.
Adds a dedicated Profile Image section to the Agents Overview panel with:
Adds agents.avatar.upload so the Control UI can upload a PNG/JPG/WEBP/GIF image and save it into the agent workspace.
Adds agents.avatar.generate for themed image generation using OpenAI Images.
Generation does not auto-save. Instead:
Fixes the gateway agent-list/session-utils path so avatar information from workspace IDENTITY.md is reflected correctly across Agents UI, chat UI, refreshes, and reloads.
Fixes stale UI state by forcing the Agents tab to refresh identity data when entering the tab and after avatar-changing actions.
| Method | Description |
|---|---|
agents.avatar.upload | Upload and save a profile image into the agent workspace |
agents.avatar.generate | Generate a themed avatar preview using OpenAI Images |
agents.avatar.remove | Remove the current stored avatar |
Saved avatars are written into the agent workspace under avatars/ and persisted via IDENTITY.md using:
- Avatar: avatars/profile.png
This reuses the existing Control UI avatar serving path (/avatar/:agentId) and keeps images portable with the agent workspace.
The references/ folder contains the feature implementation snapshots for these files:
src/gateway/method-scopes.tssrc/gateway/protocol/index.tssrc/gateway/protocol/schema/agent.tssrc/gateway/protocol/schema/agents-models-skills.tssrc/gateway/protocol/schema/protocol-schemas.tssrc/gateway/protocol/schema/types.tssrc/gateway/server-methods-list.tssrc/gateway/server-methods/agent.tssrc/gateway/server-methods/agents.tssrc/gateway/session-utils.tsui/src/ui/app-render.tsui/src/ui/app-view-state.tsui/src/ui/app.tsui/src/ui/types.tsui/src/ui/views/agents-panels-overview.tsui/src/ui/views/agents.tsInitial release: agent profile image upload, themed AI generation, preview/keep-regenerate-cancel loop, and refresh-state fixes.