Agent skill · Audited from source
Particle Physics Guide
skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Particle physics data analysis with ROOT, HEPData, and event processing
Cite
Cite this page
ModelsAtlas. “Particle Physics Guide (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/particle-physics-guide
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherbrycewang-stanford GitHub userOwner of the repository this skill is read from
- Source folderbrycewang-stanford/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/domains/physics/particle-physics-guideThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdicte1ba289846fdA new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Particle physics data analysis with ROOT, HEPData, and event processing
---
name: particle-physics-guide
description: "Particle physics data analysis with ROOT, HEPData, and event processing"
metadata:
openclaw:
emoji: "🌀"
category: "domains"
subcategory: "physics"
keywords: ["particle-physics", "root", "hepdata", "collider", "event-analysis", "high-energy-physics"]
source: "wentor"
---
# Particle Physics Guide
A skill for analyzing particle physics data, covering event reconstruction, histogram analysis, statistical methods for discovery, and the standard tools used in high-energy physics (HEP) research. Includes ROOT, uproot, pyhf, and HEPData workflows.
## Data Formats and Access
### HEP Data Ecosystem
| Format | Description | Typical Size | Access Tool |
|--------|-------------|-------------|-------------|
| ROOT (.root) | Columnar binary format, HEP standard | GB-TB | ROOT, uproot |
| NanoAOD | Compact analysis format (CMS) | ~1 KB/event | uproot, coffea |
| DAOD_PHYS | Derived analysis format (ATLAS) | ~10 KB/event | ROOT, uproot |
| HepMC | Monte Carlo event record | Variable | pyhepmc |
| HEPData | Published results (YAML/JSON) | KB | hepdata_lib |
### Reading ROOT Files with uproot
```python
import uproot
import awkward as ak
import numpy as np
def load_nanoaod(filepath: str, tree_name: str = "Events",
branches: list[str] = None) -> ak.Array:
"""
Load a NanoAOD ROOT file into an awkward array.
branches: list of branch names to load (None = all)
"""
with uproot.open(filepath) as f:
tree = f[tree_name]
if branches is None:
branches = tree.keys()
events = tree.arrays(branches, library="ak")
print(f"Loaded {len(events)} events")
print(f"Branches: {events.fields}")
return events
# Example: Load muon data
events = load_nanoaod("nano_data.root", branches=[
"nMuon", "Muon_pt", "Muon_eta", "Muon_phi", "Muon_mass",
"Muon_charge", "Muon_pfRelIso04_all", "Muon_tightId",
])
```
## Event Selection and Reconstruction
### Dimuon Invariant Mass
```python
def compute_invariant_mass(pt1, eta1, phi1, mass1,
pt2, eta2, phi2, mass2):
"""
Compute invariant mass of a particle pair from 4-momentum components.
Uses the relativistic energy-momentum relation.
"""
# Convert to Cartesian 4-vectors
px1 = pt1 * np.cos(phi1)
py1 = pt1 * np.sin(phi1)
pz1 = pt1 * np.sinh(eta1)
e1 = np.sqrt(px1**2 + py1**2 + pz1**2 + mass1**2)
px2 = pt2 * np.cos(phi2)
py2 = pt2 * np.sin(phi2)
pz2 = pt2 * np.sinh(eta2)
e2 = np.sqrt(px2**2 + py2**2 + pz2**2 + mass2**2)
# Invariant mass of the pair
m_inv = np.sqrt(
(e1 + e2)**2 - (px1 + px2)**2 - (py1 + py2)**2 - (pz1 + pz2)**2
)
return m_inv
def select_z_candidates(events):
"""
Select Z -> mu+mu- candidates from NanoAOD events.
Requires exactly 2 opposite-sign muons passing quality cuts.
"""
# Quality cuts
muon_mask = (
(events.Muon_pt > 20) & # pT > 20 GeV
(abs(events.Muon_eta) < 2.4) & # |eta| < 2.4
(events.Muon_tightId == True) & # tight muon ID
(events.Muon_pfRelIso04_all < 0.15) # relative isolation
)
# Apply mask and require exactly 2 muons
good_muons = events[muon_mask]
dimuon_events = good_muons[ak.num(good_muons.Muon_pt) == 2]
# Opposite sign requirement
opposite_sign = (
dimuon_events.Muon_charge[:, 0] * dimuon_events.Muon_charge[:, 1] < 0
)
z_candidates = dimuon_events[opposite_sign]
# Compute invariant mass
m_inv = compute_invariant_mass(
z_candidates.Muon_pt[:, 0], z_candidates.Muon_eta[:, 0],
z_candidates.Muon_phi[:, 0], z_candidates.Muon_mass[:, 0],
z_candidates.Muon_pt[:, 1], z_candidates.Muon_eta[:, 1],
z_candidates.Muon_phi[:, 1], z_candidates.Muon_mass[:, 1],
)
return m_inv
```
## Statistical Methods for Discovery
### Hypothesis Testing with pyhf
```python
import pyhf
def build_counting_model(signal: float, background: float,
bkg_uncertainty: float) -> dict:
"""
Build a simple counting experiment model in pyhf.
signal: expected signal yield
background: expected background yield
bkg_uncertainty: relative uncertainty on background
"""
model = pyhf.simplemodels.uncorrelated_background(
signal=[signal],
bkg=[background],
bkg_uncertainty=[bkg_uncertainty * background],
)
# Observed data (background-only for expected limit)
data = [background] + model.config.auxdata
return {"model": model, "data": data}
def compute_cls(model, data, poi_values=None):
"""
Compute CLs exclusion limits (frequentist hypothesis test).
Uses the CLs method standard in HEP.
"""
if poi_values is None:
poi_values = np.linspace(0, 5, 50)
obs_cls = []
exp_cls = []
for mu in poi_values:
result = pyhf.infer.hypotest(
mu, data, model["model"],
test_stat="qtilde",
return_expected_set=True,
)
obs_cls.append(float(result[0]))
exp_cls.append([float(v) for v in result[1]])
return {
"poi_values": poi_values.tolist(),
"observed_cls": obs_cls,
"expected_cls": exp_cls,
}
```
### Discovery Significance
```python
def discovery_significance(n_observed: float, n_background: float,
sigma_b: float = 0) -> dict:
"""
Compute discovery significance for a counting experiment.
n_observed: number of observed events
n_background: expected background
sigma_b: uncertainty on background
"""
from scipy.stats import norm
if sigma_b == 0:
# Simple Poisson significance
# Z = sqrt(2 * (n * ln(n/b) - (n - b)))
if n_observed <= n_background:
z = 0
else:
z = np.sqrt(2 * (
n_observed * np.log(n_observed / n_background)
- (nExcerpt, first 6,001 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit e1ba289
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills git -C Auto-Empirical-Research-Skills checkout e1ba289846fd
The author documents no install command, so this uses the repository directly. Our verdict covers commit e1ba289846fd only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
e1ba289846fd
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/brycewang-stanford/particle-physics-guide/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
brycewang-stanford/Auto-Empirical-Research-Skills
GIS analysis and remote sensing workflows for geospatial research applications
brycewang-stanford/Auto-Empirical-Research-Skills
Run and manage Google Colab notebooks for Python and ML research
brycewang-stanford/Auto-Empirical-Research-Skills
Advanced Google Scholar search techniques for comprehensive literature discovery
brycewang-stanford/Auto-Empirical-Research-Skills
Ethical Google Scholar data collection techniques and best practices
brycewang-stanford/Auto-Empirical-Research-Skills
Autonomous agent for comprehensive deep research on any topic
brycewang-stanford/Auto-Empirical-Research-Skills
Practical advice for thriving in PhD programs and academic research
Add this badge to your README
[](https://modelsatlas.com/skills/brycewang-stanford/particle-physics-guide/)
<a href="https://modelsatlas.com/skills/brycewang-stanford/particle-physics-guide/"><img src="https://modelsatlas.com/skills/brycewang-stanford/particle-physics-guide/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Particle Physics Guide
What does the Particle Physics Guide skill do?
Is Particle Physics Guide safe to install?
What can Particle Physics Guide access on my machine?
Which assistants does Particle Physics Guide work with?
How current is this page?
Sources
- github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tre — the audited source at commit e1ba289846fd and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Particle Physics Guide skill do?
- Is Particle Physics Guide safe to install?
- What can Particle Physics Guide access on my machine?