Skill Claude CodeCodex
Extract factual claims from text and verify each one using execution, source inspection, or physics reasoning.
Skill Claude CodeCodex
Extract factual claims from text and verify each one using execution, source inspection, or physics reasoning.
Skill Claude CodeCodex
Install default-mode MadAgents (the multi-agent HEP setup — orchestrator, workers, reviewers) into a target folder/repo, for either Claude Code or Codex. The agent runs in the user's repo directly (bare mode). If MadAgents is already installed there, refers the user to update-madagents. Use when the user wants to set…
Skill Claude CodeCodex
Update an existing MadAgents install in a repo to the current source version, preserving the user's edits via a 3-way merge (base = the version they installed, current = their files, new = the current version). Reconstructs the original from git history — no local snapshot. Use when MadAgents is already installed and…
Agent Claude Code
Engage when the symptom is in the GENERATED helicity routines — ALOHA fails on a model's Lorentz structure (exotic/high-spin, custom lorentz.py), Source/DHELAS will not compile, or an amplitude value looks wrong; when you must READ or CALL exported ME routines — arg layout, ±IC(i) nsf/nsv signs; when the EMITTED…
Agent Claude Code
Engage when an NLO run's ACCEPTANCE, NORMALISATION, BEAMS, SHOWER, ACCURACY or WEIGHTS are at stake. Co-dispatch nlo-syntax: it owns the bracket, I own the run. In slice: the NLO run card — a DIFFERENT class from the LO card, own names/defaults: IR-safe cutting (jets clustered BEFORE cuts, dressed leptons); the…
Agent Claude Code
In slice: scan the assembled spec + per-consultant summary against MadGraph's pipeline. Identify code paths / pipeline stages the consultant trail did not cover for this input. Return a structured list of detected blind spots, each with a recommended consultant to dispatch. Common redirects (non-exhaustive): actually…
Agent Claude Code
Engage when a propagator is forced OFF its mass pole and the on-shell window decides whether events survive: a parent below its daughters' mass sum, a daughter pinned off-peak by a forced decay — the default +-bwcutoffGamma window then silently cuts sigma to zero, so bwcutoff must be DERIVED per leg…
Agent Claude Code
Engage when the decay is written INTO the process line. X > a b inside generate restricts the amplitude to that resonant topology — not the inclusive same-final-state ME — and forces the mother's BW. Also: a 2+-level cascade whose sub-decay is SILENTLY DISCARDED unless parenthesised ("it parsed" != "it bound"); an…
Agent Claude Code
Engage when the COLOUR STRUCTURE itself is the question — the number of independent colour structures, the colour matrix / factors of the squared ME, leading- vs full-colour; when a model carries an exotic colour rep (sextet, epsilon/diquark, colour-octet); when a colourless/EW-only process should collapse to a…
Agent Claude Code
Engage when the amplitude must be POWER-COUNTED: an EFT/dim-6 interference-vs-square bin; an effective vertex on its OWN order (QCD=0 won't remove it); a BSM model with NO orders (WEIGHTED auto-detect → lowest-weight SM/QCD, silently no BSM). The order's NAME is per-model — read it off. In slice: the order TOKENS +…
Agent Claude Code
Engage when you need detector-level objects — reco jets, b-tags, isolated leptons, MET — a detector sim ON TOP of showered events; when no detector output appeared: the EXISTENCE of Cards/delphescard.dat IS the on/off switch (absent ⇒ silent no-op everywhere); Delphes also needs a shower (selecting it silently…
Agent Claude Code
Engage when the graph MG actually built is in doubt — a diagram count or topology that isn't what was expected; a coupling ZEROED in the param card to switch a channel off (enumeration keys on vertex PRESENCE, not value — the count is UNCHANGED; only removing the vertex, e.g. a restrict card, does that); "No…
Agent Claude Code
Engage when a final state must be attributed to — or shielded from — one intermediate: isolate what a propagator mediates, veto another, or strip the resonant piece so it can't double-count a production×decay sample ($ sets onshell=False → gForceBW=2 cuts its BW window). Traps: one / is a PARTIAL gate — EVERY internal…
Agent Claude Code
Engage when a deviation is parameterised by higher-dim operators and a bin must be picked — interference (linear) vs quadratic. The order token is NOT portable across EFT UFOs: the per-insertion increment is model-specific (+2 puts interference at NP^2==2, quadratic at ==4, odd bins EMPTY; +1 shifts both down) — read…
Agent Claude Code
In slice: read the cascade trail of a mg-deep-verify run (regime, consultant returns, reviewer verdicts, blind-spot findings, probe deviations, Stage 5 reconcile, Stage 6 cycles) and identify agent-system mistakes worth caching as wiki pages so future sessions do not repeat them. One occurrence is enough; no…
Agent Claude Code
Engage when the real-emission/IR side of NLO is at stake: "Poles do not cancel" is MINE (the real-vs-virtual pole check); a flavour scheme at NLO (a massive b in 5F starves the g->bb real -> poles fail; 4FS fixes it); a missing real subprocess or (i,j) config; a surprising subprocess-dir count; resonant real overlap…
Agent Claude Code
Engage when what the GENERATED ME computes is at issue, not which diagrams exist — a σ off by an exact factor (spin, initial-colour and identical-particle 1/n! all fold into one IDEN); Majorana fermions (fermion-flow clash, signs); which helicity combinations the ME enumerates at all. The emitted matrix.f/JAMP is…
Agent Claude Code
Engage when a tool is absent, not found, or built without the option you need (Delphes, PY8, MA5, Rivet, LHAPDF, loop libs); when install fails — tokens are case-sensitive exact; when a build succeeded but its path never reached the config. In slice: doinstall + target sets, HEPTools/vendor, makeopts + generic build…
Agent Claude Code
Engage when MG5 did not do what you typed: a set did not take; a menu silently forced a different choice; a run-card parameter is invisible in the editor (hidden block — update reveals it); a config key resolves to a path you never set, or a path you DID set is silently ignored (startup validation NULLS a stale path).…
Agent Claude Code
Engage when an acceptance/fiducial window must be imposed on the PARTON-level final state of an LO run — the LO runcard cut block is MINE. Traps: cutdecays=False (the DEFAULT) SILENTLY exempts a chain decay's product legs from generic per-particle cuts, so a "fiducial" sigma comes out too big (arrow form keeps them)…
Agent Claude Code
Engage when a run must be driven to completion, or it disobeyed the card you wrote: it stops short of the events requested (σ is still valid — that shortfall is unweighting-side); more statistics are needed than one launch yields; a parameter grid must be swept; it should ship as a gridpack or go to a batch queue; a…
Agent Claude Code
Engage when you want histograms, a cutflow or a recast over ALREADY-GENERATED events via MG's MA5 cards — parton level (LHE, pre-shower) or hadron level (post-shower); and when MA5 produced NOTHING — three silent gates: madanalysis5path nulled to None (never offered); the operative card absent (silently skipped); or…
Agent Claude Code
Engage when the virtual/one-loop amplitude itself is at stake: a loop-induced process (no Born) at generation or runtime; loop diagrams silently dropped or fewer than expected; unstable loop points or virtual precision; the reduction library matters (CutTools/Ninja/Collier); MadLoop init/filters; checking a loop ME…
Agent Claude Code
Engage when the decay happens AFTER the matrix element, on generated events: a heavy resonance decayed with spin correlations kept but without the ME cost of a chain — and the only route when production is perturbed/NLO, where generate-line chains are rejected; a decay spliced onto an existing LHE; a rate that then…