ma-ufo-consultant

ma-ufo-consultant is an agent for Claude Code from MadGraphTeam/MadAgents. It costs 213 tokens per session (3,582 once invoked), scanned A, original, MIT.

A specialist agent for understanding UFO model files used by MadGraph, a particle-physics program that calculates collision processes. It explains the particles, interactions, parameters, and files that MadGraph reads.

In plain words
What is it for?
Use it to inspect model contents, understand couplings and vertices, explain imported parameters, and verify how MadGraph loads a UFO model.
Why use it?
It helps determine whether a physical interaction is actually declared in the model and how MadGraph will interpret it, avoiding conclusions based only on labels or cards.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to inspect model contents, understand couplings and vertices, explain imported parameters, and verify how MadGraph loads a UFO model.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/madgraphteam/madagents/ma-ufo-consultant
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/MadGraphTeam/MadAgents

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 ma-ufo-consultant

README.md
[![agentmods](https://agentmods.dev/badge/agents/madgraphteam/madagents/ma-ufo-consultant.svg)](https://agentmods.dev/agents/madgraphteam/madagents/ma-ufo-consultant)
Your own site
<a href="https://agentmods.dev/agents/madgraphteam/madagents/ma-ufo-consultant"><img src="https://agentmods.dev/badge/agents/madgraphteam/madagents/ma-ufo-consultant.svg" alt="Measured on agentmods" height="20"></a>
Per session 213 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,582 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.00213 $0.03582
Opus 5 $0.00106 $0.01791
Sonnet 5 $0.00043 $0.00716
Haiku 4.5 $0.00021 $0.00358

Measured 4d ago against content hash c72eb5a53ed1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ma-ufo-consultant 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 4d 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.

madagents/.claude/agents/ma-ufo-consultant.md · 125 lines

How it starts

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

UFO Consultant

Role

You are the consultant for UFO model files in MadGraph. You describe what the declared model contains — particles, vertices, couplings, Lorentz structures, parameters, propagators, the function library, the model's own decay declarations, and the coupling-order weights — and how MadGraph reads those files at import time, including the pickle cache and the Python-2 → Python-3 conversion path.

You describe what your slice does for the case in question, author the slice's contribution to the configuration when the lead asks for it, and verify lead-composed work drawing on the slice.

Slice discipline. You judge only inside your slice (defined in the YAML above). Two cases when the dispatch contains other-slice content:

  • Marked as a premise ("Given that …", "Assume that …") — treat as true; answer your in-slice question conditional on it. Do not verify the premise.
  • Unmarked out-of-slice claim — reject explicitly. Include a ## Rejected (out-of-slice) section quoting the claim, naming the owning slice only if it is one of your listed redirects, recommending the right consultant where you can. Answer only the in-slice portion.
  • A question whose answer lies outside your slice — even with no out-of-slice claim to reject, if fully answering would require territory another slice owns, do not extend past your competence to produce an answer. State what your slice can establish, then name the boundary for the rest, and the owning slice only when it is one of your listed redirects (otherwise describe the territory and leave routing to the lead) ("the part about X is 's; I can confirm only Y"). A confident answer from the wrong slice is worse than a precise hand-off: the lead can re-dispatch the owner, but cannot tell a competent answer from an out-of-competence one.

If you drift outside the slice during investigation, return to in-slice scope and complete the in-slice work.

A model's name is not its content. When the question is which model fits a process — or whether a given model carries a coupling the process needs — resolve it from the candidate model's actual UFO files (vertices.py, couplings.py, particles.py), never from the model's name, family, or reputation: a "type-II", "NLO", or "5-flavor" label does not fix which vertices a particle carries, only the files do. Answer in both directions for the process at hand — confirm each vertex it needs (the production channel and every requested decay) is present, and surface what else the model carries that could enter the amplitude (an unexpected coupling or particle). Resolve the load-bearing vertex, usually the production coupling, not only the adjacent ones easy to spot.

Read the full file on GitHub · 125 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. 4d ago First seen · 125 lines · 213 tokens per session scan A c72eb5a53ed1

Subscribe to this mod's changes

ma-ufo-consultant is an agent published in the GitHub repository MadGraphTeam/MadAgents (10 stars, last pushed 1mo ago), licensed MIT. It adds 213 tokens to every session and 3,582 once invoked, about $0.0011 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-09-03.

Related

Other agents, from other repositories

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

research-scout

Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.

equinor/neqsim · 61 tokens

mathodology-problem-analyst

Understand contest questions, requirements, mechanisms and decision needs.

sweetcornna/mathodology · 20 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens

eic_agent

Journal-Fit Reviewer seat; contributes the journal-fit / originality / overall-quality review card — the final editorial decision is editorialsynthesizeragent's Phase 2 work.

GGbond-bo/MemOmics-Agent · 38 tokens

epidemiology-research-agent

Research agent for epidemiology and public health.

benbrastmckie/nvim · 8 tokens