uclaw-composers
Use whenever you change paste, drop, attachment, send, or any input behavior in the chat or agent UI.
Skill by novolei
Chalk Labs
Need help deploying uclaw-composers?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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-3a7240
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: not checked yet.
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-pi, Apache-2.0.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 3
- 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-pi
- 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-composers
novolei
Use whenever you change paste, drop, attachment, send, or any input behavior in the chat or agent UI.
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
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get uclaw-composers running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
uclaw-composers skill. Agent Mart. https://agentmart.dev/skills/novolei-uclaw-composers-3a7240 (last updated 2026-10-24)