← 返回
未分类 Key 中文

Agent Profile Images

Agent Profile Images for OpenClaw Control UI — upload custom avatars, generate themed AI profile images, preview before saving, and persist agent avatars acr...
用于 OpenClaw 控制界面的代理头像——上传自定义头像,生成主题 AI 头像,保存前预览,跨会话持久化代理头像
maverick-software maverick-software 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 544
下载
💾 0
安装
1
版本
#latest

概述

agent-profile-images

name: 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.


What This Skill Adds

1. Agent Profile Image Card in Agents → Overview

Adds a dedicated Profile Image section to the Agents Overview panel with:

  • current avatar preview
  • upload button
  • remove button
  • theme selector
  • custom generation instructions
  • generate button
  • preview state messaging

2. Avatar Upload RPC

Adds agents.avatar.upload so the Control UI can upload a PNG/JPG/WEBP/GIF image and save it into the agent workspace.

3. AI Avatar Generation RPC

Adds agents.avatar.generate for themed image generation using OpenAI Images.

4. Preview / Keep / Regenerate / Cancel Loop

Generation does not auto-save. Instead:

  • Generate → preview only
  • Keep → saves generated image as the agent avatar
  • Regenerate → requests a new preview
  • Cancel → discards preview and preserves the previous avatar

5. Persistent Avatar Resolution

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.

6. Fresh Identity Reloads on Agents Tab

Fixes stale UI state by forcing the Agents tab to refresh identity data when entering the tab and after avatar-changing actions.


Backend Methods Added

MethodDescription
------
agents.avatar.uploadUpload and save a profile image into the agent workspace
agents.avatar.generateGenerate a themed avatar preview using OpenAI Images
agents.avatar.removeRemove the current stored avatar

Theme Presets Included

  • Professional
  • Sci-Fi
  • Cyberpunk
  • Fantasy
  • Space Opera
  • Creature Collector
  • Mascot
  • Noir

Storage Model

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.


Files Included

The references/ folder contains the feature implementation snapshots for these files:

  • src/gateway/method-scopes.ts
  • src/gateway/protocol/index.ts
  • src/gateway/protocol/schema/agent.ts
  • src/gateway/protocol/schema/agents-models-skills.ts
  • src/gateway/protocol/schema/protocol-schemas.ts
  • src/gateway/protocol/schema/types.ts
  • src/gateway/server-methods-list.ts
  • src/gateway/server-methods/agent.ts
  • src/gateway/server-methods/agents.ts
  • src/gateway/session-utils.ts
  • ui/src/ui/app-render.ts
  • ui/src/ui/app-view-state.ts
  • ui/src/ui/app.ts
  • ui/src/ui/types.ts
  • ui/src/ui/views/agents-panels-overview.ts
  • ui/src/ui/views/agents.ts

Notes

  • This skill packages the source-level feature implementation.
  • A temporary live compiled-bundle hotfix was used during development to unblock testing, but that tactical dist patch is not part of this skill package.
  • OpenAI image generation is currently the implemented provider path in this package.
  • The full OpenClaw repo may contain unrelated build/runtime issues outside this feature; this skill is scoped only to agent profile image functionality.

Recommended Publish Changelog

Initial release: agent profile image upload, themed AI generation, preview/keep-regenerate-cancel loop, and refresh-state fixes.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 01:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Copywriting Pro

maverick-software
为任何形式撰写有说服力、高转化率的文案——广告、着陆页、邮件、销售页、标题、产品描述、CTA和社交帖子。App...
★ 2 📥 5,151
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 435 📥 117,873
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 227 📥 48,872