/scrinium:setupfrom scrinium
Runs an interactive setup wizard for Scrinium: installs dependencies, creates config files, configures API keys, and diagnoses the environment. Use when setting up, installing, configuring, or troubleshooting Scrinium.
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 时,按以下流程操作:
scrinium setup check
阅读输出,了解哪些组件已就绪、哪些缺失。 如果用户明确是在让 agent 代为配置,而不是自己逐步操作:
scrinium setup check默认把 setup 分成两层:
config.yaml、PDF 解析器选择、MinerU token、contact_emailSemantic Scholar API key、Zotero API key 等按需项目执行顺序要求:
对每个附加项,agent 必须按同一模板说明:
setup check 共检查 core / import / pdf / office / draw 五组):
import: Endnote / Zotero 导入pdf: PyMuPDF 兜底 PDF 解析(无 MinerU / Docling 时的后备解析路径)office: MarkItDown + Office 文档生成(inbox-doc 转换、DOCX/PPTX/XLSX 生成)draw: 绘图工具链(mermaid 图表、Inkscape 矢量图)full: 全部功能pip install -e ".[full]" 或按需安装scrinium setup 交互式向导自动创建MinerU 还是 DoclingMinerU 服务、mineru-open-api、MinerU token 状态,以及 https://huggingface.co 可达性MinerU;这里的“MinerU 路径可走”包括:本地服务可达,或 mineru-open-api 已安装且可继续走免费 token 的云端路径mineru-open-api / 免费 token 云路径也走不通时,才改为优先建议 Doclingmineru-open-api 是否存在MinerU 云端方案时提示。要明确说明:MinerU token 是免费的,只需要注册并申请;优先使用 MINERU_TOKEN,MINERU_API_KEY 只保留兼容config.local.yaml(不进 git)完成核心配置后,再问一次:
Semantic Scholar API key
ingest.s2_api_key 或环境变量 S2_API_KEYOpenAlex API key
explore fetch 批量抓取explore fetch 做批量文献调研时ingest.openalex_api_key(config.local.yaml)或环境变量 OPENALEX_API_KEY,申请地址 https://openalex.org/settings/apiZotero API key
import zotero 的 Web API 路径,而不是本地 zotero.sqlitezotero.sqlite 导入zotero.api_key 或环境变量 ZOTERO_API_KEYmineru_model_version_cloud
pipeline 或 vlmMinerU-HTML;那是 HTML 解析专用,不是 PDF 默认路径mineru_parse_method
parse_method 请求字段ocr 时映射为官方 file.is_ocr=trueauto / txt 默认都按“不强制 OCR”处理,不要过度解释成不同云端模式mineru_enable_formula / mineru_enable_table / mineru_lang
pipeline / vlm 有效mineru_batch_size
mineru_backend_local
MinerU,默认先说明:云端路径可直接继续,且免费 token 可注册申请pip install docling,以及 Linux CPU-only 场景的官方安装示例scrinium setup 里应尽量直接实现:
MinerU cloud、Hugging Face、以及 localhost:8000 这类连通性测试:
localhost 不一定等于用户宿主机的 localhostcurl -I --max-time 10 http://localhost:8000curl -I --max-time 10 https://mineru.net/apiManage/tokencurl -I --max-time 10 https://huggingface.cosetup 过程中,agent 不要只说“需要 key”,必须同时说明:
MinerU token:免费申请;不配仍可走本地 MinerU / Docling / PyMuPDFcontact_email:免费简短答法模板:
MinerU token:用于 MinerU 云端解析;免费,不配仍可走本地 MinerU / Docling / PyMuPDFcontact_email:用于 Crossref polite pool;免费,不配通常只是请求识别度和服务礼貌性更弱Semantic Scholar API key:用于认证访问;不配多数端点仍可用,但部分端点需要 keyZotero API key:用于当前的 Zotero Web API 导入路径;不配就改走本地 zotero.sqlitescrinium setup check 后如果目录缺失,运行任意 scrinium 命令会自动创建(ensure_dirs())配置完成后再次运行 scrinium setup check 确认所有项目 [OK]。
scrinium setup 进入交互式向导config.local.yaml 存放敏感信息(API key),不进 gitWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wszqkzqk/scrinium --plugin scrinium38 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.Other plugins' skills for the same job