/fusion:exfor-datafrom fusion
Retrieves real measured nuclear reaction data (cross sections, angular distributions, spectra, resonance parameters) from the IAEA EXFOR database and parses it into clean columns for comparison with calculations.
Ships in fusion. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
EXFOR is the IAEA's compilation of essentially all measured nuclear reaction data: cross sections, angular distributions, energy spectra, polarizations, resonance parameters. It is the authority for "what has actually been measured" and the natural partner to any optical-model, CDCC, or reaction calculation that needs a comparison.
This skill covers getting real numbers out of it and not getting them wrong.
Every data point you report must come from an actual retrieval performed in this task. Never reconstruct an experimental dataset from memory, and never fill a gap with plausible-looking numbers. Fabricated data in a figure is worse than no figure, because it looks like evidence and will survive into a manuscript.
The corollary matters just as much: "there is no measurement at that energy" is a real, valuable, publishable answer. Users often ask to "add the experimental data" assuming it exists. Frequently it does not exist at their exact energy, or exists only on a natural-isotope target, or only over a restricted angular range. Say so plainly and offer the nearest real alternatives. Do not stretch a nearby dataset and quietly relabel it.
Two things will waste your time if you discover them the hard way:
The interactive search servlet cannot be scripted. X4sSearch5 answers Define Search Criteria! to every GET and POST, whatever parameter names you use, because the real form is JavaScript-built and session-bound. Do not spend calls trying to reverse-engineer it.
WebFetch may return HTTP 402 on www-nds.iaea.org. That is a proxy artifact, not a paywall (EXFOR is free). Plain curl and Python urllib reach the site fine.
The per-entry servlet X4sGetEntry has returned HTTP 500 since at least 2026-10-02. It was this skill's original source. scripts/exfor.py still tries it, but only as a fallback.
What works is retrieval of a whole entry by accession number. scripts/exfor.py tries, in order:
https://raw.githubusercontent.com/IAEA-NDS/exfor_master/main/exforall/<first 3 chars>/<ACC>.x4
https://www-nds.iaea.org/exfor//servlet/X4sGetEntry?acc=<ACC>&reqx=1
The first is the IAEA's own GitHub mirror of the EXFOR master files (pushed 2026-09-28 when checked): the same 80-column text the parser was built for. Keep the letter of a non-numeric accession upper case in the path (O01/O0142.x4; o01 is a 404).
A third path serves the same entries already parsed into JSON: https://nds.iaea.org/dataexplorer/api/exfor/entry/<ACC>. Use it through exfor.py verify <SUBENT>, which compares the fixed-width parse cell by cell against the IAEA's own parse of the same master file. Do not make it the primary source: the fixed-width parser and its header-count check are what this skill was audited on, and the JSON is useful precisely because it is a second, independent route to the numbers.
So the workflow is inverted from what you would expect: you find the accession number first, then pull the entry.
This is the only genuinely hard step, since you cannot query by reaction. In rough order of reliability:
X4sGetEntry?acc=NNNNN or X4sGetSubent?subID=NNNNNNNN URLs directly.Accession numbers are 5 digits; subentries append 3 more (13160 -> 13160004).
python scripts/exfor.py list 13160
One accession usually holds an entire experimental campaign, not a single curve. Entry 13160 is one paper covering four Zr isotopes at three energies, elastic and inelastic: 20+ subentries. Listing first tells you every target, energy, and reaction available, which often answers the user's question immediately.
python scripts/exfor.py data 13160004 --header
python scripts/exfor.py data 22480005 --energy 55 --columns ANG-CM DATA DATA-ERR
Output is tab-separated columns with # comment lines carrying the reaction, sample composition, incident energy, and units for every column. Read those comment lines; they are where the traps live.
Before the numbers go into a figure or a fit, cross-check them by a second route:
python scripts/exfor.py verify 13160004
# 13160004: 39 rows parsed, 39 in dataexplorer JSON, 0 mismatched value(s)
It exits nonzero on any mismatch. On 2026-10-02 it agreed cell for cell on 9 subentries from five accession series (1xxxx, 2xxxx, 4xxxx, Oxxxx, Dxxxx), including wrapped 7- and 8-column tables (41455002, 41455007). It checks the parsing, not the measurement.
Match the calculation to the data, not the other way round. If the data are centre-of-mass, compare in centre-of-mass. If the target is natural, either compute for the natural isotopic mix or say explicitly that you are approximating it.
These are why the bundled parser exists and why you should read the header lines.
Fixed-width columns. EXFOR data are 6 fields of exactly 11 characters per line. A blank field means "not measured" and must stay blank. Splitting on whitespace collapses it and shifts every later column into the wrong slot, producing numbers that look reasonable and are wrong. scripts/exfor.py parses by column position. If you ever parse by hand with awk, verify the row count and a few values against the raw text.
Wide tables wrap, and the header counts records, not lines. A record with more than 6 fields continues on the next line, so an 8-column table of 37 points is 74 lines, and its DATA 8 37 header counts the 37 records. Up to 6 columns the two readings coincide, which is how a line-counting check survived until 2026-10-02 and then flagged every wrapped table as truncated.
Errors are sometimes percentages. DATA-ERR carries whatever unit the compiler used. In EXFOR 22480.007 it is PER-CENT, while in 13160.004 it is MB/SR. Treating a percentage as absolute silently destroys every error bar. Always read the units line.
Lab versus centre of mass. ANG and DATA are laboratory frame; ANG-CM and DATA-CM are centre of mass. Both conventions appear, sometimes in the same entry. For light projectiles on heavy targets the difference is small enough to look plausible and large enough to be wrong.
Natural versus isotopic targets. 40-ZR-0 is natural zirconium, a mix; 40-ZR-90 is the separated isotope. Even "enriched" samples are not pure, and the SAMPLE field records the composition (97.7% in 13160). This matters whenever the physics depends on N or on a shell closure.
Where the energy lives. Single-energy subentries put EN in the COMMON block; multi-energy ones make EN a data column; and an entry that used one energy throughout hoists it into subentry xxx001, so it appears nowhere in the subentry you actually want. The script merges all three, so list and data report the energy wherever it was filed. If you ever read an entry by eye and the energy seems missing, look at 001.
Restricted angular coverage. Forward-angle-only datasets are common in high-energy neutron work. Check the angular range before promising a full comparison.
The question "add the EXFOR data to my n + 90Zr elastic calculation at 50 MeV" resolves like this:
list 13160 shows 90Zr elastic at 8.0, 10.0 and 24.0 MeV only.list 22480 shows natural Zr at 55, 65 and 75 MeV, forward angles.That negative result is the most useful part of the answer, and reporting it is the skill working correctly.
references/exfor-format.md covers the REACTION string syntax, process and quantity codes, standard column names and units, entry-number ranges by compilation centre, and verified example entries. Read it when a reaction code or column name is unfamiliar.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
exfor, nuclear-data, cross-sections, iaea, experimental-data
29 skills in this plugin
/azure2Drive AZURE2, the Notre Dame multichannel R-matrix code of Azuma et al. (Phys. Rev. C 81, 045805 (2010); GPL-3.0). Write, run and verify .azr configuration files for low-energy charged-particle reactions in nuclear astrophysics: radiative capture, elastic scattering, resonance and subthreshold contributions, external (direct) capture normalised by ANCs, S-factor extrapolation to stellar energies, and reaction rates. Use for 跑AZURE2, AZURE2 input, .azr, R-matrix, R矩阵, 天体物理S因子, astrophysical S factor, direct capture, external capture, ANC, 渐近归一化系数, subthreshold state, CNO cycle capture, resonance analysis./bandBayesian uncertainty quantification for nuclear physics with the BAND framework (Bayesian Analysis of Nuclear Dynamics, bandframework v1.0.0): calibrate a model's parameters against data with surmise, build a fast reduced-basis emulator of nucleon-nucleus elastic scattering with rose, and combine several models' predictions with Bayesian model mixing in Taweret; also routes to the other BAND tools (jitr, Bfrescox, OpenBT, parMOO, PUQ, pybmc, LCGP, mooGP, Smooth Emulator). Use for Bayesian calibration, 贝叶斯校准, 参数后验, posterior, MCMC, emulator, 仿真器, surrogate model, Gaussian process emulator, reduced basis, reduced-order model, ROSE, optical potential calibration, 光学势不确定度, uncertainty quantification, UQ, 不确定度量化, model mixing, 模型混合, Bayesian model averaging, BMM, Taweret, surmise, BAND framework, experimental design. For running FRESCO itself use the `fresco` skill; for fitting a FRESCO deck by chi-squared use `sfresco`.npx claudepluginhub jinleiphys/fusion --plugin fusionOther plugins' skills for the same job