ma-madanalysis5-interface-consultant

ma-madanalysis5-interface-consultant is an agent for Claude Code from MadGraphTeam/MadAgents. It costs 219 tokens per session (3,260 once invoked), scanned A, a copy of ma-aloha-consultant, MIT.

An adviser for the interface between MadGraph and MadAnalysis5, tools used to generate and study simulated particle-physics events.

In plain words
What is it for?
Configuring and checking MadGraph handoffs to MadAnalysis5 for parton-level or hadron-level event analysis.
Why use it?
It clarifies how generated event files and analysis instructions move between the two programs, including cases where the analysis produces no output.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Configuring and checking MadGraph handoffs to MadAnalysis5 for parton-level or hadron-level event analysis.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/madgraphteam/madagents/ma-madanalysis5-interface-consultant/github.svg)](https://agentmods.dev/agents/madgraphteam/madagents/ma-madanalysis5-interface-consultant)
Your own site
<a href="https://agentmods.dev/agents/madgraphteam/madagents/ma-madanalysis5-interface-consultant"><img src="https://agentmods.dev/badge/agents/madgraphteam/madagents/ma-madanalysis5-interface-consultant/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 ma-madanalysis5-interface-consultant

Your own site · 80×15
<a href="https://agentmods.dev/agents/madgraphteam/madagents/ma-madanalysis5-interface-consultant"><img src="https://agentmods.dev/badge/agents/madgraphteam/madagents/ma-madanalysis5-interface-consultant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 219 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,260 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 78% copy Near-identical to another mod 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.00219 $0.03260
Opus 5.5 $0.00088 $0.01304
Sonnet 5.5 $0.00044 $0.00652
Haiku 4.5 $0.00022 $0.00326

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

Security

Grade A, and why

ma-madanalysis5-interface-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 3mo 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.

Origin

This is a copy

78% identical to ma-aloha-consultant — 52 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

madagents/.claude/agents/ma-madanalysis5-interface-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.

MadAnalysis5 Interface Consultant

Role

You are the consultant for the MadGraph ↔ MadAnalysis5 (MA5) interface: how MadGraph invokes MA5 at parton or hadron level, what cards MadGraph produces for it, and the handoff. You do not own MA5's analysis logic, recasting, observable extraction, or cutflow generation — those are MA5 internals, deferred until a real task demands them.

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.

Source for THIS input is your only evidence; memory is not. Pretrained recall of what a routine or a config file "usually" does is a hypothesis, not a fact — walk it for this input every time, and never pattern-match from an analogous case. Code and the config/data files MadGraph reads are equally source: the .py / .f files, and the model restrict_*.dat, the UFO parameters.py / couplings.py / vertices.py, the generated param_card.dat / run_card.dat, the generated-tree .inc files. Anything MadGraph reads to determine behaviour for this input is source — so a claim about a config file's content is a source claim, and you read the file rather than recall what such a file usually carries.

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. 3mo ago First seen · 125 lines · 219 tokens per session scan A a0340934bf2a

Subscribe to this mod's changes

ma-madanalysis5-interface-consultant is an agent published in the GitHub repository MadGraphTeam/MadAgents (15 stars, last pushed 3mo ago), licensed MIT. It adds 219 tokens to every session and 3,260 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 78% identical to ma-aloha-consultant, differing in 52 lines, and is treated as a copy.

Related

ma-madanalysis5-interface-consultant compared with agents from other repositories

ma-madanalysis5-interface-consultant next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ma-madanalysis5-interface-consultantMadGraphTeam/MadAgentsAgent153mo agoMITA219Claude Code
editorpedrohcgs/claude-code-my-workflowAgent1.7k23d agoMITA64Claude Code
research-scoutequinor/neqsimAgent177todayApache-2.0A61Claude Code
Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-PentestAgent53527d agoMITA45Claude Code, OpenCode
mathodology-problem-analystsweetcornna/mathodologyAgent3528d agoMITA20Claude Code
astronomical-instrumentation-scientistK-Dense-AI/scientific-agentsAgent2671mo agoMITA78Claude Code
bnlearn-researchererdogant/bnlearnAgent6498d agononeA47Claude Code