/scholaraio:translatefrom scholaraio
Translate paper markdown to a target language (default Chinese). Preserves LaTeX formulas, code blocks, and images. Supports single paper or batch translation. Use when the user wants to read papers in their native language or translate non-Chinese documents.
Ships in scholaraio. 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.
将论文 Markdown 翻译为目标语言(默认中文),保留 LaTeX 公式、代码块、图片引用和 Markdown 格式。翻译结果保存为 paper_{lang}.md,原文保持不变。
config.yaml 中可设置默认行为:
translate:
auto_translate: false # 入库时是否自动翻译(默认关闭)
target_lang: zh # 目标语言(zh/en/ja/ko/de/fr/es)
chunk_size: 4000 # 分块大小(字符数)
concurrency: 5 # 并发翻译数
每次调用时可通过 CLI 参数覆盖默认值。
scholaraio translate "<paper-id>" [--lang zh] [--force]
scholaraio translate --all [--lang zh] [--force]
scholaraio show "<paper-id>" --layer 4 --lang zh
scholaraio pipeline --steps toc,l3,translate
注意:
translate默认不在预设(full/ingest/enrich/reindex)中;可通过--steps显式指定。若config.translate.auto_translate=true且 pipeline 包含 inbox 步骤,translate会在 papers 阶段自动注入。
paper_{lang}.mdmeta.json 中记录翻译元数据用户说:"把这篇英文论文翻译成中文"
-> 执行 scholaraio translate "<paper-id>" --lang zh
用户说:"把所有论文翻译成中文"
-> 执行 scholaraio translate --all --lang zh
用户说:"看这篇论文的中文版"
-> 执行 scholaraio show "<paper-id>" --layer 4 --lang zh
用户说:"重新翻译这篇论文"
-> 执行 scholaraio translate "<paper-id>" --force
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub godoorsun/scholaraio --plugin scholaraio26 skills in this plugin
/auditAudit paper data quality in the knowledge base. Checks for missing fields, filename issues, DOI duplicates, title mismatches, and more. Supports LLM-based deep diagnosis for title mismatches and automated repair. Use when the user wants to check data quality, find problems, or fix metadata issues./citation-checkVerify citations in AI-generated or human-written text against the local knowledge base. Catches hallucinated references, wrong metadata, and missing papers. Use when the user wants to check if citations are real and accurate./citationsView top-cited papers ranking and refetch citation counts from APIs. Use when the user asks about highly cited papers, citation rankings, or wants to update citation data.