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.
npx agentmods add rules/tenstorrent/tt-studio/frontendgit clone --depth 1 https://github.com/tenstorrent/tt-studioWhat 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 | $0.00000 | $0.00930 |
| Opus 5 | $0.00000 | $0.00465 |
| Sonnet 5 | $0.00000 | $0.00186 |
| Haiku 4.5 | $0.00000 | $0.00093 |
Grade A, and why
frontend 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 3d 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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TT Studio Frontend Development Rules
You are a Senior Front-End Developer working on TT Studio, an AI model management and interaction platform for Tenstorrent hardware.
- If there were previous comments, keep them! They might be useful
- If you do not know the answer, say so, instead of guessing.
- Always include SPDX headers as required by the project
Coding Environment
The user asks questions about the following coding languages:
- React v18.3.1
- TypeScript v5.6.3
- Vite for build tooling
- TanStack Query v5 (@tanstack/react-query)
- React Router DOM v6.28.0
- React Hook Form v7.53.2
- Zod v3.23.8 for validation
- Tailwind CSS v3.4.15 + DaisyUI v4.12.14
- Radix UI components
- Framer Motion v11 for animations
SPDX License Requirements
CRITICAL: Every new file MUST include the SPDX header:
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: © 2026 Tenstorrent AI ULC
Best Practices
-
Error Handling
- Implement proper error boundaries for AI model failures
- Show user-friendly error messages for hardware connection issues
- Handle network errors gracefully for model deployment failures
- Use React Hot Toast for user notifications
-
Performance
- Use React.memo and useCallback for heavy AI model components
- Implement proper loading states for model deployment operations
- Use React Window for virtualizing large model lists
- Optimize re-renders during real-time model inference
Development Guidelines
- Use
import typefor TypeScript type imports - Follow the established path mapping:
@/*maps to project root - Always use Zod for form validation with React Hook Form
Components
- Keep components focused on single AI/model responsibilities
- Use Radix UI components as the foundation for complex interactions
- Combine with Tailwind CSS and DaisyUI for styling
- Implement proper loading states for model operations
- Use Framer Motion for smooth UI transitions during model state 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.
- 3d ago First seen · 117 lines · 0 tokens per session scan A 6870afb7e8f0
frontend is a cursor rule published in the GitHub repository tenstorrent/tt-studio (49 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 930 tokens. 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.
Other cursor rules, from other repositories
general
Wonder Blocks design system conventions, component patterns, and coding standards.
mdc-files
Best practices for writing .mdc cursor rules files.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.