tanstack-hono AGENTS.md

Repository instructions for a full-stack React application, meaning one with both a web interface and a server. They explain its routing, server code, build tools, tests, styling, environment settings, and deployment.

In plain words
What is it for?
Building, checking, testing, routing, styling, and deploying the application while following its Vite+, TanStack Router, Hono, and TypeScript setup.
Why use it?
They prevent common mistakes such as using the wrong package manager or editing generated files.

Instructions file for CodexOpenCode

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 instructions/bskimball/tanstack-hono/agents-md
Clone the repo
git clone --depth 1 https://github.com/bskimball/tanstack-hono

Made for: Codex, OpenCode.

Per session 1,461 This file is loaded in full into every session.
When invoked 1,461 The same file — it is already loaded in full.
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.01461 $0.01461
Opus 5 $0.00731 $0.00731
Sonnet 5 $0.00292 $0.00292
Haiku 4.5 $0.00146 $0.00146

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

Security

Grade A, and why

tanstack-hono AGENTS.md 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.

AGENTS.md · 113 lines

How it starts

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

AI Agent Guidelines

Full-stack React SSR app — TanStack Router (file-based routing) + Hono (server/SSR) + Vite+ + TypeScript.

Essentials

  • Package manager: vp — never call npm/pnpm/yarn for installs or tooling (npm start for running the built server is fine)
  • Never edit src/routeTree.gen.ts (auto-generated)
  • vp run build — build client + server | vp check — format + lint + typecheck | vp test — run tests

Guides

Using Vite+, the Unified Toolchain for the Web

This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called vp. Vite+ is distinct from Vite, but it invokes Vite through vp dev and vp build.

Vite+ Workflow

vp is a global binary that handles the full development lifecycle. Run vp help to print a list of commands and vp <command> --help for information about a specific command.

Start

  • create - Create a new project from a template
  • migrate - Migrate an existing project to Vite+
  • config - Configure hooks and agent integration
  • staged - Run linters on staged files
  • install (i) - Install dependencies
  • env - Manage Node.js versions

Read the full file on GitHub · 113 lines

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 · 113 lines · 1,461 tokens per session scan A 18ecab840cf5

Subscribe to this mod's changes

tanstack-hono AGENTS.md is an instructions file published in the GitHub repository bskimball/tanstack-hono (119 stars, last pushed 21d ago), licensed MIT. It adds 1,461 tokens to every session, about $0.0073 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-08-30.