返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
a

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 across refreshes.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
166
下载量
0
收藏
概述
安装方式
版本历史

agent-profile-images

# 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 | 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 | --- ## 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: ```md - 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 ```text Initial release: agent profile image upload, themed AI generation, preview/keep-regenerate-cancel loop, and refresh-state fixes. ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-profile-images-1776272525 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-profile-images-1776272525 技能

通过命令行安装

skillhub install agent-profile-images-1776272525

下载 Zip 包

⬇ 下载 agent-profile-images v1.0.0

文件大小: 86.09 KB | 发布时间: 2026-4-17 13:56

v1.0.0 最新 2026-4-17 13:56
Initial release: agent profile image upload, themed AI generation, preview/keep-regenerate-cancel loop, and refresh-state fixes.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部