/fusion:kb-searchfrom fusion
Searches FUSION's offline literature knowledge base covering 61,059 arXiv nucl-th papers with digests, 108 PhySH topic pages, an 810k-edge citation graph, and typed semantic relations. Works with grep and awk, no network or API key needed.
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.
FUSION's literature knowledge base (kb-wiki) is downloaded once, on first
use, into a local cache; it is not inside the plugin. It is plain markdown and TSV, searched with grep and awk: no server,
no index to build, no network. This skill is the map: what is in there, how to
query each layer, and where the trust boundaries sit.
papers/<id>.md: 61,059 pages, one per arXiv nucl-th paper (including
cross-lists), covering arXiv from 1992 to mid-June 2026 (newest page dated
2026-06-16). Frontmatter keys: arxiv, title, authors, date, doi,
categories, digest_model, digest_date, and on 43,489 of the pages
concepts (absent when no PhySH concept matched; not an error). Then the
abstract, a full-text digest (Key claim / Method / Key numbers / Context),
typed related-work links, and in-corpus citation lists.topics/<slug>.md: 108 PhySH concept pages: lineage, a newest-first paper
list (capped at 100), and a landscape synthesis grounded in the topic's
most-cited papers.citations.tsv: 809,632 citation edges, citing<TAB>cited, both ends
arXiv ids with pages in papers/. Two sources only: arXiv ids and DOIs
written in the citing paper's own .tex (bibitems and text), and the
paper's INSPIRE reference list (arXiv eprint, DOI, or INSPIRE record
number resolved to an eprint). Since the 2026-09-24 rebuild there is NO
cite-key guessing: a paper with an external .bib used to have keys such as
Wang11 resolved by author and year, and against INSPIRE only 18.6% of
those edges were right, so they were removed (69,949 edges) and the same
papers take their references from INSPIRE. A paper that INSPIRE does not
index and whose .tex carries no ids has no outgoing edges; a missing edge
is expected, a wrong one should now be rare. Still check an edge against
the citing paper's bibliography before relying on it.relations.tsv: citation edges with a MEANINGFUL model-assigned type,
237,009 rows of citing cited type confidence evidence: uses
191,789, compares 23,183, extends 12,366, contrasts 5,640,
applies 4,031. Plain reference-list citations are not stored, because
the type says nothing the edge itself does not: an edge present in
citations.tsv with no row here is a background citation. Every
contrasts label survived a focused second-pass check asking only whether
the citing text disputes the cited paper's own claims (the first pass
labels contrast-shaped but neutral comparisons too; on the 2026-09-25
pass 405 of 861 new labels were overturned). The evidence column is a
model rationale that may paraphrase, not a verbatim quote; in it, the
marker [the cited paper] stands where the citation sat in the source
text.relations-classified.txt: the citing papers whose citations have been
typed. It is what separates "typed as background" from "not yet typed"
for an edge with no relations row, and it is the pipeline's resume record.
Not needed for searching.Locate it with the script next to this file, once per task:
KB=$(bash <this skill's dir>/scripts/ensure_kb.sh | sed -n 's/^KB_DIR=//p')
It checks FUSION_KB_DIR, then a kb-wiki/ at the root of a FUSION
development clone, then the cache ~/.cache/fusion/kb-wiki. On the very first
use it downloads the knowledge base (about 250 MB, under a minute on a good
line, 800 MB on disk), so tell the user in one line before running it, and
let it finish; it verifies the copy against the snapshot's MANIFEST and refuses
a partial one. If it fails, say that it failed and why (usually network or
proxy; git honours https_proxy), never search a half-present directory.
ensure_kb.sh --update refreshes the cached copy to the newest snapshot.
Every hit you report must come from a grep or awk you actually ran in this task, and must carry its arXiv id. Never recall a paper from training memory and present it as a knowledge-base hit.
Cite the paper, never the page. The digest sections are machine-generated (model and date are in each page's frontmatter) and can be wrong. Before a digest claim goes into anything that matters (a manuscript, a referee report, a design decision), verify it against the actual paper on arXiv. Only the frontmatter metadata comes straight from arXiv and can be taken as-is; the prose is model-generated and the citation edges are mechanical but carry a known error rate (see above), so both get verified before they are relied on.
A miss is not proof. The base is nucl-th and its cross-lists only, through June 2026, matched lexically. A paper in hep-ph or astro-ph without a nucl-th cross-list, newer than the snapshot, or phrased differently will not match. Say this whenever you report a miss, and settle any "nobody has done X" claim against INSPIRE or arXiv online, not here.
Old-style arXiv ids contain a slash; filenames replace it with an underscore.
nucl-th/0703083 lives at papers/nucl-th_0703083.md. The TSV files and the
frontmatter keep the slash form. So to go from an id found in citations.tsv
to its page: replace / with _, append .md. In-page links already use the
underscore form.
All tested against the shipped base; a full grep -r over the 61k pages takes
a few seconds.
Look up one paper (id in either form):
cat $KB/papers/1511.03214.md # new-style id
cat $KB/papers/nucl-th_0703083.md # old-style nucl-th/0703083
Find papers by title or author (frontmatter is one line each, so anchor on the key):
grep -rli 'title:.*breakup' $KB/papers | head -20
grep -rl 'authors:.*Moro' $KB/papers | head -20
Find papers about a topic or claim (full-page grep; then read the hits' Key claim sections, which are one-sentence distillations and much higher precision than raw matches):
grep -rli 'inclusive breakup' $KB/papers | head -20
grep -A3 '## Key claim' $KB/papers/1511.03214.md
Start from a concept instead of a phrase. The 108 topic pages are curated entry points with the field's top-cited and recent papers already ranked:
ls $KB/topics/
cat $KB/topics/breakup-reactions.md
Who cites this paper / what does it cite (in-corpus only):
awk -F'\t' '$2=="1511.03214"{print $1}' $KB/citations.tsv # cited-by
awk -F'\t' '$1=="1511.03214"{print $2}' $KB/citations.tsv # cites
An empty cited-by is NOT "uncited": the graph only holds in-base pairs, and
anything outside the base is invisible to it. And a nonempty answer is not yet
a fact: before the 2026-08-12 collision guard, the example paper's only
cites edge pointed at an unrelated soliton paper through an author-key
collision (it now resolves to the paper's true predecessor). Wrong
resolutions can survive the guard, so check a hit against the citing paper's
actual bibliography before repeating it.
Who disputes, extends, or uses a paper. Filter relations.tsv by type and
read the evidence sentence before believing the label:
awk -F'\t' '$2=="1511.03214" && $3=="contrasts"{print $1"\t"$5}' $KB/relations.tsv
awk -F'\t' '$2=="1511.03214" && $3=="extends"{print $1}' $KB/relations.tsv
These relations are author-asserted: they record what the citing paper's text
says about the cited one, not an independent judgment, and the type labels are
model-assigned. contrasts means disagreement with the cited paper itself,
and every such label has passed a dedicated dispute-only verification pass;
it is still a model's reading, so when a dispute claim matters, quote the
evidence column and confirm against the citing paper itself.
Most citations have no row here at all: that means an ordinary
reference-list mention, which is the normal case, not a gap in the data.
extends/applies edges forward from the
founding papers. Deliver arXiv ids plus one verified sentence each.contrasts filter
for explicit disputes, each with its evidence sentence quoted so the user
can judge the call.This skill is part of FUSION and carries its rules: the knowledge base is
distributed under the terms in kb-wiki/README.md (machine-generated digests,
provenance in every page's frontmatter, author removal on request). Nothing
here replaces reading the paper.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jinleiphys/fusion --plugin fusion29 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`./ccfullDrive CCFULL, the all-order coupled-channels code for near-barrier heavy-ion fusion (K. Hagino, N. Rowley, A.T. Kruppa, CPC 123 (1999) 143). Write, run, and verify CCFULL input for fusion excitation functions, barrier distributions, and mean angular momenta with vibrational or rotational couplings and pair transfer. Use for 跑ccfull, CCFULL input, heavy-ion fusion, near-barrier fusion, coupled-channels fusion, fusion excitation function, barrier distribution, 熔合截面./cgmfDrive CGMF, the LANL fission-fragment de-excitation Monte Carlo code of Talou, Stetcu, Jaffke, Rising, Lovell and Kawano (Comput. Phys. Commun. 269, 108087 (2021); BSD-3-Clause). Run and analyse event-by-event simulations of prompt fission neutrons and gammas emitted by excited fission fragments, for spontaneous fission (Cf-252/254, Pu-238/240/242/244) and neutron-induced fission (U-233/234/235/238, Np-237, Pu-239/241) from thermal to 20 MeV: average and distributional neutron and gamma multiplicities, spectra, fragment mass/charge/TKE yields, and n-gamma correlations. Use for 跑CGMF, CGMF input, 裂变, fission, prompt fission neutrons, PFNS, prompt fission gammas, nu-bar, 中子多重性, neutron multiplicity, fission fragment yields, Hauser-Feshbach fission, 252Cf spontaneous fission, event-by-event fission./cnokDrive CNOK, the C++ Glauber-model single-nucleon knockout code of Y.Z. Sun and S.T. Wang (Comput. Phys. Commun. 288, 108726 (2023); GPL-3.0, gitee.com/asiarabbit/cnok). Compute single-particle removal cross sections (stripping + diffractive dissociation) and parallel (longitudinal) momentum distributions of the heavy residue (core) in one-nucleon knockout from intermediate-energy (30 MeV/u to 2 GeV/u) stable and radioactive beams on a light composite target, via the eikonal/sudden Glauber model with a t-rho-rho optical potential; supports batch mode over valence configurations (C2S-weighted inclusive cross sections and momentum distributions, spectroscopic-factor / quenching studies). Use for 跑CNOK, CNOK input, Glauber, 敲出, knockout, single-nucleon removal, stripping, diffractive dissociation, 动量分布, momentum distribution, sigma_sp, single-particle cross section, spectroscopic factor, 谱因子, C2S, quenching, eikonal, sudden approximation, t-rho-rho, 16C knockout, exotic nuclei knockout, MOMDIS./colossDrive COLOSS, the complex-scaled optical and Coulomb scattering solver (Liu Junzhe, Lei, Ren; CPC 311, 109568, 2025). Write, run, and verify COLOSS input for two-body elastic scattering with local or Perey-Buck nonlocal optical potentials, computing S-matrices and cross sections by complex scaling. Use for 跑coloss, COLOSS input, complex scaling scattering, 复标度散射, bound-state technique scattering, S-matrix from Lagrange-Laguerre basis.Other plugins' skills for the same job