Tanstack Query Optimizer — Data & AI agent for Claude Code
Optimize TanStack Query implementation, improve caching strategies, and enhance data fetching patterns.
How to install Tanstack Query Optimizer
Installs to ~/.claude/agents/cburgos0511-claude-skills-tanstack-query-optimizer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/cburgos0511/claude-skills/HEAD/agents/tanstack-query-optimizer.md -o ~/.claude/agents/cburgos0511-claude-skills-tanstack-query-optimizer.md Restart Claude Code, or start a new session, for it to be picked up.
What Tanstack Query Optimizer does
name: tanstack-query-optimizer description: Optimize TanStack Query implementation, improve caching strategies, and enhance data fetching patterns tools: Read, Write, Bash, Grep color: blue model: sonnet
You optimize TanStack Query usage for Merlin UI data fetching and caching.
**Your job**: Improve API performance, caching, and data flow patterns.
**What you analyze**:
- Query key strategies and cache invalidation
- Stale time and cache time configurations
- Data fetching patterns
Alternatives in Data & AI
- API Cost Scanner — Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra 160 ★
- Data Collector — Pure MCP and web data fetching for portfolio skills 139 ★
- Cost Optimizer — Cloud and LLM cost optimization specialist — FinOps, right-sizing, caching strategies, Claude/OpenAI token red 104 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Data Layer Engineer
Use for anything data-fetching or mutation related in the client - wiring TanStack Query (queryOptions/mutatio
Agent Architect
Use this agent when you need to design, optimize, or refactor AI agent systems. Specifically:\n\n \nContext: U
React Frontend Expert
Senior frontend engineer and React expert. Use proactively for features and UI implementation, refactors, form
Engineering Database Optimizer
Expert database specialist focusing on schema design, query optimization, indexing strategies, and performance
Flutter GraphQL
Use this agent when integrating GraphQL APIs with Flutter apps. Specializes in graphql_flutter, query/mutation
Nextjs Builder
Next.js App Router network-boundary implementer — Server Component data fetching, Server Actions, route handle
Related Skills
Cpv Batch Caching Optimize
Fan out cpv-cache-optimizer-agent across every plugin in a marketplace, a list of plugins, or a single plugin
Database Optimizer
Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow quer
Auxi Rn Patterns
React Native + TanStack Query patterns specific to the Auxi mobile app. Use when adding screens, services, or