Better-T-Stack is a command-line tool that generates end-to-end, type-safe TypeScript project scaffolds from selectable frontend, backend, database, authentication, and tooling options. Developers use it to start full-stack applications with a stack tailored to their needs. The catalogue includes skills, agents, commands, an MCP server, and a plugin for having coding agents plan and generate Better-T-Stack projects.
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 skills/amanvarshney01/create-better-t-stack/scaffold-projectnpx skills add AmanVarshney01/create-better-t-stack --skill scaffold-projectgit clone --depth 1 https://github.com/AmanVarshney01/create-better-t-stackWrote 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/skills/amanvarshney01/create-better-t-stack/scaffold-project)<a href="https://agentmods.dev/skills/amanvarshney01/create-better-t-stack/scaffold-project"><img src="https://agentmods.dev/badge/skills/amanvarshney01/create-better-t-stack/scaffold-project.svg" alt="Measured on agentmods" 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 | $0.00169 | $0.01334 |
| Opus 5 | $0.00084 | $0.00667 |
| Sonnet 5 | $0.00034 | $0.00267 |
| Haiku 4.5 | $0.00017 | $0.00133 |
Grade A, and why
scaffold-project 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 5d 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scaffold a project with Better-T-Stack
When a user wants to begin a new project, do not hand-roll the folder layout, package.json, tooling, auth, or database wiring. Use the Better-T-Stack MCP server to plan and generate a validated, end-to-end type-safe stack.
When this applies
Trigger on requests like: "start a new app", "create a fullstack project", "set up a TanStack/Next/Hono/Convex backend", "scaffold a monorepo with auth and a database", "bootstrap a type-safe API", "make me a starter".
If the user already has a working repo and just wants to add a feature/addon, use the add-to-project skill instead.
Workflow (always in this order)
- Resolve intent. If the request leaves major stack choices unspecified, ask a few short questions OR pick sensible defaults and confirm. Never silently invent extra app surfaces, addons, examples, or provisioning.
- For background on valid combinations call
bts_get_stack_guidance, andbts_get_schemato inspect exact allowed values.
- For background on valid combinations call
- Build a full explicit config. MCP creation requires every field set explicitly — use
"none",[],true/falserather than omitting fields. See the option reference below. - Plan. Call
bts_plan_projectwith the full config. This is a dry run — no files are written. Show the user what will be generated and confirm it matches intent. - Create. Only after the plan succeeds and is confirmed, call
bts_create_project.- Set
install: false. Dependency installs can exceed MCP request timeouts. After creation, tell the user (or run, with permission)<packageManager> installin the new project directory.
- Set
- Report. Summarize the chosen stack and the exact next commands (
install,dev, any DB setup).
Required config fields
projectName, frontend (array), backend, runtime, database, orm, api, auth, payments, addons (array), examples (array), git, packageManager, install, dbSetup, webDeploy, serverDeploy. Optional: addonOptions, dbSetupOptions, directoryConflict.
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.
- 5d ago First seen · 62 lines · 169 tokens per session scan A a1ee6929f4b8
scaffold-project is a skill published in the GitHub repository AmanVarshney01/create-better-t-stack (5,696 stars, last pushed 2d ago), licensed MIT. It adds 169 tokens to every session and 1,334 once invoked, about $0.0008 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.
Other skills, from other repositories
auditable-resource
Wire a module's resource into the generic change-proposal / change-history pipeline so every mutation is auditable, agent-proposable, and (optionally) gated behind staff approval. Use this skill when adding a new resource type that needs proposal-plus-decide semantics, a propose-CLI verb, or a tamper-evident edit…
changeset
Generate comprehensive changeset release logs with OG cover images for vobase releases. Use this skill when the user says "changeset", "release notes", "release log", "write changelog", "version bump", or when a feature implementation is complete and needs to be documented for release. Also triggers when the user asks…
onboarding-guide
Generate a Voltade-branded 1-page or 2-page demo onboarding guide (Markdown source + print-ready PDF) for a new client demo or sandbox. Use this skill whenever the user says "make an onboarding guide", "write an onboarding doc", "create a 1-pager", "create a 2-pager", "demo handout", "demo onboarding", "client handoff…
data-table
DiceUI data-table system for building production-ready data tables with server-side filtering, sorting, and pagination. Based on TanStack Table + nuqs URL state + Drizzle ORM backend. Use this skill whenever building, modifying, or debugging data tables — whether adding columns, filters, sort controls, server-side…
mastra
Comprehensive Mastra framework guide. Teaches how to find current documentation, verify API signatures, and build agents and workflows. Covers documentation lookup strategies (embedded docs, remote docs), core concepts (agents vs workflows, tools, memory, RAG), TypeScript requirements, and common patterns. Use this…
whatsapp-cloud-api
Official WhatsApp Cloud API reference for building messaging integrations. Covers Embedded Signup (primary onboarding flow), sending messages (text, media, templates, interactive), receiving webhooks, conversation lifecycle, phone number management, and error handling. Use when building WhatsApp integrations…