tanstack-vue-query-skilld

tanstack-vue-query-skilld is a skill for Claude Code, Codex from skilld-dev/vue-ecosystem-skills. It costs 67 tokens per session (1,569 once invoked), scanned A, original, MIT.

A coding guide for TanStack Vue Query, a Vue library for fetching, caching, and synchronising data from remote or asynchronous sources. It documents current composables and options.

In plain words
What is it for?
Use it when writing, debugging, or modifying Vue code that uses @tanstack/vue-query for server data.
Why use it?
It helps avoid stale data, incorrect reactive values, and migration errors when the library's API changes.

Skill for Claude CodeCodex

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

Good fit Use it when writing, debugging, or modifying Vue code that uses @tanstack/vue-query for server data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-query-skilld
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 skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld
Clone the repo
git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin tanstack-vue-query — /plugin install tanstack-vue-query after adding the marketplace above.

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-vue-query-skilld

README.md
[![agentmods](https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-query-skilld/github.svg)](https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-query-skilld)
Your own site
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-query-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-query-skilld/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 tanstack-vue-query-skilld

Your own site · 80×15
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-query-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/tanstack-vue-query-skilld.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,569 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 33
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00067 $0.01569
Opus 5.5 $0.00027 $0.00628
Sonnet 5.5 $0.00013 $0.00314
Haiku 4.5 $0.00007 $0.00157

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

Security

Grade A, and why

tanstack-vue-query-skilld 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.

skills/tanstack-vue-query-skilld/SKILL.md · 110 lines

How it starts

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

@tanstack/[email protected]

Async data hooks for Vue. Version 5.103.2, prepared source at input/source. Peer deps: vue ^2.6.0 || ^3.3.0; Vue 2 needs @vue/composition-api (optional peer) (package.json:56-59). Re-exports everything from @tanstack/query-core 5.103.2, so keepPreviousData, skipToken, focusManager, onlineManager, hydration utils, and observer classes import from @tanstack/vue-query directly (src/index.ts:1).

Setup

Install the plugin once per app. It creates (or accepts) a QueryClient, provides it app-wide, and mounts/unmounts it (src/vueQueryPlugin.ts:74-154):

import { createApp } from 'vue'
import { QueryClient, VueQueryPlugin } from '@tanstack/vue-query'

const app = createApp(App)

// Option A: pass your own client (required for SSR — one fresh client per request)
const queryClient = new QueryClient()
app.use(VueQueryPlugin, { queryClient })

// Option B: let the plugin build one with your defaults
app.use(VueQueryPlugin, {
  queryClientConfig: { defaultOptions: { queries: { staleTime: 5 * 1000 } } },
})

VueQueryPluginOptions: queryClient or queryClientConfig (one or the other), queryClientKey (only when installing multiple clients), clientPersister + clientPersisterOnSuccess (persisted cache restore), enableDevtoolsV6Plugin (src/vueQueryPlugin.ts:11-38). The client is not mounted on the server (src/vueQueryPlugin.ts:87-89).

useQueryClient(id?) throws outside an injection context or without the plugin (src/useQueryClient.ts:27-44).

Basic query

<script setup lang="ts">
import { ref } from 'vue'
import { useQuery } from '@tanstack/vue-query'

const postId = ref(1)
const { status, data, error, refetch } = useQuery({
  queryKey: ['post', postId],          // ref inside the key: tracked, no .value
  queryFn: () => fetchPost(postId.value),
})
</script>

<template>
  <span v-if="status === 'pending'">Loading...</span>
  <span v-else-if="status === 'error'">Error: {{ error!.message }}</span>
  <h1 v-else>{{ data!.title }}</h1>
</template>

Read the full file on GitHub · 110 lines

Files

What ships with it

5 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 Changed · +1 lines 0d5b5736e43f
  2. 2mo ago Changed · +43 lines 5a87451b0d08
  3. 3mo ago First seen · 66 lines · 67 tokens per session scan A 0bbd5c972c73

Subscribe to this mod's changes

tanstack-vue-query-skilld is a skill published in the GitHub repository skilld-dev/vue-ecosystem-skills (188 stars, last pushed 15d ago), licensed MIT. It adds 67 tokens to every session and 1,569 once invoked, about $0.0003 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-08-30.

Related

tanstack-vue-query-skilld compared with skills from other repositories

tanstack-vue-query-skilld next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tanstack-vue-query-skilldskilld-dev/vue-ecosystem-skillsSkill18815d agoMITA67Claude Code, Codex
shadcn-sveltevercel-labs/json-renderSkill20k9d agoApache-2.0A63Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.2ktodayMITA69Claude Code
moai-domain-uiuxmodu-ai/moai-adkSkill1.3ktodayApache-2.0A49Claude Code
moai-domain-frontendmodu-ai/moai-adkSkill1.3ktodayApache-2.0A54Claude Code
weapp-vite-vue-sfc-best-practicesweapp-vite/weapp-viteSkill530todayMITA107Codex
vue-router-best-practicesvuejs-ai/skillsSkill3.4k1mo agoMITA25Claude Code, Codex