SkillTrust

← All skills

ai-persistence/build-cloudflare-adapter

95 / 100 · Low risk

Fine to try.

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

Use when a Cloudflare Worker needs TanStack AI chat persistence — writes a chat-persistence.ts into the app against its D1 binding (raw or via Drizzle), plus a Durable Object LockStore. Covers per-request bindings, wrangler config, D1 migrations, and lease-based locks.

Works with any agent that supports SKILL.md skills.

What this skill can do

Connects to the internet

The author does not mention this.

Found in 2 places.

Install

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

if [ -e ~/.agents/skills/'ai-persistence-build-cloudflare-adapter' ] || [ -L ~/.agents/skills/'ai-persistence-build-cloudflare-adapter' ]; then echo 'A skill folder named ai-persistence-build-cloudflare-adapter 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-persistence/skills/ai-persistence/build-cloudflare-adapter' && mkdir -p ~/.agents/skills && cp -R "$d"/'packages/ai-persistence/skills/ai-persistence/build-cloudflare-adapter' ~/.agents/skills/'ai-persistence-build-cloudflare-adapter' && 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-persistence-build-cloudflare-adapter' ~/.claude/skills/'ai-persistence-build-cloudflare-adapter' (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-11975ec3e95
2026-11-08c32f64195
2026-11-07c32f64195