better-t-stack

better-t-stack is a skill for Claude Code, Codex from AmanVarshney01/create-better-t-stack. It costs 149 tokens per session (1,253 once invoked), scanned A, original, MIT.

A project generator for type-safe TypeScript applications, including frontends, backends, databases, authentication, payments, and deployment choices. It can scaffold a new app or extend an existing one.

In plain words
What is it for?
Use it to start or expand a full-stack app, API, or monorepo using supported frameworks and services.
Why use it?
It avoids hand-writing and manually checking the setup for many connected parts of an application. A monorepo is a repository that contains multiple related projects or packages, which this tool can also create.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to start or expand a full-stack app, API, or monorepo using supported frameworks and services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amanvarshney01/create-better-t-stack/better-t-stack
About the project

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.

AmanVarshney01/create-better-t-stack · 5,831 stars · on GitHub · better-t-stack.dev

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.

Any agent
npx skills add AmanVarshney01/create-better-t-stack --skill better-t-stack
Clone the repo
git clone --depth 1 https://github.com/AmanVarshney01/create-better-t-stack

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 better-t-stack

README.md
[![agentmods](https://agentmods.dev/badge/skills/amanvarshney01/create-better-t-stack/better-t-stack/github.svg)](https://agentmods.dev/skills/amanvarshney01/create-better-t-stack/better-t-stack)
Your own site
<a href="https://agentmods.dev/skills/amanvarshney01/create-better-t-stack/better-t-stack"><img src="https://agentmods.dev/badge/skills/amanvarshney01/create-better-t-stack/better-t-stack/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.

agentmods 80×15 button for better-t-stack

Your own site · 80×15
<a href="https://agentmods.dev/skills/amanvarshney01/create-better-t-stack/better-t-stack"><img src="https://agentmods.dev/badge/skills/amanvarshney01/create-better-t-stack/better-t-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00149 $0.01253
Opus 5.5 $0.00060 $0.00501
Sonnet 5.5 $0.00030 $0.00251
Haiku 4.5 $0.00015 $0.00125

Measured today against content hash ff018afdef9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

better-t-stack 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 today.

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.

skills/better-t-stack/SKILL.md · 65 lines

How it starts

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

Better-T-Stack

Better-T-Stack generates a type-safe TypeScript project from the parts the user picks: frontend, backend, runtime, API layer, database, ORM, auth, payments, addons and deploy targets. It rejects combinations that don't work, so let it build the project instead of writing the setup by hand.

Pick the interface

Use the first one you have:

You have Interface It can
bts_create_project tool Local MCP server Plan, create and add, on disk
A shell CLI: create-json and add-json Plan, create and add, on disk
bts_get_create_command tool Hosted MCP server, https://www.better-t-stack.dev/mcp Plan and preview files, then return a command for the user to run
None of these Stack Builder link Prefill the visual builder for the user

The hosted MCP server can't write files, can't change an existing project and doesn't accept addonOptions or dbSetupOptions. If the user needs any of those, give them the CLI command instead.

Create a project

If the folder already has a bts.jsonc, the project exists. Go to Change an existing project.

  1. Settle the stack. If the user left out a major choice (frontend, backend or database), ask one short question or propose defaults and confirm them. Don't add app surfaces, addons, examples or database provisioning the user didn't ask for.
  2. Get valid values from the tool, not from memory. Call bts_get_schema, or run npx create-better-t-stack@latest schema --name createInput. When the user has to choose, offer every valid option, not a subset. references/options.md lists the values and the compatibility rules that come up most, but the schema wins if they differ.
  3. Build a full explicit config. Set every field. Use "none", [], true or false instead of leaving a field out.
  4. Plan before you write. Call bts_plan_project, or run create-json with "dryRun": true. If the plan fails, its error names the conflict. Fix the config and plan again. Show the user the planned stack and get a yes.
  5. Create.
    • Local MCP server: bts_create_project with install: false.
    • CLI: the same create-json payload without dryRun, with install: false.
    • Hosted MCP server: bts_get_create_command. Give the user the command to run in a terminal and stop here.

Read the full file on GitHub · 65 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 65 lines · 149 tokens per session scan A ff018afdef9f

Subscribe to this mod's changes

better-t-stack is a skill published in the GitHub repository AmanVarshney01/create-better-t-stack (5,831 stars, last pushed today), licensed MIT. It adds 149 tokens to every session and 1,253 once invoked, about $0.0006 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-10-20.

Related

Other skills, from other repositories