/fusion:research-profilefrom fusion
Maintains a personal research portfolio wiki at ~/research-wiki-personal/ with projects, papers, ideas, failures, methods, collaborators, talks, reviews, funding, and CV snapshots. Use to log research activities, capture ideas, document failed attempts, update collaborator notes, or snapshot research history.
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.
This file is the canonical operational protocol. It is harness-neutral. The skill ships parallel SKILL.md (Claude Code entry) and AGENTS.md (Codex CLI entry) bodies that mirror each other; if you edit one, edit the other.
Schema v2 (current) introduces controlled vocabulary, tag-driven indexing, AUTO-marker profile sections, and an explicit migrate path from v1. See Migration from v1 below if you have a v1 wiki.
v2.1 addition: bi-temporal timeline: frontmatter for tracked facts that change over time (see "Bi-temporal facts" below). Existing pages adopt it lazily, on the first change to a tracked fact.
Memory of "what the user has worked on" should not live only in the user's head and in scattered drafts. It should be a curated, persistent, machine-queryable artifact that:
This is the factual record of what the user has done, not a personality simulator.
Resolution order on every invocation:
RESEARCH_PROFILE_PATH env var.~/.research-profile-path (single-line absolute path).~/research-wiki-personal/.This wiki is private. Treat the path with notebook-grade care. Recommend a local + private remote git repo. If the directory does not exist, ask before creating.
The single most important file is <wiki>/profile.md — a one-page summary structured to fit in <2k tokens. It is auto-loaded into every session via your harness's documented mechanism.
@import)@<wiki>/profile.md (absolute path) to ~/.claude/CLAUDE.md (user-level) or <project>/CLAUDE.md (project-scoped).~/.codex/AGENTS.md symlink)Codex does not support @import (openai/codex#17401). Use Codex's documented global agent doc directly:
ln -sfn <wiki>/profile.md ~/.codex/AGENTS.md
If ~/.codex/AGENTS.md already has content, merge it into profile.md's "Working preferences" section first, then symlink. Per-project alternative: cd <project> && ln -sfn <wiki>/profile.md AGENTS.md.
project_doc_fallback_filenames does NOT work for ~/.codex/profile.md — that mechanism only walks the project tree, never ~/.codex/. The ~/.codex/AGENTS.md symlink is the only reliable global path.
Tag drift breaks indexing. To prevent it, all tag values come from a controlled vocabulary stored in <wiki>/CLAUDE.md (the per-wiki schema file the skill respects). The vocabulary defines six axes:
| Axis | What it tracks | Examples |
|---|---|---|
methods | analytical / numerical / experimental methods | cdcc, iav-cdcc, monte-carlo, ab-initio |
observables | physical quantities computed or measured | breakup-cs, fusion-suppression-factor, polarization |
codes | code packages used | fresco, ncsm, julia-nucleartoolkit |
topics | physics themes / open questions | icf, cf-suppression, weakly-bound, halo-nuclei |
systems | specific reactions or nuclei | d+93Nb, 6Li+209Bi, 11Li |
collaborators | people the user works with | moro, phillips, furnstahl |
Each axis is a YAML map of slug → entry:
vocabulary:
methods:
cdcc:
canonical: "Continuum-Discretized Coupled Channels"
aliases: [CDCC, "continuum-discretized", "continuum discretized coupled channels"]
iav-cdcc:
canonical: "Ichimura-Austern-Vincent CDCC for transfer/breakup"
aliases: [IAV-CDCC, "IAV CDCC"]
parent: cdcc # iav-cdcc IMPLIES cdcc; index propagates upward
topics:
icf:
canonical: "Incomplete fusion"
aliases: [ICF, 不完全融合]
...
canonical — human-readable name. Required.aliases — alternate spellings (case-insensitive, multi-language). The agent normalizes any alias to the slug. Optional.parent — hierarchical inclusion. A page tagged with the child slug is auto-included in indices for the parent. Optional.A starter templates/CLAUDE.md ships with the skill; copy it to <wiki>/CLAUDE.md on init and grow as papers are added.
When the agent adds tags during any log operation:
This is non-negotiable. Never invent a tag silently. The cost of a stop-and-ask is small; the cost of a polluted vocabulary compounds for years.
Escape hatch: an uncategorized slug is reserved across all axes for genuinely-novel content where the user wants to defer categorization. lint will report when uncategorized usage exceeds 30% of any axis (signal that taxonomy needs work).
<wiki>/
├── CLAUDE.md / AGENTS.md # ⭐ vocabulary + per-wiki style overrides
├── profile.md # ⭐ auto-loaded one-pager (AUTO + manual sections)
├── index.md # navigation hub (manual; links into index/ tree)
├── log.md # chronological append-only log
├── projects/{active,paused,done}/
├── papers/{published,submitted,drafts,rejected}/
│ └── *.md + *.private.md # ALWAYS paired: public stub + private companion
├── ideas/{promising,parked,killed}/
├── methods-mine/
├── failures/ # ⭐ what didn't work and why
├── collaborators/
├── talks/ reviews/ snapshots/ funding/
└── index/ # ⭐ AUTO-generated by update-index, do not hand-edit AUTO blocks
├── by-method/<slug>.md
├── by-observable/<slug>.md
├── by-codes/<slug>.md
├── by-topic/<slug>.md ← also serves as your "research line" page
├── by-system/<slug>.md
└── by-collaborator/<slug>.md
Important: index/by-topic/<topic>.md and index/by-method/<method>.md doubly serve as research-line pages. They have a hand-written preamble (motivation, key insight, current state, "is this line still alive?") above the AUTO block, which lists papers / ideas / failures / methods carrying that tag. There is no separate lines/ page type — a topic that has 3+ papers IS a research line.
Every non-profile page carries:
---
type: project | paper | idea | failure | method | collaborator | talk | review | funding
status: <type-specific; see per-page schemas>
created: YYYY-MM-DD
last_updated: YYYY-MM-DD
sensitivity: public | private | embargoed # default private
# Tag axes (use vocabulary canonical slugs only; ask before adding new vocab)
methods: []
observables: []
codes: []
topics: []
systems: []
collaborators: []
# Lineage (papers / projects / ideas; optional otherwise)
predecessor: [[other-page]]
successor: [[other-page]]
companion: [[other-page]]
# Profile featuring (optional override)
featured: false # if true, force this onto profile.md regardless of activity heuristics
# Cross-link into literature-wiki (when relevant)
literature: [[../research-wiki/methods/<slug>]]
# Bi-temporal history (v2.1; append-only; omit until a tracked fact first changes)
timeline:
- fact: "what was true"
from: YYYY-MM-DD # event time: when it became true
until: YYYY-MM-DD | present
learned: YYYY-MM-DD # transaction time: when the wiki learned it
source: "user 2026-05-19 | [[log.md entry]] | email | referee report"
---
When a tracked fact on an existing page changes, never overwrite it and never record the change only as a prose patch. Tracked facts are the ones that flip over a career: collaborator role / institution / retirement, paper status and revision stance, method maintenance status, project state.
Rules:
status:, role:, institution:, ...). Queries against current state stay one-field cheap.timeline:, append-only, with both event time (from/until) and transaction time (learned) plus source: provenance. fact is written as key: value (e.g. "status: submitted", "institution: SCNT", "revision_stance: multi-gpu accepted") so lint can group entries into fact families mechanically instead of guessing from free text. Approximate dates carry an inline # approx comment; never fabricate precision.timeline: yet, create the block with TWO entries: the old state (reconstruct from as well as you can; learned may be the page's created date) and the new one.Why bi-temporal: it distinguishes "the fact changed" from "two pages contradict each other" (different facts at different times are not a contradiction), it answers "what did I believe when, and why did it change" (e.g. a revision stance reversed after a referee round), and it survives profile refreshes that rewrite prose. (Pattern borrowed from obsidian-second-brain's bi-temporal facts rule.)
projects/<status>/<slug>.md## Goal — one paragraph## Methods used — links to vocabulary slugs and methods-mine/## Current state — what works, what doesn't, what's blocking## Code/repo — absolute paths, including server (e.g. heliumx:/scratch/jin/...)## Collaborators — slugs (vocabulary-controlled) + role each## Related literature — links to research-wiki/sources/ if literature-wiki installedThe paper schema is the most-revised in v2. Key principle: if a section can be reconstructed from the abstract a year from now, do not include it. The wiki page captures what the abstract cannot.
papers/<status>/<slug>.md (public, safe to commit) paired with papers/<status>/<slug>.private.md (always created, gitignored by *.private.md).title:, authors: [list, lead first]submitted: first_decision: accepted: published: (YYYY-MM-DD; optional per state)doi:, arxiv:, venue:predecessor: / companion: / successor: lineage links<slug>.md (public):
## Key claim — one sentence DEEPER than the abstract. The abstract has the claim; this is the claim with the actual hedge or qualifier the abstract glossed over.## My contribution — CRediT-style breakdown. Required structure: Conceptualization / Methodology / Software / Formal analysis / Writing — original draft / Writing — review. Mark each as "Lead | Equal | Contributing | Not involved" with the responsible co-author named for the lead-other items.## Code and data location — absolute paths including server hostname (e.g. heliumx:/scratch/jin/cdcc-19/run42/). Future-you will need this within 18 months.## Lineage — prose narrative of how this paper extends predecessor and what the next step is. Frontmatter has the links; body has the story.## Key numbers worth remembering — specific numerical results with their context (e.g. "epsilon = 0.27 ± 0.03 at Ec.m. = 38 MeV; matches m_pi/Lambda_chi = 0.28 (Sec. III.B)").## What I'd do differently now — future-self letter. Often becomes the seed of the successor paper.<slug>.private.md (companion, embargoed): see schema below.papers/<status>/<slug>.private.mdsensitivity: embargoed, paper: [[<slug>]]log paper):
## Reviewer N — incoming reports, with date, journal, decision, verbatim quotes## Response drafts — your reply text in progress## Internal correspondence — slack/email summaries with co-authors about the paper## Co-author disagreements — frank notes, who pushed back on what<slug>.md should cross-link with: See [[<slug>.private]] for embargoed material.ideas/<status>/<slug>.md## Seed thought — what triggered it## Why promising | ## Why parked | ## Why killed (matching status)## What would unblock it (for promising/parked)## Relevant literature — links into research-wiki when applicable## Why killed with concrete reason. Highest-value field for AI context: it prevents the agent from suggesting paths the user has already burned.featured=true.failures/<slug>.md## What was tried## Why it should have worked — your prior belief## What actually happened — observation## What was ruled out — corollary findings## Conditions that might revive it — when to revisitmethods-mine/<slug>.mdlanguage + code_repo + license## What it does — one paragraph## Key API surface## Gotchas## Papers using it — wikilinks (kept manually as a sanity check; auto-index also generates by-codes/.md)(Compact; same shape as v1, with tag axes added.)
collaborators/<slug>.md. Frontmatter extras: role: close|occasional|past, institution, expertise: [tags], sensitivity: private default. Body: ## How we met, ## Common projects, ## Communication preferences, optional ## Frank notes (sensitivity-gated). Role / institution / retirement changes append a timeline: entry (bi-temporal rule), never overwrite-only.talks/<YYYY>-<slug>.md. Frontmatter extras: venue, date, audience_level, public_url. Body: ## Topic, ## Key slides/figures, ## What I'd change next time.reviews/<YYYY>-<slug>.md. Always sensitivity: embargoed. Body: ## Paper summary, ## My verdict, ## Key concerns, ## Lessons.funding/<YYYY>-<slug>.md. Frontmatter extras: agency, status: submitted|awarded|rejected, amount, period, role. Body: ## Project summary, ## Key claims, ## Deadlines.init — first-time setupPrivileged-write operation; each side effect gated by confirmation.
~/research-wiki-personal/. Stop if user declines.templates/profile.md → <wiki>/profile.md, templates/.gitignore → <wiki>/.gitignore, templates/CLAUDE.md → <wiki>/CLAUDE.md (vocabulary starter), create empty index.md and log.md. Run git init.~/.claude/, Codex at ~/.codex/). For each detected harness:
grep -Fxq for the import line in ~/.claude/CLAUDE.md first; skip if present, else show diff and ask before appending.~/.codex/AGENTS.md. If absent, create symlink. If symlinked to same target, skip. If symlinked elsewhere, ask before overwriting. If a regular file with content, offer cancel / merge-into-profile.md / .bak-then-overwrite. Apply with ln -sfn for idempotence.<wiki>/profile.md already exists, skip Step 2 and run only Step 3 (lets you wire a second harness on an existing wiki).profile.md, review .gitignore, optionally install pre-commit hook from templates/pre-commit-hook.sh.log — capture a new entryTrigger: 记一下, 加进档案, log this, 我有个 idea, 这次没 work.
For type=paper, FIRST split: ask "is this your paper or one you read?" (cache the answer in session). If "one you read", HAND OFF to literature-wiki: invoke its ingest operation with the source, then write a thin stub at papers/read/<slug>.md (only created if the user opts in) that cross-links to research-wiki/sources/<paper-id>.md. The detail lives there, not here.
For other types, or for "your paper":
<slug>.private.md companion stub (with sensitivity: embargoed), even if empty.log updates an EXISTING page and flips a tracked fact (status, role, institution, venue decision, revision stance), append a timeline: entry per the bi-temporal rule; update top-level frontmatter to the new current state.log.md: ## [YYYY-MM-DD] log | <type> | <slug> | <one-line>.index.md (the manual hub).update-index to refresh affected index/by-<axis>/<tag>.md pages.profile.md be refreshed? (Heuristic: yes if the new entry could affect the auto sections per "Affects profile.md" annotations above.)update-profile — refresh the auto-loaded one-pagerprofile.md is split into AUTO blocks (rewritten by this operation) and manual blocks (never touched). AUTO block boundaries:
<!-- AUTO:BEGIN active-research-lines -->
<!-- AUTO:END -->
<!-- AUTO:BEGIN recent-publications -->
<!-- AUTO:END -->
<!-- AUTO:BEGIN in-submission -->
<!-- AUTO:END -->
<!-- AUTO:BEGIN methods-i-own -->
<!-- AUTO:END -->
<!-- AUTO:BEGIN dead-ends -->
<!-- AUTO:END -->
for tag in topics + methods:
pages = wiki pages tagged with tag whose status is "active" or "published in last 36 months"
if len(pages) >= 3 AND any(updated within last 12 months):
yield (tag, latest_update_date)
sort by latest_update_date desc
take top 5
also include any page with featured=true (override)
Each entry in this AUTO block is a one-line summary with a wikilink to index/by-topic/<tag>.md (the research-line page).
papers/published/* with published date in last 24 months, sorted desc. One line per paper.
papers/submitted/* (all) plus papers/drafts/* that name an intended venue, sorted by submitted: desc (undated last). One line per paper with venue + review state.
methods-mine/* with status active OR maintained. One line per method.
failures/* sorted by last_updated desc, take top 5. One line per failure with the "Why X did not work" excerpt.
Flow:
update-index — refresh the tag-indexed pagesTriggered automatically after every log, after update-profile, and after migrate. After lint it runs only once the user has approved the lint fixes (lint itself stays read-only). Can also be invoked explicitly. Always idempotent.
Flow:
projects/, papers/, ideas/, failures/, methods-mine/, collaborators/, talks/, reviews/, funding/. Read frontmatter only (cheap).parent: propagation (a page tagged iav-cdcc is also indexed under cdcc).<wiki>/index/by-<axis>/<tag>.md:# <Canonical name from vocabulary>
<!-- MANUAL preamble (above AUTO marker; preserved across runs) -->
<!-- AUTO:BEGIN -->
## Papers (<count>)
- [YYYY] *Title* — Key claim excerpt. → [[../../papers/published/<slug>]]
Cross-tags: methods=[…], topics=[…], systems=[…]
## Failures (<count>)
- [YYYY] What didn't work, one-line. → [[../../failures/<slug>]]
## Open ideas (<count>)
- [YYYY] Seed thought. → [[../../ideas/promising/<slug>]]
## Methods I own (<count>)
- <slug> — what it does. → [[../../methods-mine/<slug>]]
<!-- AUTO:END -->
sensitivity: embargoed from indices unless the index file is itself in a private-only directory (rare; default behavior: embargoed pages are NOT linked from auto indices to prevent leak via index summary).<wiki>/index/by-<axis>/<tag>.md files whose tag has zero pages (after this run).snapshot — CV-style exportRead-only synthesis grouped by year. Pulls from frontmatter dates and key claims. Optionally save to snapshots/YYYY-MM-DD-<scope>.md (gitignored by default).
lint — health checkTrigger: explicit, or suggest after every ~20 logs.
Checks:
paused/.submitted/ for >120 days → flag for status check.promising/ for >180 days with no movement → propose parked/ or killed/.profile.md last_updated >60 days → propose update-profile.predecessor / successor / literature wikilinks pointing to non-existent pages.timeline: entries missing learned or source; latest timeline entry (until: present) contradicting the top-level current-state fields; overlapping from/until ranges for the same fact family.Output: a markdown report. Apply fixes only after the user reviews.
migrate — bring existing pages up to current schemaUse when upgrading from v1 (no controlled vocab, simpler frontmatter) to v2.
Flow:
<path> is missing tag axis methods. From the page content, I propose [cdcc, iav-cdcc] (existing vocab) — confirm or correct."<slug>.private.md: create empty companion with frontmatter only.log.md.update-index once.This is interactive and slow on a large wiki — that's intentional. The user must validate each tag application; silent migration would defeat the purpose of controlled vocabulary.
sensitivity: embargoed are never auto-quoted to outputs that could leak.update-profile cycles.literature: frontmatter and inline [[../research-wiki/...]] links.CLAUDE.md / AGENTS.md first for vocabulary and personal style overrides.When the user reads a paper that relates to their own work:
research-wiki/sources/<paper-id>.md) — the field-level record.literature: [[../research-wiki/sources/<paper-id>]] line to the relevant page's frontmatter, plus a one-sentence note in body explaining the relevance.~/research-vocabulary.yml, can be symlinked into both <personal-wiki>/CLAUDE.md and <literature-wiki>/CLAUDE.md for true single source of truth — optional advanced setup).When the user logs their own paper that uses a method documented in literature-wiki:
literature: [[../research-wiki/methods/<method-slug>]] to frontmatter.<personal-wiki>/index/by-method/<method-slug>.md adds a "See also: literature-wiki definition" line at the top.The per-page schemas above are the contract. Templates ship in templates/:
templates/profile.md — starter for the auto-loaded one-pager (with AUTO markers).templates/CLAUDE.md — vocabulary starter with empty axes and a few example entries.templates/.gitignore — privacy default.templates/pre-commit-hook.sh — optional Git pre-commit guard.For extended workflows or schema variants, see references/ if present.
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`.Other plugins' skills for the same job