npx skills add https://github.com/assistant-ui/tool-ui --skill tool-uiThis package gives coding agents everything they need to integrate Tool UI components:
.agents/skills/tool-ui/SKILL.md is the entry point. Follow these five steps:
Each step links to the relevant script or reference doc.
All reference material lives in .agents/skills/tool-ui/references/.
components-catalog.md — Browse components by category. Each entry includes a description and guidelines for picking the right one for your use case.
components-data.json — Machine-readable metadata that the CLI scripts use for search and install operations.
recipes.md — Pre-built bundles for common patterns (planning flow, research output, commerce flow). Each recipe has a one-line install command that pulls the entire bundle.
integration-patterns.md — Five wiring patterns with full code examples:
troubleshooting.md — Symptom → cause → fix matrix for common install and runtime issues.
All scripts live in .agents/skills/tool-ui/scripts/.
tool_ui_compat.pyChecks components.json compatibility, auto-fixes the @tool-ui registry entry, and runs deeper doctor checks — shared folder presence, import resolution, and package dependencies.
tool_ui_components.pyLists, searches, and generates install commands for components. Also handles bundle recipes from recipes.md. Reads from components-data.json for fast lookups.
tool_ui_scaffold.pyGenerates ready-to-paste runtime wiring code in three modes: assistant-backend, assistant-frontend, and manual. Output adapts to the project's framework and integration pattern.
Script tests in .agents/skills/tool-ui/tests/ provide regression coverage for the CLI scripts. They validate SKILL.md references, script syntax, and data integrity.