cloud
cloud
What it does
- ./references/persistence.md -- Thread and message persistence
- ./references/authorization.md -- Authentication patterns
- ./references/custom-persistence.md -- Self-hosted message persistence
- ./references/auth-integrations.md -- better-auth and Clerk integrations
- Pass cloud to runtime
- Check authentication
- Verify authToken returns valid token
Requirements & configuration
- // JWT Token (recommended)
- // API Key (server-side)
- Verify authToken returns valid token
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
cloud FAQ
What does the cloud skill do?
Sets up assistant-ui Cloud persistence and authorization with the assistant-cloud package and AssistantCloud client. Use when adding cross-session thread/message persistence, multi-device chat history, file uploads, or auth to an assistant-ui app: passing the cloud option to useChatRuntime (with AssistantChatTransport from @assistant-ui/react-ai-sdk), configuring AssistantCloud with authToken (JWT), apiKey plus userId/workspaceId (server-side), or anonymous mode, and wiring auth providers like NextAuth, Clerk, or Firebase. Covers cloud.threads.list/get/create/update/delete, cloud.threads.messages(threadId), cloud.files.generatePresignedUploadUrl, the aui/v0 message format, custom adapters (CloudMessagePersistence, createFormattedPersistence, ThreadHistoryAdapter, RemoteThreadListAdapter), auto title generation, external_id/metadata mapping, and env vars NEXT_PUBLIC_ASSISTANT_BASE_URL and ASSISTANT_API_KEY. For the thread-list sidebar UI itself use thread-list. ./references/persistence.md -- Thread and message persistence ./references/authorization.md -- Authentication patterns
What does cloud require?
// JWT Token (recommended) // API Key (server-side) Verify authToken returns valid token
How do I install cloud?
Run: npx -y skills add https://github.com/assistant-ui/skills --skill cloud --agent claude-code — the source lives at github.com/assistant-ui/skills.
Maintain cloud?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[cloud on getagentictools](https://getagentictools.com/skills/assistant-ui-skills-cloud?ref=badge) npx agentictools info skills/assistant-ui-skills-cloud The second line is the CLI lookup for this page — handy in READMEs and docs.