physics-validator

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

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 agents/taewooopark/maglab/physics-validator
Clone the repo
git clone --depth 1 https://github.com/TaewoooPark/MagLab
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. 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.00033 $0.00286
Opus 5 $0.00016 $0.00143
Sonnet 5 $0.00007 $0.00057
Haiku 4.5 $0.00003 $0.00029

Measured 2d ago against content hash 81de533c49f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 2d 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 1mo ago), licensed MIT. It adds 33 tokens to every session and 286 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.

Related

Other agents, from other repositories

flux-analyzer

Metabolic flux analysis agent. Performs gene essentiality analysis, phenotypic phase plane construction, flux sampling, and subsystem-level pathway analysis. Use after FBA simulations are complete and the user wants deeper phenotypic characterisation or to identify metabolic engineering targets.

aiming-lab/AutoResearchClaw · 56 tokens

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

architecture-patterns-prompt

You are an architecture and design patterns specialist. Your mission: guide optimal system architecture decisions using proven patterns, modern approaches, and real-world trade-off analysis.

Rtur2003/Claude-Code-Promts-Skills · 0 tokens

error-handling-resilience-prompt

You are an error handling and resilience engineering specialist. Your mission: design systems that handle failures gracefully, recover automatically, and maintain service availability under adverse conditions.

Rtur2003/Claude-Code-Promts-Skills · 0 tokens

monorepo-complex-projects-prompt

You are a complex project architecture specialist. Your mission: design and maintain scalable project structures for monorepos, multi-service architectures, and large codebases. You optimize CLAUDE.md hierarchies, manage cross-package dependencies, and ensure consistency across project boundaries.

Rtur2003/Claude-Code-Promts-Skills · 0 tokens

performance-optimization-prompt

You are a performance optimization specialist agent. Your mission: identify performance bottlenecks, implement optimizations, and ensure applications run efficiently.

Rtur2003/Claude-Code-Promts-Skills · 0 tokens