olore-tanstack-query-3

olore-tanstack-query-3 is a skill for Claude Code, Codex from olorehq/olore. It costs 39 tokens per session (644 once invoked), scanned A, original, MIT.

A local reference for TanStack Query version 3, also known as React Query, which fetches, caches, updates, and synchronizes data from a server in React applications.

In plain words
What is it for?
Use it to create queries and updates, manage loading and error states, cache results, refresh stale data, invalidate cached data, and integrate server data into React components.
Why use it?
It helps prevent repeated data-fetching code and explains how to keep displayed server data current after changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create queries and updates, manage loading and error states, cache results, refresh stale data, invalidate cached data, and integrate server data into React components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/olorehq/olore/3
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add olorehq/olore --skill 3
Clone the repo
git clone --depth 1 https://github.com/olorehq/olore

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for olore-tanstack-query-3

README.md
[![agentmods](https://agentmods.dev/badge/skills/olorehq/olore/3/github.svg)](https://agentmods.dev/skills/olorehq/olore/3)
Your own site
<a href="https://agentmods.dev/skills/olorehq/olore/3"><img src="https://agentmods.dev/badge/skills/olorehq/olore/3/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for olore-tanstack-query-3

Your own site · 80×15
<a href="https://agentmods.dev/skills/olorehq/olore/3"><img src="https://agentmods.dev/badge/skills/olorehq/olore/3.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00644
Opus 5.5 $0.00016 $0.00258
Sonnet 5.5 $0.00008 $0.00129
Haiku 4.5 $0.00004 $0.00064

Measured 1mo ago against content hash a194051f7a78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

olore-tanstack-query-3 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vault/packages/tanstack-query/3/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TanStack Query v3 Documentation

TanStack Query (formerly React Query) v3 documentation for server state management, data fetching, caching, queries, mutations, and React integration.

Documentation Structure

contents/framework/react/
├── guides/       # Core concepts and how-to guides (29 files)
├── reference/    # API reference for hooks and classes (19 files)
├── plugins/      # Plugin documentation (4 files)
└── [root]        # Setup, overview, and getting started (7 files)

Topic Guide

Topic Key Files
Getting Started contents/framework/react/installation.md, contents/framework/react/quick-start.md, contents/framework/react/overview.md
Queries (Fetching) contents/framework/react/guides/queries.md, contents/framework/react/guides/query-keys.md, contents/framework/react/guides/query-functions.md
Mutations (Updates) contents/framework/react/guides/mutations.md, contents/framework/react/reference/useMutation.md
Caching & Invalidation contents/framework/react/guides/caching.md, contents/framework/react/guides/query-invalidation.md, contents/framework/react/guides/important-defaults.md
Optimistic Updates contents/framework/react/guides/optimistic-updates.md, contents/framework/react/guides/updates-from-mutation-responses.md
Pagination contents/framework/react/guides/paginated-queries.md, contents/framework/react/guides/infinite-queries.md
SSR & Suspense contents/framework/react/guides/ssr.md, contents/framework/react/guides/suspense.md, contents/framework/react/reference/hydration.md
API Reference contents/framework/react/reference/useQuery.md, contents/framework/react/reference/QueryClient.md
TypeScript contents/framework/react/typescript.md
Testing contents/framework/react/guides/testing.md
Migration contents/framework/react/guides/migrating-to-react-query-3.md

When to use

Use this skill when the user asks about:

  • TanStack Query v3 / React Query v3
  • Server state management and data fetching
  • Queries, mutations, and cache management
  • Query invalidation and refetching
  • Optimistic updates
  • Infinite scrolling and pagination
  • SSR, hydration, and Suspense with React Query
  • React Query hooks (useQuery, useMutation, etc.)
  • QueryClient and cache configuration
  • TypeScript with React Query v3

Read the full file on GitHub · 55 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 55 lines · 39 tokens per session scan A a194051f7a78

Subscribe to this mod's changes

olore-tanstack-query-3 is a skill published in the GitHub repository olorehq/olore (104 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 644 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

nextjs-pages-router

Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.

trpc/trpc · 67 tokens

subscriptions

Set up real-time event streams with async generator subscriptions using .subscription(async function() { yield }). SSE via httpSubscriptionLink is recommended over WebSocket. Use tracked(id, data) from @trpc/server for reconnection recovery with lastEventId. WebSocket via wsLink and createWSClient from @trpc/client…

trpc/trpc · 118 tokens

links

Configure the tRPC client link chain: httpLink, httpBatchLink, httpBatchStreamLink, splitLink, loggerLink, wsLink, createWSClient, httpSubscriptionLink, unstablelocalLink, retryLink. Choose the right terminating link. Route subscriptions via splitLink. Build custom links for SOA routing. Link options: url, headers…

trpc/trpc · 90 tokens

middlewares

Create and compose tRPC middleware with t.procedure.use(), extend context via opts.next({ ctx }), build reusable middleware with .concat() and .unstablepipe(), define base procedures like publicProcedure and authedProcedure. Access raw input with getRawInput(). Logging, timing, OTEL tracing patterns.

trpc/trpc · 63 tokens

non-json-content-types

Handle FormData, file uploads, Blob, Uint8Array, and ReadableStream inputs in tRPC mutations. Use octetInputParser from @trpc/server/http for binary data. Route non-JSON requests with splitLink and isNonJsonSerializable() from @trpc/client. FormData and binary inputs only work with mutations (POST).

trpc/trpc · 75 tokens

server-side-calls

Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.

trpc/trpc · 61 tokens