/scholaraio:auditfrom scholaraio
Audit 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.
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.
检查已入库论文的数据质量。分阶段:规则化检查(自动)+ LLM 深度诊断(对可疑项)+ 自动修复。
scholaraio audit [--severity error|warning|info]
问题按严重程度分类:
对每篇 title_mismatch 论文,用 Read 工具读取 meta.json 和 paper.md(前 80 行),判断:
对确认的错配,使用 repair 命令:
# 先 dry-run 预览
scholaraio repair "<paper-id>" --title "正确标题" [--author "一作"] [--year YYYY] [--doi "10.xxx/..."] --dry-run
# 确认后执行
scholaraio repair "<paper-id>" --title "正确标题" [--author "一作"] [--year YYYY] [--doi "10.xxx/..."] [--no-api]
# 修复后重建索引
scholaraio pipeline reindex
| 规则 | 级别 | 说明 |
|---|---|---|
missing_title | error | 缺少标题 |
missing_md | error | JSON 无对应 MD 文件 |
duplicate_doi | error | DOI 重复 |
missing_doi | warning | 缺少 DOI |
missing_abstract | warning | 缺少摘要 |
title_mismatch | warning | JSON 标题与 MD H1 不一致 |
nonstandard_filename | info | 文件名不符合规范格式 |
用户说:"帮我检查一下论文库有没有问题" → 执行阶段一规则化检查
用户说:"深度检查" → 执行阶段一 + 阶段二(LLM 逐篇诊断 title_mismatch)
用户说:"修复那些错配的论文" → 执行阶段三
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub godoorsun/scholaraio --plugin scholaraio26 skills in this plugin
/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./documentGenerate and inspect Office documents (DOCX, PPTX, XLSX). Generate by writing Python scripts that call python-docx, python-pptx, and openpyxl APIs directly. Inspect with `scholaraio document inspect` to verify layout, content, and catch issues (overflow, missing elements). Use when the user wants to create Word reports, PowerPoint presentations, Excel data sheets, or inspect any Office document.