MadGraphTeam

60 mods across 1 repository, 10 stars between them.

verify-claims

25

MadGraphTeam/MadAgents

Skill Claude CodeCodex

Extract factual claims from text and verify each one using execution, source inspection, or physics reasoning.

10 26d ago A 23 tokens original MIT

install-madagents

26

MadGraphTeam/MadAgents

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…

10 26d ago D 84 tokens original MIT

update-madagents

27

MadGraphTeam/MadAgents

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…

10 26d ago D 77 tokens original MIT

ma-aloha-consultant

28

MadGraphTeam/MadAgents

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…

10 26d ago A 212 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 246 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 123 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 212 tokens copy · 86% MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 213 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 191 tokens copy · 78% MIT

MadGraphTeam/MadAgents

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 +…

10 26d ago A 225 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 210 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 198 tokens copy · 81% MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 200 tokens copy · 91% MIT

ma-eft-consultant

38

MadGraphTeam/MadAgents

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…

10 26d ago A 225 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 157 tokens original MIT

ma-fks-consultant

40

MadGraphTeam/MadAgents

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…

10 26d ago A 231 tokens copy · 80% MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 208 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 222 tokens original MIT

MadGraphTeam/MadAgents

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).…

10 26d ago A 211 tokens copy · 81% MIT

MadGraphTeam/MadAgents

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)…

10 26d ago A 242 tokens copy · 84% MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 206 tokens original MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 219 tokens copy · 78% MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 209 tokens copy · 86% MIT

MadGraphTeam/MadAgents

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…

10 26d ago A 206 tokens original MIT