TanStack/ai

🤖 Type-safe, provider-agnostic TypeScript AI SDK for streaming chat, tool calling, agents, and multimodal apps across OpenAI, Anthropic, Gemini, React, Vue, Svelte, and Solid.

3.0kStars on the repository
48Mods indexed here, across every type
2d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

bugfix-pr

01

TanStack/ai

Skill Claude CodeCodex

Treats bug-fix pull requests as invasive and untrusted. The agent must security-scan the PR first, must not run any command supplied by the author or issue, must reproduce the claimed bug on clean main with an agent-written repro, and must reject hunks that are not required to kill that bug. The agent must…

3.0k 2d ago A 188 tokens original MIT

docs

02

TanStack/ai

Skill Claude CodeCodex

Use when writing, editing, or organizing documentation, when planning what docs a feature needs, and whenever planning or implementing a new feature or change in a repo (docs ship with the code). Also use when tempted to write docs without showing the discovered readers to the user, without asking for tone, or without…

3.0k 2d ago A 118 tokens original MIT

gap-analysis

03

TanStack/ai

Skill Claude CodeCodex

Audit TanStack AI provider adapters for feature parity gaps and outdated model lists. Triggered as /gap-analysis |models|--all>. Produces a dated markdown report under .agent/gap-analysis/. Maintainer tool — does not edit feature-support.ts or model-meta.ts directly.

3.0k 2d ago A 65 tokens original MIT

i-have-adhd

04

TanStack/ai

Skill Claude CodeCodex

Use when the user invokes /i-have-adhd, says they have ADHD, or asks for ADHD-friendly output. Also used as a required writing filter by the docs skill. Don't use for marketing copy or after the user says "stop adhd mode" or "normal mode".

3.0k 2d ago C 63 tokens copy · 88% MIT

ponytail

05

TanStack/ai

Skill Claude CodeCodex

Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports…

3.0k 2d ago A 138 tokens original MIT

pr-description

06

TanStack/ai

Skill Claude CodeCodex

Use when writing a pull request title or body, when about to run gh pr create, when about to git push on a branch that already has an open PR, or when the user says /pr-description, "write the PR description", or "update the PR title". Don't use for commit messages, changelogs, or review comments.

3.0k 2d ago A 72 tokens original MIT

simple-english

07

TanStack/ai

Skill Claude CodeCodex

Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop. Use for documentation, READMEs, runbooks, procedures, error messages, release notes, incident reports, and API guides. Also use when the user says "STE", "Simplified Technical…

3.0k 2d ago A 149 tokens copy · 81% MIT

triage-github

08

TanStack/ai

Skill Claude CodeCodex

Triage all open GitHub issues, PRs, and discussions in the current repository by fanning out up to 100 parallel subagents (one per item), then produce a single prioritized report ranking which PRs to review first, which issues to address first, and which discussions need maintainer attention. Use when the user asks to…

3.0k 2d ago A 121 tokens original MIT

pr-sweep

09

TanStack/ai

Skill Claude CodeCodex

Sweep open (or listed) PRs with up to 100 parallel agents: security-scan outside contributors, rebase onto main when behind (push --force-with-lease), approve pending first-time-contributor CI when relevant, optionally rebase in-house PRs, and report who should review. Supports full, changed-only, behind-only, and…

3.0k 2d ago A 159 tokens original MIT

ai-code-mode

10

TanStack/ai

Skill Claude CodeCodex

LLM-generated TypeScript execution in sandboxed environments: createCodeModeTool() with isolate drivers (createNodeIsolateDriver, createQuickJSIsolateDriver, createQuickJSBunIsolateDriver, createCloudflareIsolateDriver), codeModeWithSnippets() for persistent snippet libraries, trust strategies, snippet storage…

3.0k 2d ago A 95 tokens original MIT

ai-mcp

11

TanStack/ai

Skill Claude CodeCodex

Host-side Model Context Protocol (MCP) client for TanStack AI: connect to external MCP servers, discover and run their tools inside any adapter's chat() loop, read resources and prompts, generate TypeScript types (typed tool names/pool keys) with the bundled CLI, and manage lifecycle with close()/await using.

3.0k 2d ago A 69 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when wiring hindsight() from @tanstack/ai-memory/hindsight — a hosted memory adapter that buckets memory per conversation and exposes retain/recall/reflect tools to the model. Requires the optional @vectorize-io/hindsight-client peer.

3.0k 2d ago A 57 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when wiring honcho() from @tanstack/ai-memory/honcho — a hosted memory adapter where recall is a dialectic answer over the user's representation (no discrete fragments). Requires the optional @honcho-ai/sdk peer.

3.0k 2d ago A 55 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when wiring inMemory() from @tanstack/ai-memory/in-memory — explains setup, options (embedder, extract, topK/minScore), when to pick it (dev/tests/single-process demos), and what NOT to use it for (multi-process or persistent).

3.0k 2d ago A 63 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when wiring mem0() from @tanstack/ai-memory/mem0 — a hosted memory adapter that talks to a mem0 server over plain HTTP (no SDK peer). Requires a running mem0 server.

3.0k 2d ago A 51 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking limits, and troubleshooting.

3.0k 2d ago A 52 tokens original MIT

tanstack-ai-memory

17

TanStack/ai

Skill Claude CodeCodex

Use when wiring memoryMiddleware from @tanstack/ai-memory into a chat() call — covers the recall/save adapter contract, scope shape and server-side scope security, the recall-inject / deferred-save lifecycle, choosing an adapter (inMemory, redis, hindsight, mem0, honcho), and devtools events.

3.0k 2d ago A 69 tokens original MIT

ai-persistence

18

TanStack/ai

Skill Claude CodeCodex

Durability and state persistence for TanStack AI chats with @tanstack/ai-persistence. Routes to server chat persistence (withPersistence), client persistence (localStorage/IndexedDB), the store contracts, and adapter recipes. Distinguishes delivery durability (resumable streams) from conversation state. Use when…

3.0k 2d ago A 88 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

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.

3.0k 2d ago A 68 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when a Cloudflare Worker needs durable byte storage for TanStack AI generated media (images, audio, video, transcripts) — writes a BlobStore backed by R2 and an ArtifactStore backed by D1, composes them onto the generation persistence so withGenerationPersistence persists artifact bytes, and serves them back from…

3.0k 2d ago A 104 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when an app needs TanStack AI chat persistence on a database with no dedicated recipe — raw Postgres (pg/postgres.js), Kysely, node:sqlite, MongoDB, Supabase, Redis. Writes a chat-persistence.ts against the app's existing client, covering the four stores, the idempotency invariants, and the conformance gate. Route…

3.0k 2d ago A 101 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when an app already runs Drizzle ORM and needs TanStack AI chat persistence — writes a chat-persistence.ts into the app against its existing db handle, schema file, and drizzle-kit journal. Covers the four tables (SQLite/Postgres/MySQL), the onConflict idempotency rules, JSON columns, and per-request bindings like…

3.0k 2d ago A 79 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Use when an app already runs Prisma and needs TanStack AI chat persistence — writes a chat-persistence.ts into the app against its existing PrismaClient and schema.prisma. Covers the four models, BigInt timestamps, JSON-as-string columns, upsert-with-empty-update idempotency, and model renaming.

3.0k 2d ago A 71 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Server chat state with withPersistence from @tanstack/ai-persistence. Authoritative transcript, run lifecycle, durable interrupts/approvals, chatParamsFromRequest, reconstructChat, snapshotStreaming. Use when the server owns history, multi-device, or durable tool approvals. NOT client localStorage (see…

3.0k 2d ago A 83 tokens original MIT