tanstack-best-practices

tanstack-best-practices is a skill for Claude Code, Codex from zama-ai/sdk. It costs 160 tokens per session (3,736 once invoked), scanned A, original, BSD-3-Clause-Clear.

A set of coding guidelines for building TanStack Query hooks. TanStack Query is a library for fetching, caching, and updating data in web applications; hooks are reusable functions that connect that library to application code.

In plain words
What is it for?
Use it when writing useQuery or useMutation hooks, designing cache identity and invalidation rules, or creating reusable query-option factories.
Why use it?
It helps keep data-fetching hooks consistent and prevents mistakes in cache keys, query options, and cache updates.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when writing useQuery or useMutation hooks, designing cache identity and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zama-ai/sdk/tanstack-best-practices
View source ↗ zama-ai/sdk
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 zama-ai/sdk --skill tanstack-best-practices
Clone the repo
git clone --depth 1 https://github.com/zama-ai/sdk

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 tanstack-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/zama-ai/sdk/tanstack-best-practices.svg)](https://agentmods.dev/skills/zama-ai/sdk/tanstack-best-practices)
Your own site
<a href="https://agentmods.dev/skills/zama-ai/sdk/tanstack-best-practices"><img src="https://agentmods.dev/badge/skills/zama-ai/sdk/tanstack-best-practices.svg" alt="Measured on agentmods" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,736 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.
Origin unknown 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.00160 $0.03736
Opus 5 $0.00080 $0.01868
Sonnet 5 $0.00032 $0.00747
Haiku 4.5 $0.00016 $0.00374

Measured 6d ago against content hash 243b931a3a02, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tanstack-best-practices 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 6d 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.

claude-setup/skills/tanstack-best-practices/SKILL.md · 336 lines

The source is not reproduced here

Licensed BSD-3-Clause-Clear

The repository is licensed BSD-3-Clause-Clear, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 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. 6d ago First seen · 336 lines · 160 tokens per session scan A 243b931a3a02

Subscribe to this mod's changes

tanstack-best-practices is a skill published in the GitHub repository zama-ai/sdk (11 stars, last pushed 2d ago), licensed BSD-3-Clause-Clear. It adds 160 tokens to every session and 3,736 once invoked, about $0.0008 per session on Opus 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-08-30.

Related

Other skills, from other repositories

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

react-flow-node-ts

Create React Flow node components with TypeScript types, handles, and Zustand integration. Use when building custom nodes for React Flow canvas, creating visual workflow editors, or implementing node-based UI components.

microsoft/skills · 43 tokens

zustand-store-ts

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

microsoft/skills · 42 tokens

crypto-market-dashboard-guide

Guide to building a real-time crypto market dashboard with Next.js, React, and TradingView charts. Features multi-chain portfolio tracking, DeFi position monitoring, price alerts, and social sentiment integration. Production-ready dashboard template.

nirholas/three.ws · 49 tokens

frontend-design

Create distinctive, production-grade Stellar dApp UI. Combines bold aesthetic direction with smart contract integration patterns — wallet connection flows, transaction UX, contract data displays, and agentic kit hook wiring. No generic "AI slop" aesthetics.

rylsherdamz-rgb/stellar-forge · 51 tokens

ts-sdk-wallet-adapter

How to integrate wallet connection in React frontends using @aptos-labs/wallet-adapter-react. Covers AptosWalletAdapterProvider setup, useWallet() hook, frontend transaction submission, and wallet connection UI. Triggers on: 'wallet adapter', 'connect wallet', 'useWallet', 'AptosWalletAdapterProvider'…

aptos-labs/aptos-agent-skills · 83 tokens