Thread List
Implements multi-thread (conversation history) management in assistant-ui apps: rendering the prebuilt `ThreadList` next to `Thread`, or building a custom sidebar with `ThreadListPrimitive` and `ThreadListItemPrimitive` (Root, New, Items, Trigger, Title, Archive, Unarchive, Delete). Covers thread CRUD through the `useAui()`/`useAuiState()` API: `switchToThread`, `switchToNewThread`, and per item `rename`, `archive`, `unarchive`, `delete`, `generateTitle`, `initialize`, plus reading `s.threads.threadIds`/`archivedThreadIds`/`mainThreadId`. Includes cloud-backed persistence via `useChatRuntime` + `AssistantCloud` and a local `useRemoteThreadListRuntime` + `InMemoryThreadListAdapter` path. Use when a user wants a thread list/sidebar, switching, searching, sorting, drag-and-drop, or renaming/archiving/deleting conversations. For single-thread state, messages, or composer use runtime; for cloud auth/persistence setup use cloud.
- Type
- Skill
- Author
- assistant-ui
- GitHub stars
- 29
- Installs
- 6.2K
- Last updated
- October 27, 2026
Install
npx skills add https://github.com/assistant-ui/skills --skill thread-listAbout this skill
Implements multi-thread conversation history management in assistant-ui apps, either by rendering the prebuilt ThreadList next to Thread or by building a custom sidebar with ThreadListPrimitive and ThreadListItemPrimitive. It covers thread CRUD through the useAui()/useAuiState() API, including switchToThread, switchToNewThread, and per-item rename, archive, unarchive, delete, generateTitle, and initialize. Persistence options include cloud-backed useChatRuntime with AssistantCloud or a local useRemoteThreadListRuntime with InMemoryThreadListAdapter.
Summary written with AI assistance from the project's public description.
More from assistant-ui
Assistant Ui
Overview and router for assistant-ui, the React library for building AI chat interfaces from composable primitives. Use for high-level, cross-cutti...
by assistant-ui
Streaming
Streaming backends and wire protocols for assistant-ui via the assistant-stream package. Use when building a custom (non-AI-SDK) streaming endpoint...
by assistant-ui
Tools
Registers LLM tools and renders custom tool-call UI in assistant-ui (@assistant-ui/react). Covers the current authoring model: a "use generative" f...
by assistant-ui
Primitives
Builds and customizes assistant-ui chat UI from composable, unstyled @assistant-ui/react primitives that follow Radix-style part composition. Use w...
by assistant-ui
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh