Agent skill

Tanstack Query

by operately in operately/operately

Operately frontend data fetching with TanStack Query. An agent skill from operately/operately.

Custom licenceAuto-check passedFrontend & Design

Install Tanstack Query

skills CLI
$ npx skills add operately/operately --skill tanstack-query -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install operately/operately tanstack-query --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/operately/operately.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/tanstack-query .claude/skills/tanstack-query && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tanstack-query
GitHub stars
576
Token cost
~1.8k tokens
SKILL.md length
718 words
Files
2
Skills in repo
9
Repo updated
First seen
Licence
Custom licence

At a glance

Operately frontend data fetching with TanStack Query. An agent skill from operately/operately.

  • Works in 5 steps: Build queryInput (same shape the API… → await Api.namespace.fooQuery(queryInput)… → return { queryInput }. → …
  • Changing page loaders
  • SKILL.md covers When to migrate, How it works, Page loaders and Mutations, plus 4 more sections
  • Calls make

What it does

Tanstack Query is an agent skill from operately/operately. Operately frontend data fetching with TanStack Query. Use when adding or changing page loaders, model hooks, Api. calls, mutations, useLoadedData, Pages.useRefresh, or any web UI backend request. New code must use TanStack. When fixing or extending an existing surface, migrate that surface's API calls to TanStack in the same change.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).

It sits in Frontend & Design, covering Frontend development. It works with TanStack. The repository describes itself as: The open source company operating system.

When your agent uses it

  • Changing page loaders
  • Tasks that involve Frontend development

Example prompts

  • “/tanstack-query”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Build queryInput (same shape the API already used).
  2. await Api.namespace.fooQuery(queryInput) (parallelize with Promise.all).
  3. return { queryInput }.
  4. useLoadedData reads Pages.useLoadedData(), then
  5. Check the declared types: do not assert fields that are already non-nullable.

What it can do on your machine

Read from SKILL.md and the folder at commit a11131d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tanstack Query loads about 1.8k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 718 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 718 words (~1,782 tokens).

“All new web-app backend requests go through TanStack Query. Imperative Api.foo.bar() in loaders, generated tuple hooks (Api.foo.useBar()), and Pages.useRefresh() are the old pattern.”

— opening of SKILL.md by operately, Custom licence
name
tanstack-query

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .agents/skills/tanstack-query of operately/operately.

  • SKILL.md
  • reference.md

Open the folder on GitHubat commit a11131d

Compare with similar skills

Tanstack Query next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tanstack Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tanstack Query this skilloperately/operately576—~1.8kAutomated safety check: PassCustom licence
React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase10k2 repos~2.9kAutomated safety check: PassMIT
Dashboard Builder for holaOSholaboss-ai/holaOS11k—~6.3kAutomated safety check: PassCustom licence
Add Console API Featurewso2/agent-manager105—~761Automated safety check: PassApache-2.0
Frontendvechain/x-app-template450—~1.1kAutomated safety check: PassMIT
React ExpertJeffallan/claude-skills12k—~1.4kAutomated safety check: PassMIT

Similar skills

  • React Frontend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.

    10k GitHub starsUsed in 2 repos~2.9k tokens
    Frontend & DesignAuto-check passed
  • Builds the visual layer of a holaOS dashboard app with TanStack Start and @holaboss/ui, starting from a bundled reference instead of a blank page.

    11k GitHub stars~6.3k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Add Console API Feature

    wso2/agent-manager

    Add an API-backed feature to the console (React/TypeScript web UI).

    105 GitHub stars~761 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend

    vechain/x-app-template

    Generic frontend development patterns for VeChain dApps — React Query, Turborepo architecture, state management, Chakra UI, i18n, loading states, and transaction UX.

    450 GitHub stars~1.1k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • React Expert

    Jeffallan/claude-skills

    Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.

    12k GitHub stars~1.4k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Frontend Development

    ambient-code/platform

    Required context for all frontend work. An agent skill from ambient-code/platform.

    131 GitHub stars~525 tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from operately/operately

All 9 skills in this repo
  • Components Architecture

    operately/operately

    Defines where UI components belong in Operately (TurboUI-first).

    576 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Ecto Migrations

    operately/operately

    Rules for Operately schema migrations (app/priv/repo/migrations/) and data migrations (app/lib/operately/data/change.ex).

    576 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • MCP Tools

    operately/operately

    Defines how to add Operately MCP tools (API-first wrappers).

    576 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Writing Tests

    operately/operately

    Operately test layout, naming (.projections.json), factories, feature/e2e steps, external query/mutation auth specs, and how to run Elixir/API/JS/EE tests.

    576 GitHub stars~2.7k tokensUpdated today
    Auto-check: notes
  • Clean Code

    operately/operately

    Clean-code engineering standards for writing, refactoring, and reviewing code in any programming language.

    576 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Help Docs

    operately/operately

    Discover help documentation work from operately git history.

    576 GitHub stars~866 tokensUpdated today
    Auto-check passed

Works with

Questions about Tanstack Query

What does Tanstack Query do?

Operately frontend data fetching with TanStack Query. An agent skill from operately/operately. Tanstack Query is an agent skill from operately/operately. Operately frontend data fetching with TanStack Query.

When should I use Tanstack Query?

Tanstack Query fits situations like: changing page loaders; tasks that involve Frontend development.

How do I install Tanstack Query in Claude Code?

Run `npx skills add operately/operately --skill tanstack-query -a claude-code`. Or copy the skill folder (.agents/skills/tanstack-query in operately/operately) into .claude/skills/tanstack-query in your project. Claude Code loads it when a task matches its description.

How do I install Tanstack Query in Codex?

Run `npx skills add operately/operately --skill tanstack-query -a codex`. Or copy the skill folder (.agents/skills/tanstack-query in operately/operately) into .agents/skills/tanstack-query in your project. Codex loads it when a task matches its description.

Can I use Tanstack Query in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add operately/operately --skill tanstack-query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tanstack-query, .gemini/skills/tanstack-query, .github/skills/tanstack-query and .opencode/skills/tanstack-query in your project.

What does Tanstack Query need to run?

Going by SKILL.md and its folder, Tanstack Query needs the command-line tools its instructions call (make).

Does Tanstack Query access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tanstack Query safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tanstack Query use?

Tanstack Query has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Tanstack Query use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tanstack Query?

Skills that share tags, products or a category with Tanstack Query: React Frontend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars), Dashboard Builder for holaOS (holaboss-ai/holaOS, 11k stars), Add Console API Feature (wso2/agent-manager, 105 stars) and Frontend (vechain/x-app-template, 450 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tanstack Query?

operately (a GitHub organization) maintains it in operately/operately, which has 576 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.

Source: operately/operately on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.