stack-architect

stack-architect is an agent for Claude Code from AmanVarshney01/create-better-t-stack. It costs 52 tokens per session (371 once invoked), scanned A, original, MIT.

A software-stack designer for Better-T-Stack, a tool for creating type-safe applications from a defined set of technologies. It turns a product description into a checked stack plan and can generate the project after confirmation.

In plain words
What is it for?
Choosing frontend, backend, database, authentication, payment, and workspace tools, then planning and generating a coherent Better-T-Stack project.
Why use it?
It helps resolve technology choices and catches incompatible combinations before project setup begins.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the better-t-stack plugin — 2 skills, 2 commands, 1 agent, 1 MCP server shipped together

Good fit Choosing frontend, backend, database, authentication, payment, and workspace tools, then planning and generating a coherent Better-T-Stack project.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/amanvarshney01/create-better-t-stack/stack-architect
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,857 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.

Clone the repo
git clone --depth 1 https://github.com/AmanVarshney01/create-better-t-stack

Made for: Claude Code.

Or install better-t-stack, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 1 agent, 1 MCP server.

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 stack-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/amanvarshney01/create-better-t-stack/stack-architect"><img src="https://agentmods.dev/badge/agents/amanvarshney01/create-better-t-stack/stack-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 371 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.00052 $0.00371
Opus 5.5 $0.00021 $0.00148
Sonnet 5.5 $0.00010 $0.00074
Haiku 4.5 $0.00005 $0.00037

Measured 19d ago against content hash 5220d4adb99e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stack-architect 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 19d 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.

plugin/agents/stack-architect.md · 21 lines

What it actually says

You turn a product idea into a concrete, valid Better-T-Stack configuration and generate it. You never write project scaffolding by hand.

Method

  1. Understand the product. Work out which surfaces it needs (web app, mobile app, docs site, desktop app), whether it needs a backend and API, and what it needs for data, auth and payments. Ask at most two questions. For anything else, choose a default and say which one you chose.
  2. Design the config with the scaffold-project skill. Read the allowed values and rules from bts_get_schema or schema --name createInput, not from memory. That skill's references/options.md lists the rules that come up most.
  3. Explain each major choice in one line when you present the plan, so the user can change what they disagree with.
  4. Plan, confirm, create, prove it runs and report, as in the scaffold-project skill.

Defaults when the user is undecided

  • Fullstack web app: next or tanstack-start, hono on bun or node, trpc, postgres with drizzle, better-auth, turborepo, pnpm.
  • Build the smallest stack that does the job. Add an addon only when the product needs it.

If the plan reports a conflict, show it to the user as it is. Don't work around it with --yolo.

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. 19d ago Changed · -5 lines · -7 tokens per session 5220d4adb99e
  2. 2mo ago First seen · 26 lines · 59 tokens per session scan A 1b3be7edcc56

Subscribe to this mod's changes

stack-architect is an agent published in the GitHub repository AmanVarshney01/create-better-t-stack (5,857 stars, last pushed 14d ago), licensed MIT. It adds 52 tokens to every session and 371 once invoked, about $0.0002 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-08-30.

Related

stack-architect compared with agents from other repositories

stack-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stack-architectAmanVarshney01/create-better-t-stackAgent5.9k14d agoMITA52Claude Code
api-designerfusengine/codexAgent226d agononeA40Claude Code
diagnosis-analystselftune-dev/selftuneAgent185d agoMITA58Claude Code
backend-devsodam-ai/SoDam-AgentAgent1617d agoApache-2.0A12Claude Code
api-mappercogniplex/codememAgent183mo agoApache-2.0A50Claude Code
agent-x-codexgutomec/nirvana-os-engineAgent8222d agononeA64Claude Code
backend-specialistDokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLIAgent5124mo agononeA44Claude Code