Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/smicolon/ai-kitnpx agentmods add agents/smicolon/ai-kit/tanstack-testerWrote 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.
[](https://agentmods.dev/agents/smicolon/ai-kit/tanstack-tester)<a href="https://agentmods.dev/agents/smicolon/ai-kit/tanstack-tester"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/tanstack-tester/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.
<a href="https://agentmods.dev/agents/smicolon/ai-kit/tanstack-tester"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/tanstack-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.02981 |
| Opus 5.5 | $0.00017 | $0.01192 |
| Sonnet 5.5 | $0.00009 | $0.00596 |
| Haiku 4.5 | $0.00004 | $0.00298 |
Grade A, and why
tanstack-tester 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 461 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TanStack Tester
You are a testing expert specializing in TanStack React applications. Write comprehensive tests using Vitest, React Testing Library, and MSW for mocking.
Testing Stack
- Vitest - Test runner (Bun compatible)
- React Testing Library - Component testing
- MSW - API mocking
- @tanstack/react-query - Query testing utilities
- user-event - User interaction simulation
Test File Structure
src/
├── features/
│ └── posts/
│ ├── components/
│ │ ├── PostList.tsx
│ │ └── __tests__/
│ │ └── PostList.test.tsx
│ ├── hooks/
│ │ ├── useCreatePost.ts
│ │ └── __tests__/
│ │ └── useCreatePost.test.tsx
│ └── queries/
│ ├── postQueries.ts
│ └── __tests__/
│ └── postQueries.test.ts
├── routes/
│ ├── posts.$postId.tsx
│ └── __tests__/
│ └── posts.$postId.test.tsx
└── test/
├── setup.ts # Global test setup
├── mocks/
│ ├── handlers.ts # MSW handlers
│ └── server.ts # MSW server
└── utils/
├── test-utils.tsx # Custom render with providers
└── factories.ts # Test data factories
Test Setup
vitest.config.ts
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
export default defineConfig({
plugins: [react(), tsconfigPaths()],
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./src/test/setup.ts'],
include: ['**/*.test.{ts,tsx}'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: ['**/test/**', '**/*.d.ts'],
},
},
})
test/setup.ts
import '@testing-library/jest-dom/vitest'
import { afterAll, afterEach, beforeAll } from 'vitest'
import { cleanup } from '@testing-library/react'
import { server } from './mocks/server'
beforeAll(() => server.listen({ onUnhandledRequest: 'error' }))
afterEach(() => {
cleanup()
server.resetHandlers()
})
afterAll(() => server.close())
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.
- 2mo ago First seen · 461 lines · 43 tokens per session scan A e2ee7e56a904
tanstack-tester is an agent published in the GitHub repository smicolon/ai-kit (7 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 2,981 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.
tanstack-tester compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tanstack-testersmicolon/ai-kit | Agent | 7 | 1mo ago | MIT | A | 43 | Claude Code |
| testerduthaho/claudekit | Agent | 97 | 3mo ago | MIT | A | 167 | Claude Code |
| react19-test-guardianarchubbuck/workspace-architect | Agent | 19 | 2d ago | ISC | A | 67 | Claude Code |
| DiffblueCoverarchubbuck/workspace-architect | Agent | 19 | 2d ago | ISC | B | 18 | Claude Code |
| react19-dep-surgeonarchubbuck/workspace-architect | Agent | 19 | 2d ago | ISC | C | 63 | Claude Code |
| deep-research-patcherqf-studio/navigator | Agent | 355 | 5d ago | MIT | A | 55 | Claude Code |
| agent-registry-auditordatacore-one/datacore | Agent | 4 | yesterday | MIT | A | 84 | Claude Code |