/scrinium:searchfrom scrinium
Searches academic papers in the local Scrinium knowledge base using keyword (FTS5) search with agent-driven query expansion, tag filters, citation-graph snowballing, author search, and federated search across main library, explore databases, and arXiv. Use for finding papers, literature lookup, or author-based search.
Ships in scrinium. 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.
在本地论文库中搜索文献。统一入口是 scrinium search:唯一的检索模式是关键词(FTS5),框架内无向量召回;模糊语义发现由 agent 的查询扩展发现协议接管(见下)——用多改写并行搜 + 标签过滤 + 引用图滚雪球,不依赖任何向量模型即可达到与向量召回相当的覆盖。跨库搜索用 --scope。
解析用户输入,判断搜索方式:
search(关键词)。不要试图加 --mode,该选项已移除search-author/citations skillsearch --scope从用户输入中提取:
--top N,未指定则使用默认值--year 2023(单年)、--year 2020-2024(范围)、--year 2020-(起始年至今)--journal "Fluid Mechanics"(模糊匹配)--type review(模糊匹配,常见值:review、journal-article、book-chapter)执行搜索命令:
关键词搜索(唯一模式):
scrinium search "<查询词>" --top <N> [--year <Y>] [--journal <J>] [--type <T>]
作者搜索:
scrinium search-author "<作者名>" --top <N> [--year <Y>] [--journal <J>] [--type <T>]
引用量排序:使用
/citationsskill 中的scrinium top-cited命令。
联邦搜索(跨库 + arXiv):
# 同时搜主库和 arXiv
scrinium search "<查询词>" --scope main,arxiv --top <N>
# 同时搜主库和 proceedings
scrinium search "<查询词>" --scope main,proceedings
# 同时搜主库和所有 explore 库
scrinium search "<查询词>" --scope main,explore:*
# 搜指定 explore 库
scrinium search "<查询词>" --scope explore:my-survey
# 仅搜 arXiv(在线查询,不需要本地数据)
scrinium search "<查询词>" --scope arxiv
# 全部来源
scrinium search "<查询词>" --scope main,proceedings,explore:*,arxiv
--scope 支持逗号分隔组合:main(主库)、proceedings(论文集子论文)、explore:<名称> 或 explore:*(explore 库)、arxiv(在线 arXiv API)。arXiv 结果会标注 [已入库] 表示该论文已在本地库中。
标签检索(策展标签):
scrinium tags # 浏览词表(canonical + 别名 + 论文数)
scrinium search "<查询词>" --tag milestoning # 单标签过滤
scrinium search "<查询词>" --tag milestoning --tag drug-binding # 多标签 AND
scrinium workspace search <名称> "<查询词>" --tag cryo-em # 工作区内同样可用
标签来自人工/agent 策展的受控词表(data/tags.yaml),别名自动归一。标签本身已进入检索索引(搜 "force field" 能命中打了该标签的论文)。给论文打标签用 /curate skill。
将搜索结果整理后呈现给用户。
复杂查询:当 CLI 参数组合无法满足需求时(如按一作姓氏首字母筛选、多条件交叉、自定义排序等),直接写 Python 读 data/papers/*/meta.json 做查询。JSON 关键字段:
title, authors, first_author, first_author_lastname, year, doi, journal,
abstract, paper_type, citation_count (dict: crossref/semantic_scholar/openalex),
ids, toc, l3_conclusion, tags
单个查询词容易漏召回——这是关键词检索的固有短板,由 agent 用语言能力补足。对模糊/主题性查询,执行四步:
scrinium search:
scrinium tags 看词表,命中相关标签时用 --tag 做精确过滤(AND 语义可叠加)scrinium snowball <种子...> --top 20(共享引用排序),把经典但关键词漏掉的文献捞回来;references/cited-by/shared-references 见 /graph skill候选超过 30 条时派 subagent 筛选(AGENTS.md 纪律),只带回入选清单与一句话理由。
search/show/workspace show/top-cited 支持 --json,结果含 dir_name、score 等字段;需要程序化解析时用 --json,不要正则解析排版文本。scrinium topics 看主题分布,--tag 做主题内检索,二者配合覆盖"按研究方向浏览"的需求。以下旧命令仍可使用(隐藏别名,行为完全一致),但新工作请统一用 search:
| 旧命令 | 等价形式 |
|---|---|
fsearch <q> --scope S | search <q> --scope S |
用户说:"帮我搜一下 turbulent boundary layer 相关的论文"
→ 执行 search "turbulent boundary layer";召回不足时启动查询扩展协议(改写为 "wall-bounded turbulence"、"湍流边界层" 等并行搜)
用户说:"找 Liao Z-M 的论文"
→ 执行 search-author "Liao"
用户说:"我库里引用最高的论文有哪些"
→ 转交 /citations skill(使用 top-cited 命令)
用户说:"2020年以后关于 drag reduction 的论文"
→ 执行 search "drag reduction" --year 2020-
用户说:"JFM 上发的湍流论文"
→ 执行 search "turbulence" --journal "Fluid Mechanics"
用户说:"库里都有哪些主题标签"
→ 执行 scrinium tags(词表)或 scrinium topics(主题分布)
用户说:"找库里 milestoning 用在药物动力学上的论文"
→ 执行 search "kinetics" --tag milestoning --tag drug-binding
用户说:"力场相关的论文有哪些"(标签已进索引,直接搜即可)
→ 执行 search "force field";再对命中的核心论文 snowball 扩展一轮
用户说:"帮我调研一下增强采样在 RNA 上的应用"(模糊主题发现)
→ 查询扩展协议全流程:改写 "enhanced sampling RNA" / "metadynamics RNA" / "增强采样" 并行搜 → --tag 过滤 → 对核心种子 snowball → 凭理解筛排后呈现
What SKILL.md sets; muted values are Claude Code's defaults
38 skills in this plugin
/arxivUse when the user wants to browse arXiv preprints, search arXiv directly, fetch a PDF by arXiv ID or URL, or send a preprint straight into the ingest pipeline./auditAudit paper data quality in the knowledge base and take over repairs. Rule-based checks surface missing fields, filename issues, DOI duplicates, and title mismatches with per-issue fix hints; agent/subagents then verify against the original text and fix meta.json directly. Use when the user wants to check data quality, find problems, or fix metadata issues./bioinformaticsUse when working on bioinformatics toolchains such as alignment, variant calling, phylogenetics, or protein-structure analysis, especially when the agent must route across BLAST, minimap2, samtools, bcftools, MAFFT, IQ-TREE, or ESMFold.npx claudepluginhub wszqkzqk/scrinium --plugin scriniumOther plugins' skills for the same job