assistant-ui logo
AI & ML

Real file from a public repo · synced Sep 3, 2026

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.

assistant-ui/skills5.0k installsMIT

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI

Install in three steps

  1. 1

    Download the ZIP

    One file per agent, plus INSTALL.md with the exact paths below.

  2. 2

    Claude Code: copy SKILL.md into your skills folder

    .claude/skills/thread-list/SKILL.md    # this project
    ~/.claude/skills/thread-list/SKILL.md   # every project
  3. 3

    Other agents: use the matching file

    skill.mdc goes in Cursor’s .cursor/rules/. AGENTS.md works as GitHub Copilot instructions, a legacy .cursorrules, or a Codex / Gemini CLI instructions file.

More AI & ML skills

All AI & ML skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY