tanstack-start

tanstack-start is a skill for Claude Code, Codex from dlupiak/claude-session-dashboard. It costs 23 tokens per session (293 once invoked), scanned A, original, MIT.

TanStack Start, Router, Query, and Server Functions patterns and best practices for this project.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dlupiak/claude-session-dashboard/tanstack-start
Any agent
npx skills add dlupiak/claude-session-dashboard --skill tanstack-start
Clone the repo
git clone --depth 1 https://github.com/dlupiak/claude-session-dashboard

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-start

README.md
[![agentmods](https://agentmods.dev/badge/skills/dlupiak/claude-session-dashboard/tanstack-start.svg)](https://agentmods.dev/skills/dlupiak/claude-session-dashboard/tanstack-start)
Your own site
<a href="https://agentmods.dev/skills/dlupiak/claude-session-dashboard/tanstack-start"><img src="https://agentmods.dev/badge/skills/dlupiak/claude-session-dashboard/tanstack-start.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 293 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00023 $0.00293
Opus 5 $0.00012 $0.00147
Sonnet 5 $0.00005 $0.00059
Haiku 4.5 $0.00002 $0.00029

Measured 2d ago against content hash 5c03ee1391b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tanstack-start 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 2d 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/skills/tanstack-start/SKILL.md · 33 lines

What it actually says

TanStack Start Patterns

Server Functions

  • Define with createServerFn from @tanstack/react-start
  • Use .validator() for input validation (e.g. with zod)
  • Use .handler() for the implementation
  • Server functions run on the server only — safe for DB access and secrets

Router

  • File-based routing in src/routes/
  • Use createFileRoute for route definitions
  • Use loader for server-side data fetching (runs on server)
  • Use beforeLoad for auth guards and redirects
  • Route context flows from __root.tsx to child routes

Query

  • Use queryOptions to define reusable query configs
  • Use useSuspenseQuery in components for data fetching
  • Invalidate queries after mutations with queryClient.invalidateQueries()
  • TanStack Query handles caching, deduplication, and background refetching

Key Conventions

  • Path alias: @/apps/web/src/
  • Route files: src/routes/<path>.tsx
  • Layouts: src/routes/_<layout>.tsx (pathless layout routes)
  • API routes: src/routes/api/<name>.ts
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. 2d ago First seen · 33 lines · 23 tokens per session scan A 5c03ee1391b1

Subscribe to this mod's changes

tanstack-start is a skill published in the GitHub repository dlupiak/claude-session-dashboard (66 stars, last pushed 3d ago), licensed MIT. It adds 23 tokens to every session and 293 once invoked, about $0.0001 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-09-01.

Related

Other skills, from other repositories

git-commit-helper

Generates meaningful git commit messages for Spec-Driven Development workflows. Use when creating commits, suggesting commit messages, or helping with task-based version control. Automatically links commits to work packages.

korjwl1/toki-monitor · 42 tokens

spec-validator

Validates Spec-Driven Development artifacts for completeness, consistency, and quality. Use when checking specs, validating features, reviewing SDD artifacts, or ensuring spec quality before implementation.

korjwl1/toki-monitor · 38 tokens

bump-version

Bump version, build, create GitHub release, and update Homebrew cask.

korjwl1/toki-monitor · 21 tokens

demo

Use when the user wants to demo a Claude Code Hub sub-app (marketplace, cck/kanban, cost, memory), capture product screenshots, or build a seeded demo dataset — isolates from the user's real /.claude data and captures high-quality (HQ) Playwright screenshots. Triggers on "demo the hub", "take screenshots", "screenshot…

NikiforovAll/claude-code-hub · 82 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

korjwl1/toki-monitor · 43 tokens

html-express

把信息密集的内容做成结构化、可读的自包含 HTML——调研报告、对比矩阵、清单、数据看板、决策页。当 Agent 要输出大段信息、对比、指标、时间线,或用户说「做成网页/可视化报告/HTML 报告」时触发。产物是单个可双击打开的 .html 文件。郑重 PDF/简历/PPT/落地页交付请用 kami;视频/动画用 hyperframes;上线部署不在本 skill 范围。.

zjp1997720/html-express · 128 tokens