一键导入
backup
Use when the user wants to back up ScholarAIO data through configured rsync targets, inspect backup plans, or run a dry-run backup before syncing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user wants to back up ScholarAIO data through configured rsync targets, inspect backup plans, or run a dry-run backup before syncing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | backup |
| description | Use when the user wants to back up ScholarAIO data through configured rsync targets, inspect backup plans, or run a dry-run backup before syncing. |
通过 scholaraio backup 统一执行远程 rsync 增量备份。
rsync 命令config.yaml / config.local.yaml 中的命名备份目标--dry-run先查看已配置目标:
scholaraio backup list
执行某个备份目标:
scholaraio backup run <target>
预演模式:
scholaraio backup run <target> --dry-run
在 config.yaml 中:
backup:
source_dir: data
targets:
lab:
host: backup.example.com
user: alice
path: /srv/scholaraio
port: 22
identity_file: ~/.ssh/id_ed25519
mode: default
compress: true
enabled: true
exclude:
- "*.tmp"
建议:
config.yamlconfig.local.yamldata/ 目录时优先使用 defaultappend / append-verifyscholaraio backup run 会强制使用非交互 SSH(BatchMode=yes),所以要提前准备好密钥登录和 known_hostsconfig.local.yaml 里为该 target 写 password;ScholarAIO 会自动切到内部 askpass 路径ssh-keyscan -p <port> <host> >> ~/.ssh/known_hosts,再执行:ssh -i <identity_file> -p <port> <user>@<host> truescholaraio backup list 确认目标存在--dry-runconfig.local.yaml / SSH 配置,而不是要求用户在 CLI 里临时输入参数Use when the user wants to install, configure, diagnose, or troubleshoot ScholarAIO, including setup check, dependency status, API keys, and bilingual setup flow.
Use when the user explicitly asks for Nature Skills, nature-skills, Nature style, Nature-style, Nature Communications, Nature-family, CNS, high-impact journal, or Springer Nature workflows, including Nature figure work, polishing, writing, reviewer critique, high-impact journal major revision response, Nature/CNS citations, Nature data-sharing workflows, paper readers, reviewer response, paper-to-PPT, submission checklist, or Nature-specific academic-search workflows.
Use when the user wants to rebuild or refresh ScholarAIO keyword, full-text, FTS5, FAISS, or semantic search indexes after data or metadata changes.
Use when the user wants to find academic papers, search the local library, run keyword or semantic search, search by author, explore topics, or federate across library, explore databases, and arXiv.
Use when the user wants to import papers from Endnote XML/RIS, Zotero Web API or local SQLite, attach PDFs, match PDFs to records, or supplement records with PDF content.
Use when the user wants to process new papers, patents, theses, documents, or proceedings from inbox queues into the knowledge base, run the ingest pipeline, or rebuild indexes.