ts-validate

ts-validate is a command for Claude Code from vedanta/the-system. It costs 0 tokens per session (1,770 once invoked), scanned D, original, LGPL-3.0.

An automated build check for the generated project. A build turns source files into the output that can be run or deployed.

In plain words
What is it for?
Use it after generating or changing a project to validate that it builds successfully.
Why use it?
It catches build errors before the output is used in production. The input does not specify which checks or technologies it supports.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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.

agentmods
npx agentmods add commands/vedanta/the-system/ts-validate
Clone the repo
git clone --depth 1 https://github.com/vedanta/the-system

Made for: Claude Code.

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 ts-validate

README.md
[![agentmods](https://agentmods.dev/badge/commands/vedanta/the-system/ts-validate.svg)](https://agentmods.dev/commands/vedanta/the-system/ts-validate)
Your own site
<a href="https://agentmods.dev/commands/vedanta/the-system/ts-validate"><img src="https://agentmods.dev/badge/commands/vedanta/the-system/ts-validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,770 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. Scan, not verified.
Origin unknown 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.00000 $0.01770
Opus 5 $0.00000 $0.00885
Sonnet 5 $0.00000 $0.00354
Haiku 4.5 $0.00000 $0.00177

Measured 2d ago against content hash 6cd2bfd6028a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade D, and why

ts-validate scanned grade D with 2 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

PROJECT=$(cat .claude/pipeline/projects/current.txt 2>/dev/null || echo "")

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules package-lock.json
.claude/commands/ts-validate.md · 280 lines

The source is not reproduced here

Licensed LGPL-3.0

The repository is licensed LGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2d ago First seen · 280 lines · 0 tokens per session scan D 6cd2bfd6028a

Subscribe to this mod's changes

ts-validate is a command published in the GitHub repository vedanta/the-system (9 stars, last pushed 6mo ago), licensed LGPL-3.0. It costs nothing until one of its globs matches a file; then it loads 1,770 tokens. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.