agent-chat-ux
БесплатноЗапускает вложенные скриптыНе проверенMulti-agent UX for OpenClaw Control UI — agent selector, per-agent sessions, session history viewer with search, agent-filtered Sessions tab with friendly…
от modbender★ 21 звезда на GitHubОб этом скилле
agent-chat-ux
name: agent-chat-ux
version: 1.4.0
author: Charles Sears
description: Multi-agent UX for OpenClaw Control UI — agent selector, per-agent sessions, session history viewer with search, agent-filtered Sessions tab with friendly names, Create Agent wizard, emoji picker, and backend agent CRUD.
⚠️ Security & Transparency Notes
Before applying this skill's patches, be aware of the following:
Credential Access (agents.wizard)
The AI Wizard backend (agents.wizard RPC) calls the configured model provider API directly via HTTP. To do this it needs an API key. It resolves credentials in this exact order:
- Default config auth — uses it if the resolved mode is
api-key(most common) - Auth profile store — searches for the first
api_key-type profile matching the provider. Reads onlyproviderandtypefields to find it; does not log or return values. - Environment variable —
ANTHROPIC_API_KEYorOPENAI_API_KEYas a last resort
If you don't want the wizard reading your auth store, set
ANTHROPIC_API_KEYin your environment and ensure your default auth profile is alreadyapi-keymode — step 2 is skipped entirely in that case.
External API Calls
agents.wizard makes a single HTTP POST to:
https://api.anthropic.com/v1/messages(Anthropic models)https://api.openai.com/v1/chat/completions(OpenAI-compatible models)
No other outbound calls. The call carries your user-supplied description and nothing else from your system.
Patch Scope
These patches modify only agent-related files:
| Patch | File modified | What it changes |
|---|---|---|
schema-agents.txt |
src/gateway/protocol/schema/agents-models-skills.ts |
Adds emoji optional param to AgentsUpdateParamsSchema |
server-agents.txt |
src/gateway/server-methods/agents.ts |
Adds agents.wizard RPC; fixes agents.update to write - Emoji: (not - Avatar:) so emoji edits persist correctly |
app-main.txt |
ui/src/ui/app.ts |
Adds 19 @state() fields: 10 for Create Agent/Wizard + 9 for edit agent, delete agent |
app-render.txt |
ui/src/ui/app-render.ts |
Wires create/wizard props + edit agent save handler (sends emoji param, not avatar; evicts identity cache after save) |
app-render-helpers.txt |
ui/src/ui/app-render.helpers.ts |
Agent selector dropdown in chat header (uses resolveAgentEmoji() for correct emoji), per-agent session filter, + New Session button |
agents-view.txt |
ui/src/ui/views/agents.ts |
Create Agent panel (manual + wizard modes, 103-emoji picker); Edit agent inline form (name/emoji/workspace); Delete agent with confirmation; always-editable Overview |
agents-utils.txt |
ui/src/ui/views/agents-utils.ts |
buildModelOptionsMulti() for multi-select fallback dropdown |
agents-panels-cron.txt |
ui/src/ui/views/agents-panels-status-files.ts |
Cron Jobs tab Scheduler card now shows agent-specific job count and next-wake (not global gateway stats) |
Each patch is scoped to a single concern. If any patch file modifies more than the files listed above, stop — you have an outdated copy.
LLM Output Validation
Wizard model output is parsed as JSON and validated before use:
- Must be a JSON object with
name(string),emoji(string),soul(string) nameis capped at 100 characters,emojiat 10soulmust be ≥ 20 characters- Empty or non-JSON responses are rejected with a user-visible error — nothing is auto-created
Source Code Modification
This skill applies git apply patches against ~/openclaw and requires a UI + gateway rebuild. Changes are persistent. Always backup before patching:
cd ~/openclaw && git stash # or git branch backup/pre-agent-ux
What This Skill Adds
1. Agent Selector Dropdown in Chat Header
When multiple agents are configured, a dropdown appears left of the session dropdown in the chat header. Selecting an agent switches to that agent's most recent session (or falls back to a fresh webchat key for that agent). The session dropdown automatically filters to show only sessions belonging to the selected agent.
2. Per-Agent Session Filtering (Sorted Newest First)
Sessions are now scoped to the active agent and sorted newest-first. No more mixing other agents' cron jobs and subagent sessions into the current chat's session picker.
3. + New Session Button in Chat Header
A + icon button sits right of the session dropdown, allowing new sessions to be started without typing /new.
4. Create Agent Panel (Manual + AI Wizard)
The Agents tab gains a + Create Agent button that expands a panel with two modes:
Manual mode:
- Agent name
- Workspace path (auto-generated from name if left blank)
- Emoji picker (see below)
AI Wizard mode:
- Describe the agent in plain English
- Click "Generate Agent" — AI ge
Установить agent-chat-ux в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-chat-ux?
Multi-agent UX for OpenClaw Control UI — agent selector, per-agent sessions, session history viewer with search, agent-filtered Sessions tab with friendly names, Create Agent wizard, emoji picker, and backend agent CRUD.
Как установить скилл agent-chat-ux?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-chat-ux запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic