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/openspec-archive-changenpx skills add AmanVarshney01/create-better-t-stack --skill openspec-archive-changegit 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/openspec-archive-change)<a href="https://agentmods.dev/skills/amanvarshney01/create-better-t-stack/openspec-archive-change"><img src="https://agentmods.dev/badge/skills/amanvarshney01/create-better-t-stack/openspec-archive-change.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.1 | $0.00031 | $0.01239 |
| Opus 5 | $0.00015 | $0.00620 |
| Sonnet 5 | $0.00006 | $0.00248 |
| Haiku 4.5 | $0.00003 | $0.00124 |
Grade A, and why
openspec-archive-change 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 6d 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Archive a completed change in the experimental workflow.
Store selection: If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run openspec store list --json to discover registered store ids, then pass --store <id> on the commands that read or write specs and changes (new change, status, instructions, list, show, validate, archive, doctor, context). Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local openspec/ root.
Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
Steps
-
If no change name provided, prompt for selection
Run
openspec list --json --store "<store-id>"(omit the store option for repo-local work) to get available changes. Use the AskUserQuestion tool to let the user select.Show only active changes (not already archived). Include the schema used for each change if available.
IMPORTANT: Do NOT guess or auto-select a change. Always let the user choose.
-
Check artifact completion status
Run
openspec status --change "<name>" --json --store "<store-id>"to check artifact completion.Parse the JSON to understand:
schemaName: The workflow being usedplanningHome,changeRoot,artifactPaths, andactionContext: path and scope contextartifacts: List of artifacts with their status (doneor other)
If any artifacts are not
done:- Display warning listing incomplete artifacts
- Use AskUserQuestion tool to confirm user wants to proceed
- Proceed if user confirms
-
Check schema-resolved task completion status
Run
openspec instructions apply --change "<name>" --json --store "<store-id>"and use itsprogressandtasksfields. Do not assume atasks.mdpath or Markdown checkbox syntax; the active schema controls the task artifact and representation.If the apply instructions report incomplete tasks:
- Display warning showing count of incomplete tasks
- Use AskUserQuestion tool to confirm user wants to proceed
- Proceed if user confirms
If the schema exposes no tasks: Proceed without a task-related warning.
-
Assess delta spec sync state
Use
artifactPaths.specs.existingOutputPathsfrom status JSON to check for delta specs. If none exist, proceed without sync prompt. Resolve every delta and main-spec path from the selected store's status/root metadata; never substitute a repository-localopenspec/specspath when a store is active.If delta specs exist:
- Compare each concrete delta path with its corresponding main spec under the selected OpenSpec root returned by the CLI
- Determine what changes would be applied (adds, modifications, removals, renames)
- Show a combined summary before prompting
Prompt options:
- If changes needed: "Sync now (recommended)", "Archive without syncing"
- If already synced: "Archive now", "Sync anyway", "Cancel"
If the user chooses sync, invoke openspec-sync-specs for the same change and store. Archive only after that sync succeeds and its result has been verified. If the user chooses "Archive without syncing", ask for explicit confirmation and archive only after confirmation. If the user chooses "Cancel", or synchronization fails, stop immediately without moving the change.
-
Perform the archive
Create an
archivedirectory underplanningHome.changesDirif it doesn't exist:mkdir -p "<planningHome.changesDir>/archive"Generate target name using current date:
YYYY-MM-DD-<change-name>Check if target already exists:
- If yes: Fail with error, suggest renaming existing archive or using different date
- If no: Move
changeRootto the archive directory
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.
- 6d ago First seen · 119 lines · 31 tokens per session scan A b0d245954e58
openspec-archive-change is a skill published in the GitHub repository AmanVarshney01/create-better-t-stack (5,697 stars, last pushed 3d ago), licensed MIT. It adds 31 tokens to every session and 1,239 once invoked, about $0.0002 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
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…
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…
diceui
Build complex, accessible UI components using DiceUI — combobox, tags-input, sortable, kanban, data-table, file-upload, color-picker, and 40+ more. Use when the user wants to add any DiceUI component, mentions @diceui packages, asks for complex interactive components like combobox, sortable lists, kanban boards…
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…
postgres-drizzle
Proactively apply when creating APIs, backends, or data models. Triggers on PostgreSQL, Postgres, Drizzle, database, schema, tables, columns, indexes, queries, migrations, ORM, relations, joins, transactions, SQL, drizzle-kit, connection pooling, N+1, JSONB, RLS. Use when writing database schemas, queries, migrations…
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…