hep-calc

Reproduce and audit HEP calculations using Mathematica and Julia.

14|6|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/fkguo/nullius --skill hep-calc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hep-calc
Source: https://github.com/fkguo/nullius/tree/main/skills/hep-calc
Command: npx skills add https://github.com/fkguo/nullius --skill hep-calc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires FeynCalc, FeynArts, FormCalc, FeynRules, LoopTools.jl, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the reproduction and audit of High Energy Physics (HEP) calculations, providing an auditable computation run, optional LaTeX comparison, and model building scaffolding.

Core Features & Use Cases

  • HEP Calculation Reproduction: Orchestrate Mathematica and/or Julia for symbolic/numeric HEP calculations.
  • TeX Comparison: Optionally compare LaTeX values against a recomputation for verification.
  • Model Building: Optionally scaffold a model from LaTeX using rewrite rules.
  • Use Case: Suppose you have a HEP calculation that you want to verify and understand better. Use this Skill to automatically reproduce the calculation, compare it against a LaTeX source, and generate a model for further analysis.

Quick Start

Run the 'hep-calc' skill with the provided job file and output directory:

bash scripts/run_hep_calc.sh --job assets/demo_job.yml --out /tmp/hep_calc_demo

Frequently Asked Questions about hep-calc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reproduce a High Energy Physics calculation using Mathematica and Julia?

To reproduce a High Energy Physics calculation, you can orchestrate Mathematica (FeynCalc, FeynArts, FormCalc) and Julia (LoopTools.jl) for symbolic and numeric computations via an automated job file. This generates an auditable computation run for verification.

What is the best way to verify HEP symbolic computation results against a LaTeX source?

The best way to verify HEP symbolic computation results against a LaTeX source is to run an automated TeX comparison. This optionally compares LaTeX values against your recomputation to ensure mathematical accuracy and audibility.

Do I need FeynRules and FeynArts installed to scaffold a HEP model from LaTeX?

Yes, you need Mathematica packages like FeynRules and FeynArts installed. The model building feature optionally scaffolds a model from LaTeX using rewrite rules, relying on these dependencies for symbolic HEP calculations.

Can I use LoopTools.jl for numeric HEP calculations without Mathematica?

LoopTools.jl handles numeric HEP computations, but the Skill is designed to orchestrate both Julia and Mathematica together. It uses Mathematica packages like FeynCalc and FormCalc for symbolic tasks alongside Julia.

How does automated HEP calculation auditing work with FeynCalc and FormCalc?

Automated HEP calculation auditing works by orchestrating FeynCalc and FormCalc to execute symbolic computations, generating an auditable run. It tracks the computation logic and optionally compares outputs against LaTeX values for verification.