/thinking-frameworks-skills:paper-cluster-by-themefrom thinking-frameworks-skills
Groups a set of papers into 2-5 thematic clusters before synthesis, using abstracts or summaries. Names each cluster with an argument-shaped phrase and surfaces an outliers bucket for single-paper themes.
Ships in thinking-frameworks-skills. 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.
None: SKILL.md is the whole skill.
Take a list of relevance-filtered papers and produce thematic clusters that the synthesis layer can write about rather than list.
A "cluster" here is not a topic label — it's an argument. "Diffusion models for protein design" is a topic. "Diffusion models are converging on AlphaFold-comparable accuracy without MSAs" is a theme. The synthesis is much stronger when clusters describe what the papers collectively argue.
- [ ] Step 1: Read the supplied records or per-paper summaries; validate identities and preserve evidence limits
- [ ] Step 2: Identify supported themes from the supplied content, using the empty/thin-batch exceptions
- [ ] Step 3: Assign each paper to its best-fit theme (or to outliers)
- [ ] Step 4: Re-name each theme as an argument-shaped phrase
- [ ] Step 5: Validate complete one-to-one assignments and evidence-supported groupings; review dominant clusters without forcing splits
- [ ] Step 6: Return clusters + outliers + assignment rationale
Step 1 — Read inputs
The caller selects one input form:
records: the caller joins KEEP decisions back to original records by id, supplying id, title, abstract (nullable), and optional matched_keywords. A decision object alone is not a paper. Include keyed extraction evidence that supported relevance when an abstract is absent; preserve its provenance and limitations instead of inventing abstract text.summaries: the Mode A outputs from paper-synthesizer, with paper_id, title, Headline, Summary, Specifics, source URL and evidence limitations. Map paper_id to the output ID and use the supplied prose; do not invent absent abstracts or keyword matches.Missing substantive content limits a paper to an explicitly unassessed/outlier entry. Reject missing or duplicate IDs before assigning. Every input ID must occur exactly once across cluster members and outliers. Empty input returns empty arrays and zero counts; one paper or an ungrouped thin batch can use one Notable single papers collection without implying a shared research conclusion.
Step 2 — Candidate themes
Two signals to use, in order:
Aim for 2-5 clusters. Hard cap at 5 — beyond that, the synthesis layer cannot say anything coherent about each. If you have only 2-3 papers total and they don't form a theme, return one cluster called "Notable single papers" — do not force 3 clusters of 1.
Step 3 — Assign papers
Each paper goes to exactly one cluster (or outliers). When a paper plausibly fits two, choose the cluster where the paper's contribution (supported by the supplied abstract, extraction evidence or summary) is the better fit — not just where its keywords match. Note the alternative in also_fits.
Outliers: a paper with no supported cluster fit. More than four is a signal to reconsider themes, not permission to force a fit. If the papers remain heterogeneous or evidence-limited, retain all outliers and report that limitation.
Step 4 — Argument-shaped names
Bad cluster names:
Good cluster names (argument-shaped):
A good name is a one-line argument the cluster collectively makes. If you can't write that argument because the papers in the cluster disagree, that's actually fine — name it as a tension: "Disagreement on whether X requires Y."
Step 5 — Validate
Validate before returning:
Step 6 — Return
{
"clusters": [
{
"name": "Protein design moves from sequence-only to sequence+structure conditioning",
"rationale": "Three of the kept papers (P1, P2, P5) all argue that adding structural context at training time outperforms sequence-only baselines. P5 disagrees on the magnitude.",
"papers": ["10.1101/2026.05.07.123456", "PMID:39000001", "10.1101/2026.05.06.654321"],
"tension": "P5 reports smaller gains than P1; worth noting in synthesis."
},
{
"name": "Single-cell foundation models start releasing benchmarks, not just weights",
"rationale": "Two papers (P3, P7) release benchmark suites alongside the model.",
"papers": ["PMID:39000002", "10.1101/2026.05.05.111111"],
"tension": null
}
],
"outliers": [
{
"id": "PMID:39111222",
"rationale": "Single paper on cryo-EM segmentation; doesn't fit either cluster but matches watchlist."
}
],
"summary": {
"input_papers": 6,
"cluster_count": 2,
"outlier_count": 1,
"largest_cluster_size": 3,
"smallest_cluster_size": 2
}
}
Pattern A — Focused watchlist, week with 5-15 papers: typically 2-3 strong clusters + 1-2 outliers. The default.
Pattern B — Broad watchlist, week with 20+ papers: 4-5 clusters; cluster names get more specific (one keyword's worth each). Risk: cluster names become topic labels rather than arguments. Push back on yourself.
Pattern C — Thin week (3-5 kept papers): skip clustering. Return one cluster "Notable single papers" with all of them. The synthesis layer will write per-paper rather than per-theme.
Pattern D — Disagreement-heavy week: when 2+ papers in a cluster directly contradict each other on a finding, name the cluster as the tension and call this out in tension. The synthesis layer treats this as a high-value 30K-ft observation.
also_fits as a note, not as a duplicate assignment.rationale field that names which papers anchor the theme and how. Without it the synthesis writer has to re-derive your reasoning.| Cluster count | When |
|---|---|
| 1 | Thin week (≤ 5 papers, no real grouping) |
| 2-3 | Default for focused weekly digest |
| 4-5 | Broad watchlist or unusually busy week |
| 6+ | At most five themes; combine only supported groups or retain outliers |
| Naming test | Pass? |
|---|---|
| Is the name a noun phrase that could be a topic in a textbook? | FAIL |
| Does the name name an argument or a tension? | PASS |
| Could a reader predict the cluster's content from the name? | PASS |
| Could you swap two clusters' names and have it still make sense? | FAIL — names are too generic |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lyndonkl/claude --plugin thinking-frameworks-skills270 skills in this plugin
/abstraction-concrete-examplesBuilds structured abstraction ladders that translate high-level principles into concrete, actionable examples across 3-5 levels. Bridges communication gaps, reveals hidden assumptions, and tests whether abstract ideas work in practice. Use when explaining concepts at different expertise levels, moving between abstract principles and concrete implementation, identifying edge cases by testing ideas against scenarios, designing layered documentation, decomposing complex problems into actionable steps, or bridging strategy-execution gaps./academic-letter-architectGuides the creation of evidence-based academic recommendation letters, reference letters, and award nominations that combine concrete examples, meaningful comparisons, and genuine enthusiasm. Use when writing recommendation letters for students, postdocs, or colleagues, or when user mentions recommendation letter, reference, nomination, letter of support, endorsement, or needs help with strong advocacy and comparative statements./adr-architectureDocuments significant architectural and technical decisions with full context, alternatives considered, trade-offs analyzed, and consequences understood. Creates a decision trail that helps teams understand why decisions were made. Use when choosing between technology options, making infrastructure decisions, establishing standards, migrating systems, or when user mentions ADR, architecture decision, technical decision record, or decision documentation.Other plugins' skills for the same job