paper-relevance-filter
БесплатноБез исполняемых скриптовНе проверенScores a candidate paper against a keyword watchlist and a relevance-criteria document, returning KEEP/DROP/REVIEW with a one-line rationale and a 0-100…
от lyndonkl★ 208 звёзд на GitHubОб этом скилле
paper-relevance-filter
Decide whether a fetched paper belongs in this week's digest. Output is a per-paper decision (KEEP / DROP / REVIEW), a 0-100 score, and a one-line rationale that the user can audit.
Workflow
- [ ] Step 1: Load relevance criteria + the watchlist + last-4-weeks kept-paper IDs
- [ ] Step 2: Score each paper on three axes (match, criteria, novelty)
- [ ] Step 3: Combine to a 0-100 score; map to KEEP / REVIEW / DROP via thresholds
- [ ] Step 4: Apply tie-breakers (cap output at requested max kept count)
- [ ] Step 5: Return decisions + a calibration summary
Step 1 — Inputs
The caller hands the skill:
papers: normalized paper records, such as the search result'srecordsarray; never pass a whole source/search envelope as a paperextractions(optional): available extraction text keyed by paper ID, supplied by the caller after extraction; use it as evidence for criteria fit and preserve its stated limitationswatchlist: list of keywords/phrases (with optional weights — default weight 1.0)criteria: text fromrelevance-criteria.mddescribing what fits and what doesn'tprior_ids: set ofidvalues that appeared as KEEP in any of the last 4 digests (used for novelty)max_kept: target ceiling, e.g. 25 (the digest will not exceed this)
Step 2 — Three-axis scoring
For each paper, compute three sub-scores in [0, 1]:
Axis 1 — Match strength (0-1)
- 0.0 if no watchlist keyword appears in title or abstract
- 0.5 if a keyword appears once in the abstract only
- 0.7 if a keyword appears in the abstract more than once OR in title once
- 1.0 if a keyword appears in the title AND abstract, or multiple distinct keywords match
If keywords carry weights (some matter more than others), use the max weight among matched keywords as a multiplier capped at 1.0.
Axis 2 — Criteria fit (0-1) This is the qualitative axis. Read the abstract against the relevance-criteria document. The criteria typically state:
- In-scope concepts (the field/method the user actually wants)
- Out-of-scope concepts (look-alikes the keyword filter might let through)
- Required minimums (e.g., "must report empirical results", "must be primary research, not commentary")
Score:
- 1.0 — clearly in-scope, meets minimums, no look-alike traps triggered
- 0.7 — in-scope but borderline (review article on the topic; short report; preprint with no methods detail in abstract)
- 0.4 — partially in-scope (touches the topic but the paper's main subject is elsewhere)
- 0.0 — out-of-scope or trips an explicit exclusion (e.g., "exclude pure-theory papers" and the abstract is pure theory)
If the criteria document is silent on a paper's territory, default to 0.7 and flag for REVIEW.
A null abstract is valid. Match keywords against the title and any available abstract; use supplied extraction evidence for criteria fit. If the available evidence cannot establish a required criterion, return REVIEW with an evidence-gap rationale (unless the already-covered override forces DROP). Do not invent an abstract or treat an unknown method/result as established.
Axis 3 — Novelty (0-1)
- 1.0 if
idis not inprior_idsand the title doesn't fuzzy-match any prior title - 0.5 if a prior preprint version exists in
prior_ids(e.g., same DOI prefix10.1101/...matched, this is a journal version) — KEEP-worthy but tag as "journal version of preprint covered YYYY-WW" - 0.0 if exact
idmatch inprior_ids(already covered)
Use normalized title (lowercase, strip punctuation, collapse whitespace) for fuzzy matching. A Levenshtein ratio > 0.9 against any prior title counts as a match.
Step 3 — Combine and threshold
score = 100 * (0.45 * match + 0.45 * criteria + 0.10 * novelty)
Match and criteria carry equal weight (a paper that mentions your keywords once but is wildly out-of-topic should not score higher than one that's deeply on-topic with a single mention). Novelty is a small finger on the scale — enough to demote already-covered work but not enough to drop a genuinely important journal-version-of-preprint update.
Decision thresholds (default; the calling agent may override):
| Score | Decision | Notes |
|---|---|---|
| 70-100 | KEEP | Goes into the digest |
| 50-69 | REVIEW | Boundary cases — caller decides whether to escalate to user |
| 0-49 | DROP | Filtered out, reason logged in the dropped-papers section |
Special-case override: if novelty == 0.0 (already in a prior digest), force DROP regardless of score. The papers section may still list it as "already covered" for traceability.
Step 4 — Tie-breakers when KEEP > max_kept
When more papers score ≥ 70 than max_kept:
- Re-score with stricter axis-2 thresholds (review articles drop from 0.7 to 0.4; partial-fit dr
Установить paper-relevance-filter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл paper-relevance-filter?
Scores a candidate paper against a keyword watchlist and a relevance-criteria document, returning KEEP/DROP/REVIEW with a one-line rationale and a 0-100 relevance score. Combines keyword-match strength, criteria-fit, and a historical-context check (was this paper or its preprint already covered in a recent digest). Domain-neutral - usable for any literature-scan workflow. Use after fetching candidate papers from bioRxiv, medRxiv, or PubMed and before clustering or synthesis. Trigger keywords - paper relevance, filter papers, keep or drop, score papers, relevance rationale.
Как установить скилл paper-relevance-filter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл paper-relevance-filter запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic