uclaw-composers
Use whenever you change paste, drop, attachment, send, or any input behavior in the chat or agent UI.
Skill by novolei
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/novolei-uclaw-composers
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/uclaw-composers
What's inside
- Skill name
uclaw-composers- Description
- Use whenever you change paste, drop, attachment, send, or any input behavior in the chat or agent UI. Trigger phrases include "chat input", "agent input", "composer", "paste files", "drag drop", "submit handler", "RichTextInput", "ChatInput.tsx", "AgentView.tsx", "attachment", "@-mention", "slash command", "/", "@". Catches the most common UI regression — applying a fix to only one of the two parallel composers, which hides a bug in the more-used mode.
- License
- Apache-2.0
- Instructions
- 90 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# uClaw — Two Parallel Composers uClaw has **two parallel composer components** that wrap the same underlying input element. They look like the same feature but they are *separate React components* with *separate handlers*. Any behavior change must be applied to both. | Component | Mode | File | |---|---|---| | `ChatInput.tsx` | Chat mode (lighter, conversation-focused) | `ui/src/components/chat/ChatInput.tsx` | | `AgentView.tsx` | Agent mode (more common in real use) | `ui/src/components/agent/AgentView.tsx` | Both wrap `RichTextInput` (a `[PLACEHOLDER]` textarea today; real TipTap port scheduled for W4 of the Proma preview port). **Until the TipTap port lands, prop wiring lives in the composers, NOT in RichTextInput.** ## The trap When a bug is reported against one mode, the fix is applied there, tested, shipped — and the bug stays in the other mode. Worse, Agent mode is the more-used surface, so a Chat-mode-only fix leaves the worse bug live. A specific class of handler this matters for: - `handlePasteFiles` (Cmd-V on an image / file) - `handleDrop` (drag-drop attachment) - `onSubmit` / send wiring (Enter, Cmd+Enter, send button click) - `@`-mention and `/`-slash command handling - Attachment chip rendering and removal - Multi-line vs single-line behavior ## The rule — apply to both, mention both For any composer behavior change: 1. **Make the edit in both files in the same commit.** Don't split. 2. **Verify the prop wiring matches.** If you add a new prop to `RichTextInput`, both composers must pass it. 3. **Call out in the commit body** that this touches both, so reviewers know it's not a copy-paste mistake. Example: ``` ui(chat,agent): handle pasted PNG via createObjectURL Applies to both composers (per CLAUDE.md §"Chat-composer behavior change"): - ui/src/components/chat/ChatInput.tsx → handlePasteFiles - ui/src/components/agent/AgentView.tsx → handlePasteFiles ``` 4. **Test both modes** in dev. Switching modes is one click in the UI; it's faster than the diff review. ## Procedure — implementing a composer change 1. **Read both files first.** Don't assume they're symmetric — they often diverge in subtle ways (different prop sets, different validation). 2. **Decide whether the change is shared or mode-specific.** Most paste/ drop / submit changes are shared; some UI affordances (e.g. mode indicator) are intentionally one-sided. 3. **Write the change as identical code in both files** unless mode- specific. Resist the urge to "extract to a hook" mid-task — that's a refactor, and the codebase prefers flat shape (CLAUDE.md §"Match the codebase shape"). 4. **If the change demands a new shared piece**, the right move is to add it to `RichTextInput` (the shared wrapper) — but only when the TipTap port lands. Pre-port, keep it duplicated in the composers. 5. **Vitest both**: there are tests like `ChatInput.test.tsx` and `AgentView.test.tsx` next to the components. Run: ```bash cd ui && npm test -- --run components/chat components/agent 2>&1 | tail -20 ``` ## What lives where | Lives in `ChatInput.tsx` | Lives in `AgentView.tsx` | |---|---| | `handlePasteFiles` | `handlePasteFiles` | | `handleDrop` | `handleDrop` | | Send → `chatService` IPC | Send → `agentService` IPC | | Renders chat-mode toolbar (lighter) | Renders agent-mode toolbar (more controls) | | Conversation atom (jotai) | Session atom (jotai) | The IPC targets and atoms differ — that's intentional, don't unify. ## See also - `ui/src/components/chat/ChatInput.tsx` - `ui/src/components/agent/AgentView.tsx` - `ui/src/components/shared/RichTextInput.tsx` (placeholder; TipTap port pending) - CLAUDE.md Part 1 *Adjacent edits that look like scope creep* → "Chat-composer behavior change"
From novolei/uclaw-new, Apache-2.0.
More from novolei/uclaw-new
- 0.502score
web-design-engineer
novolei
Build polished visual web artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
kb-retriever
novolei
面向本地知识库目录的检索和问答助手。核心流程:(1)分层索引导航 (2)遇到PDF/Excel时必须先读取references学习处理方法 (3)处理文件后再检索。按文件类型组合使用 grep、Read、pdfplumber、pandas…
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
gpt-image-2
novolei
面向 GPT Image 2 的图像生成 / 编辑技能。可在 3 种环境下使用:(A) Garden 本地模式,通过 OpenAI 兼容接口直接出图并落盘;(B) Host-Native 模式,把本 Skill 当作提示词工程指引,把渲染好的 prompt 交给宿主 Agent 自带的图像工具出图;(C)…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-tauri-commands
novolei
Use whenever you add or modify a Tauri IPC command in src-tauri/src/tauri_commands.rs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-migrations
novolei
Use whenever you need to add, modify, or coordinate a SQLite migration in src-tauri/src/db/migrations.rs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-pr-discipline
novolei
Use whenever you're about to commit, open a PR, finish a task in a plan, or are working on the codex-absorption-v2.2 integration branch.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-codex-derived
novolei
Use whenever you copy, port, or adapt code from openai/codex (the Codex CLI Rust workspace at /Users/ryanliu/Documents/Hero/codex).
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-tick-feature-verify
novolei
Use when E2E-verifying a uClaw feature whose production behavior is driven by a slow tick / cron / scheduler — typical signs are `tick_count % N == 0`…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-github-ops
novolei
Direct GitHub operations (commit / push / PR / merge) on the user's Mac — bypasses Cowork sandbox lock-tracking limitations.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-gitnexus-workflow
novolei
Use before editing any function, method, or class — especially in files referenced by multiple call sites, or anywhere in src-tauri/src/agent/…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
uclaw-memory-graph-freeze
novolei
Use whenever you're tempted to write to memory_graph or are working on memory persistence, knowledge graph, entity storage, or "save this for later" features.
SkillCFreshness: C★ 1Claude Code +9 - 0.264score
uclaw-milestone-closed-loop
novolei
No description from the publisher yet.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 20, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/novolei/uclaw-new
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from novolei
- 0.502score
web-design-engineer
novolei
Build polished visual web artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
gpt-image-2
novolei
面向 GPT Image 2 的图像生成 / 编辑技能。可在 3 种环境下使用:(A) Garden 本地模式,通过 OpenAI 兼容接口直接出图并落盘;(B) Host-Native 模式,把本 Skill 当作提示词工程指引,把渲染好的 prompt 交给宿主 Agent 自带的图像工具出图;(C)…
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
kb-retriever
novolei
面向本地知识库目录的检索和问答助手。核心流程:(1)分层索引导航 (2)遇到PDF/Excel时必须先读取references学习处理方法 (3)处理文件后再检索。按文件类型组合使用 grep、Read、pdfplumber、pandas…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-migrations
novolei
Use whenever you need to add, modify, or coordinate a SQLite migration in src-tauri/src/db/migrations.rs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-pr-discipline
novolei
Use whenever you're about to commit, open a PR, finish a task in a plan, or are working on the codex-absorption-v2.2 integration branch.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
uclaw-tauri-commands
novolei
Use whenever you add or modify a Tauri IPC command in src-tauri/src/tauri_commands.rs.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
uclaw-composers skill. Agent Mart. https://agentmart.dev/skills/novolei-uclaw-composers (last updated 2026-10-24)