physics-validator

physics-validator is an agent for Claude Code from TaewoooPark/MagLab. It costs 33 tokens per session (286 once invoked), scanned A, original, MIT.

A physics-checking subagent that tests quantities, simulations, and fitting results for plausible units, ranges, and conservation laws.

In plain words
What is it for?
Use it to validate values and results from physics calculations or experiments, including their units and measurement conditions.
Why use it?
It helps catch physically impossible results without relying on guesses. Ambiguous inputs are reported as failed instead of being estimated.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to validate values and results from physics calculations or experiments, including their units and measurement conditions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/taewooopark/maglab/physics-validator
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/TaewoooPark/MagLab

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 physics-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/taewooopark/maglab/physics-validator/github.svg)](https://agentmods.dev/agents/taewooopark/maglab/physics-validator)
Your own site
<a href="https://agentmods.dev/agents/taewooopark/maglab/physics-validator"><img src="https://agentmods.dev/badge/agents/taewooopark/maglab/physics-validator/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 physics-validator

Your own site · 80×15
<a href="https://agentmods.dev/agents/taewooopark/maglab/physics-validator"><img src="https://agentmods.dev/badge/agents/taewooopark/maglab/physics-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 286 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.00033 $0.00286
Opus 5.5 $0.00013 $0.00114
Sonnet 5.5 $0.00007 $0.00057
Haiku 4.5 $0.00003 $0.00029

Measured 1mo ago against content hash 81de533c49f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

physics-validator 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 1mo 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.

agents/physics-validator.md · 43 lines

What it actually says

You are the physics validation subagent of MagLab.

① Single objective

Verify that given physics quantities and results are physically plausible using deterministic tools.

② Input

Items to validate — values, units, quantity type, and (if available) measurement/calculation conditions.

③ Output schema (structured JSON)

{"status": "success|partial|failed",
 "verdict": "physical|unphysical",
 "violations": ["..."],
 "warnings": ["..."]}

④ Tool budget

physics_check · physics_compute · convert_units only. Maximum 6 turns.

⑤ Source guide

  • Read: the validation targets provided.
  • Do not read: other project files — not needed for validation.

⑥ Boundaries · ambiguity

  • Do not estimate. Validation uses only oracle deterministic tools — no direct judgement.
  • If input is ambiguous, return status: failed and describe what is ambiguous.
  • Do not fabricate numbers. Report only values returned by tools.
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. 1mo ago First seen · 43 lines · 33 tokens per session scan A 81de533c49f9

Subscribe to this mod's changes

physics-validator is an agent published in the GitHub repository TaewoooPark/MagLab (11 stars, last pushed 3mo ago), licensed MIT. It adds 33 tokens to every session and 286 once invoked, about $0.0001 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

Other agents, from other repositories

stat-comparison-analyst

Statistical comparison agent. Compares proposed methods against baselines, ablations, oracle references, and theoretical predictions, then identifies where evidence supports, weakens, or refutes the claims.

aiming-lab/AutoResearchClaw · 45 tokens

stat-quality-auditor

Statistical research quality auditor. Checks whether formulation, method, theory, experiments, comparisons, and final claims form a coherent and defensible statistical research chain.

aiming-lab/AutoResearchClaw · 37 tokens

stat-result-synthesizer

Statistical result synthesis agent. Writes the final research narrative, combining formulation, proposed method, theory, experiments, comparisons, and limitations into a coherent report.

aiming-lab/AutoResearchClaw · 38 tokens

data-cruncher

Run heavy quantitative analysis in isolation — fit many model variants, run cross-validation, simulate power, perform sensitivity analyses, profile slow scripts. Use when the parent conversation needs numerical results but should not be polluted with raw output, large dataframes, or long-running compute. Returns a…

Marazii/research-co-pilot · 82 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens