/research-papers:reconcile <papers/Author_Year_Title> or --allfrom research-papers
Cross-references a paper against the collection, finding which cited papers are already collected, which are new leads, and which collection papers cite this one. Updates bidirectional links in notes.md.
Ships in research-papers. 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.
Cross-reference a paper (or all papers) against the collection, ensuring every citation link is bidirectional and accurate.
This is a notes-layer skill. It updates paper notes and collection cross-references only; it does not initialize or mutate propstore source branches.
Cloud-sync safety (F3). Reconcile edits shared files (index.md and multiple
papers' notes.md) bidirectionally. When papers/ is in a synced folder
(.research-papers.toml [sync] synced_root = true), it MUST run single-writer
(sequentially, never from parallel workers), and any file relocation must
copy-verify-then-remove rather than move, to avoid racing the sync daemon.
Parse $ARGUMENTS:
--all: list all paper directories and process each one sequentially (Step 1 onward, looping)if [[ "$ARGUMENTS" == "--all" ]]; then
ls -d papers/*/ | grep -v "papers/pngs" | sort
# Process each directory through Steps 1-5
else
paper_dir="$ARGUMENTS"
fi
ls "$paper_dir"/notes.md "$paper_dir"/citations.md 2>/dev/null
Required files:
notes.md — must exist (contains the cross-references section we'll update)citations.md — must exist (contains the reference list we cross-reference from)If either is missing, report and skip this paper:
SKIP: papers/[dirname]/ — missing [notes.md|citations.md], run paper-reader first
Also check: Does notes.md already have a ## Collection Cross-References section?
Check which papers cited by this one are already in the collection.
Read citations.md — focus on both the full Reference List and the Key Citations for Follow-up section. Extract author last names and years for the key citations.
For each key citation, grep papers/index.md for the author's last name:
grep -i "AuthorName" ./papers/index.md
If found, the matching line contains the directory name. For more detail, read papers/<dirname>/description.md.
Every cross-paper reference in notes.md is a markdown link, never a [[wikilink]]. GitHub does not render wikilinks in repo files. Format:
[<pretty title from target's frontmatter>](../<Target_Dir>/notes.md)
Before writing any cross-ref entry, read the target paper's title: from its notes.md frontmatter:
head -8 "papers/<Target_Dir>/notes.md" | grep '^title:' | sed 's/^title:[[:space:]]*//; s/^"//; s/"$//'
Use that pretty title as the link text. The path is relative — from papers/<A>/notes.md to papers/<B>/notes.md the link target is ../<B>/notes.md.
In notes.md, write or update the ## Collection Cross-References section.
House style: use the cross-reference separator - (hyphen-space), not
an em-dash (U+2014). House style forbids the em-dash in generated prose, and
lint-paper / the collection verify flag any em-dash in content .md. The
separator is configurable via .research-papers.toml [house_style] separator;
honor that value when set (default -).
## Collection Cross-References
### Already in Collection
- [<Pretty Title of AuthorA>](../AuthorA_Year_ShortTitle/notes.md) - cited for [reason from citations.md context]
### New Leads (Not Yet in Collection)
- AuthorB (Year) - "Paper title" - relevant for [reason]
### Supersedes or Recontextualizes
- [If this paper extends/corrects/supersedes an existing collection paper, note it here]
- [Only genuine relationships - not every citation]
### Conceptual Links (not citation-based)
- [<Pretty Title of PaperC>](../PaperC_Year_Title/notes.md) - [specific topical connection: what claim/finding/method links these papers]
If the "Supersedes or Recontextualizes" section is non-empty, append a see-also note to each affected paper's notes.md. Look up the new paper's pretty title from its frontmatter first:
new_title=$(head -8 "./papers/NewPaper_Dir/notes.md" | grep '^title:' | sed 's/^title:[[:space:]]*//; s/^"//; s/"$//')
echo "" >> ./papers/AffectedPaper_Dir/notes.md
echo "---" >> ./papers/AffectedPaper_Dir/notes.md
echo "" >> ./papers/AffectedPaper_Dir/notes.md
echo "**See also:** [${new_title}](../NewPaper_Dir/notes.md) - [relationship description]" >> ./papers/AffectedPaper_Dir/notes.md
Check first whether a see-also note already exists (to avoid duplicates):
grep -c "NewPaper_Dir" ./papers/AffectedPaper_Dir/notes.md
Find papers in the collection that reference this paper.
From the paper's notes.md, extract the first author's last name and year. Build a grep pattern:
# Search all collection markdown files for references to this paper
# Exclude the paper's own directory to avoid self-matches
grep -rl "AuthorLastName.*Year" ./papers/ --include="*.md" | grep -v "papers/AuthorLastName_Year_ShortTitle/"
Also try the directory name pattern:
grep -rl "AuthorLastName_Year" ./papers/ --include="*.md" | grep -v "papers/AuthorLastName_Year_ShortTitle/"
If any collection papers cite this one, add or update a "Cited By" subsection in the Collection Cross-References:
### Cited By (in Collection)
- [<Pretty Title of Citing Paper>](../CitingPaper_Year_ShortTitle/notes.md) — cites this for [aspect, determined in Step 4]
If no papers cite this one, either omit the section or write:
### Cited By (in Collection)
- (none found)
Steps 2–3 find explicit citation links. This step finds conceptual connections: collection papers that address the same problems, whose findings interact with this paper's claims, or whose methods complement or contradict this paper — regardless of whether any citation relationship exists.
This is what makes the collection a knowledge graph, not just a citation graph. This step is not optional. Citation-based cross-referencing alone misses the most valuable connections: papers from different research traditions that converge on the same empirical observation, or later papers that provide mechanisms for earlier observations.
Read this paper's notes.md and extract the 3–6 most important claims, methods, or findings. These are the search axes.
What to extract — be specific about the phenomenon, not just the topic:
For each claim/topic, think about what kinds of papers would connect:
Same phenomenon, different framework:
Mechanism for observation (or observation for mechanism):
Data that grounds or challenges claims:
Cross-level connections:
Use targeted grep searches across papers/*/notes.md:
# Search for papers discussing the same phenomenon
grep -rl "relevant_term" ./papers/ --include="notes.md" | grep -v "papers/ThisPaper/"
Read matching sections (not full files) to assess connection strength.
For each match, classify as:
Only surface Strong and Moderate connections. Weak connections create noise.
Add a ### Conceptual Links (not citation-based) subsection to the Collection Cross-References:
### Conceptual Links (not citation-based)
- [<Pretty Title of PaperA>](../PaperA_Year_Title/notes.md) — [specific connection: what claim/finding/method connects these papers and how they relate — convergence, tension, mechanism↔observation, etc.]
- [<Pretty Title of PaperB>](../PaperB_Year_Title/notes.md) — [specific connection]
Each entry must state the specific relationship, not just "related to duration modeling." Good: "Hertz's 'stable transition phenomenon' (CV transitions hold at ~65ms while steady states stretch) is exactly what AP predicts for a high-stiffness gesture — different formalisms, same empirical convergence." Bad: "Also about formant transitions."
Group entries by theme when there are 3+ connections (use bold subheadings like **Duration modeling:**).
For Strong connections, check if the connected paper's notes.md already mentions this paper:
### Conceptual Links (not citation-based) section (create the subsection if needed)For Moderate connections, only annotate this paper (not the connected paper) — the connected paper's own reconciliation pass will pick it up if the connection is genuinely bidirectional.
For each paper found in Step 3, read its notes.md (specifically the Collection Cross-References, Related Work, and Open Questions sections). Check for and fix:
Leads can appear in two places depending on whether the citing paper has been reconciled before:
### New Leads (Not Yet in Collection) — inside a ## Collection Cross-References section (reconciled papers)## Related Work Worth Reading — a flat list at the end of notes.md (unreconciled papers, the paper-reader default)Search both sections for an entry matching this paper (by author name and year).
If found in ### New Leads (Not Yet in Collection):
### Now in Collection (previously listed as leads) (create subsection if needed)If found in ## Related Work Worth Reading:
→ NOW IN COLLECTION: [<Pretty Title>](../Author_Year_ShortTitle/notes.md) to the entry### Now in Collection (previously listed as leads) in the ## Collection Cross-References section (create section and subsection if needed)In both cases, write the "Now in Collection" entry with:
Example:
### Now in Collection (previously listed as leads)
- [Anatomy of a Nanopublication](../Groth_2010_AnatomyNanopublication/notes.md) — Defines nanopublication model (concept→triple→statement→annotation→nanopublication) with RDF Named Graph serialization. Structurally analogous to the micropublication model but focused on Semantic Web interoperability rather than argumentation structure.
If the citing paper describes this paper inaccurately (wrong method, wrong finding, wrong scope):
If the citing paper has open questions (## Open Questions) that this paper addresses:
[Addressed by Author_Year_ShortTitle — finding summary]If the new paper's findings conflict with or nuance the citing paper's conclusions:
Output a summary:
Reconciled: papers/[dirname]/
Forward: N already in collection, M new leads, K supersedes
Reverse: J collection papers cite this one
Conceptual: S topic-based connections surfaced (T strong, U moderate)
Updated:
- papers/CitingPaper1/ — moved lead to "Now in Collection", corrected description
- papers/CitingPaper2/ — added to "Already in Collection"
- papers/AffectedPaper/ — added see-also backward annotation
- papers/ConnectedPaper/ — added conceptual link (bidirectional)
Tensions found:
- [brief description of any finding conflicts, or "none"]
For --all mode, output a final summary after all papers are processed:
Reconciliation complete: X papers processed
- Y papers had citing papers in collection
- Z leads marked as fulfilled
- S conceptual links surfaced
- W tensions documented
- V papers skipped (missing notes.md or citations.md)
After reconciliation, every cross-reference in the collection should be bidirectional and accurate:
If Paper A cites Paper B, and both are in the collection:
If Paper A was listed as a "New Lead" in Paper B, and A is now in the collection:
If Paper A supersedes/extends Paper B:
If Papers A and B have conflicting findings:
If Papers A and B address the same problem or their findings substantively interact (even without citation):
When invoked with --all, process papers in alphabetical order. For each paper:
--all twice should produce the same result (no duplicate annotations)Before every write operation, check if the content already exists:
grep -c "PaperDirName" notes.mdgrep -c "PaperDirName" affected_notes.mdpapers/index.md entries (that's paper-reader's job)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ctoth/research-papers-plugin --plugin research-papers28 skills in this plugin
/adjudicateSystematically adjudicate disagreements across a paper collection. Produces ruthless verdicts on who was wrong, what supersedes what, and what the best current understanding is. Organized by topic clusters with actionable replacement values for implementation./author-contextIdentify a paper analysis context and author it only through an available Propstore context-owner workflow./author-lifting-rulesAssess justified cross-context applicability and author supported lifting rules when the installed Propstore CLI exposes their owner workflow./author-rulesCheck the installed DeLP rule-authoring capability and encode a paper's stated predicate-level reasoning only through an available owner./enrich-claimsEnrich existing source-branch claims by updating them through pks source propose-claim./extract-claimsExtract propositional claims from a paper directory into the propstore source branch using pks source propose-claim.Other plugins' skills for the same job