SkillTrust

← All skills

ai-core/client-persistence

100 / 100 · Low risk

Fine to try.

By TanStack/ai (GitHub) · coding · 3,345 stars · scanned at commit 975ec3e

Browser chat persistence on useChat / ChatClient: localStoragePersistence, sessionStoragePersistence, indexedDBPersistence. Client-authoritative (adapter, full transcript) vs server-authoritative (persistence: true, no client cache). Reload restore, pending interrupts, mid-stream rejoin with delivery durability. Use for SPA reload durability — NOT server history alone. Also covers generation hooks (useGenerateImage etc.), which take only the server-driven mode: persistence: true hydrates the la…

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'ai-core-client-persistence' ] || [ -L ~/.agents/skills/'ai-core-client-persistence' ]; then echo 'A skill folder named ai-core-client-persistence already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/TanStack/ai' "$d" && git -C "$d" checkout --quiet '975ec3ef1e3c24ba8ef2e6421278a6ac5fd55492' -- 'packages/ai/skills/ai-core/client-persistence' && mkdir -p ~/.agents/skills && cp -R "$d"/'packages/ai/skills/ai-core/client-persistence' ~/.agents/skills/'ai-core-client-persistence' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'ai-core-client-persistence' ~/.claude/skills/'ai-core-client-persistence' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for TanStack/ai shows the score of its lowest-scoring skill.

SkillTrust badge for TanStack/ai

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/TanStack/ai.svg)](https://zalavijaysinh.github.io/skilltrust/repos/TanStack/ai/)

Score history

DateVersionScore
2026-11-11975ec3e100
2026-11-08c32f641100
2026-11-07c32f641100