validate

validate is a command for Claude Code from TheSmokeDev/taskchad-os. It costs 0 tokens per session (435 once invoked), scanned C, original, MIT.

A validation command that runs the project's tests, type checks, code-quality checks, and local server endpoint checks.

In plain words
What is it for?
Checking Python applications with pytest, mypy, Pyright, Ruff, and a local Uvicorn server.
Why use it?
It brings several separate checks into one repeatable review, helping find broken behavior, typing errors, style problems, or server issues.

Command for Claude Code

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/thesmokedev/taskchad-os/validate
Clone the repo
git clone --depth 1 https://github.com/TheSmokeDev/taskchad-os

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 validate

README.md
[![agentmods](https://agentmods.dev/badge/commands/thesmokedev/taskchad-os/validate.svg)](https://agentmods.dev/commands/thesmokedev/taskchad-os/validate)
Your own site
<a href="https://agentmods.dev/commands/thesmokedev/taskchad-os/validate"><img src="https://agentmods.dev/badge/commands/thesmokedev/taskchad-os/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 435 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
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 $0.00000 $0.00435
Opus 5 $0.00000 $0.00217
Sonnet 5 $0.00000 $0.00087
Haiku 4.5 $0.00000 $0.00044

Measured 3d ago against content hash 402146b97322, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

validate scanned grade C 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 3d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s http://localhost:8123/ | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:8123/ | python3 -m json.tool
.claude/commands/validation/validate.md · 80 lines

What it actually says

Run comprehensive validation of the project to ensure all tests, type checks, linting, and deployments are working correctly.

Execute the following commands in sequence and report results:

1. Test Suite

uv run pytest -v

Expected: All tests pass (currently 34 tests), execution time < 1 second

2. Type Checking

uv run mypy app/

Expected: "Success: no issues found in X source files"

uv run pyright app/

Expected: "0 errors, 0 warnings, 0 informations"

3. Linting

uv run ruff check .

Expected: "All checks passed!"

4. Local Server Validation

Start the server in background:

uv run uvicorn app.main:app --host 0.0.0.0 --port 8123 &

Wait 3 seconds for startup, then test endpoints:

curl -s http://localhost:8123/ | python3 -m json.tool

Expected: JSON response with app name, version, and docs link

curl -s -o /dev/null -w "HTTP Status: %{http_code}\n" http://localhost:8123/docs

Expected: HTTP Status: 200

curl -s -i http://localhost:8123/ | head -10

Expected: Headers include x-request-id and status 200

Stop the server:

lsof -ti:8123 | xargs kill -9 2>/dev/null || true

6. Summary Report

After all validations complete, provide a summary report with:

  • Total tests passed/failed
  • Type checking status (mypy + pyright)
  • Linting status
  • Local server status
  • Any errors or warnings encountered
  • Overall health assessment (PASS/FAIL)

Format the report clearly with sections and status indicators (✅/❌)

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. 3d ago First seen · 80 lines · 0 tokens per session scan C 402146b97322

Subscribe to this mod's changes

validate is a command published in the GitHub repository TheSmokeDev/taskchad-os (23 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 435 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.