science-integrity

science-integrity is a skill for Claude Code, Codex from leventilo/mobius. It costs 62 tokens per session (8,653 once invoked), scanned A, original, MIT.

A checking agent for scientific simulations. It reviews simulation descriptions and results for correct units, stable calculations, obeyed conservation laws, matching figures, and claims supported by the output.

In plain words
What is it for?
Use it when producing a SimSpec, which is a structured description of a simulation, or when reviewing simulation code, telemetry, figures, and scientific claims.
Why use it?
A simulation can run successfully while still using the wrong equations, units, or conclusions. These checks help catch such errors before they are accepted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when producing a SimSpec, which is a structured description of a simulation, or when reviewing simulation code, telemetry, figures, and scientific claims.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leventilo/mobius/science-integrity
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.

Any agent
npx skills add leventilo/mobius --skill science-integrity
Clone the repo
git clone --depth 1 https://github.com/leventilo/mobius

Made for: Claude Code, Codex.

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 science-integrity

README.md
[![agentmods](https://agentmods.dev/badge/skills/leventilo/mobius/science-integrity/github.svg)](https://agentmods.dev/skills/leventilo/mobius/science-integrity)
Your own site
<a href="https://agentmods.dev/skills/leventilo/mobius/science-integrity"><img src="https://agentmods.dev/badge/skills/leventilo/mobius/science-integrity/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 science-integrity

Your own site · 80×15
<a href="https://agentmods.dev/skills/leventilo/mobius/science-integrity"><img src="https://agentmods.dev/badge/skills/leventilo/mobius/science-integrity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,653 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.00062 $0.08653
Opus 5.5 $0.00025 $0.03461
Sonnet 5.5 $0.00012 $0.01731
Haiku 4.5 $0.00006 $0.00865

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

Security

Grade A, and why

science-integrity 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 2mo ago.

The scan reads SKILL.md. This mod also ships 15 executable files (scripts/__init__.py, scripts/anti_hardcode_check.py, scripts/build_provenance.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/science-integrity/SKILL.md · 511 lines

How it starts

The opening of the file, as written. The whole thing — 511 lines — stays where its author put it; the contents beside it link to each section on GitHub.

science-integrity

The critic. The thing JutulGPT does not have. The reason a Mobius simulator is trustworthy and a vibe-coded one is not.

1. Philosophy — parallel critic, not serial reviewer

Mobius generates code. Generated code is a hypothesis. A hypothesis without an external falsifier is just a guess in a costume. JutulGPT (arXiv 2603.00214, §6.1) admits this directly: their authoritative arbiter is the simulator itself — if it runs, the answer is "physically valid". This is a category error. A simulator that converges on the wrong PDE, with wrong units, drifting energy, and producing a figure that does not match the paper is still convergent. The simulator certifies numerical health, not paper agreement.

The science-integrity skill is the second arbiter. It runs in parallel with the simulator (not after it as a unit test), it observes the SimSpec at construction time and the telemetry at execution time, and it speaks back to upstream generators in a structured language they can react to. Five orthogonal checks, none of which the simulator-as-arbiter pattern catches:

  1. Units — SimSpec contains a constant E = 1.6e-19 declared in eV but used in code as J. Simulator runs cleanly. Output is wrong by 6.24e18×. Only a unit-aware verifier catches this.
  2. CFL — dt, dx, and c_max jointly violate the Courant condition. Simulator either explodes (caught) or, with implicit smoothing, silently dampens the wave (not caught — this is the dangerous case).
  3. Conservation — Hamiltonian SimSpec, no dissipation term, energy drifts 2% per period. Simulator converges; physics is broken.
  4. Figure-diff — paper Fig 3 shows a 2-peak interference pattern; sim renders 4 peaks (slit count off-by-one). Simulator is happy. The user is looking at a different experiment.
  5. Claim-match — paper claims "visibility 0.78 at λ=500 nm". Sim measures 0.31. Simulator does not know the paper exists.

These five layers, run together, do not exist anywhere in the agentic-simulation literature as of April 2026 (verified: JutulGPT, MooseAgent, AutoMOOSE, ChatCFD, FeaGPT, MCP-SIM, InteractScience, ChronoLLM — none combine an external SimSpec verifier + paper-figure VLM diff + paper-claim numerical comparator). This skill is the moat.

Read the full file on GitHub · 511 lines

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. 2mo ago First seen · 511 lines · 62 tokens per session scan A 644422751450

Subscribe to this mod's changes

science-integrity is a skill published in the GitHub repository leventilo/mobius (8 stars, last pushed 6mo ago), licensed MIT. It adds 62 tokens to every session and 8,653 once invoked, about $0.0002 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-31.