文献检索、PDF下载与 Zotero/Excel 整理助手
适合需要批量整理科研文献的研究生、教师和研究人员。它可以按主题、关键词、年份、语言和数据库生成检索计划,优先使用开放获取或你有权限的数据库下载 PDF,校验文件有效性,导入 Zotero,并生成 Excel 文献矩阵。遇到登录、验证码、SSO、2FA 或付费确认时会暂停让你手动处理,不绕过权限。使用时直接说明研究主题、目标数量、年份范围、数据库优先级和 Zotero 分类即可。
评论 0
更多
登录后可点赞、收藏、评论和举报。
适合需要批量整理科研文献的研究生、教师和研究人员。它可以按主题、关键词、年份、语言和数据库生成检索计划,优先使用开放获取或你有权限的数据库下载 PDF,校验文件有效性,导入 Zotero,并生成 Excel 文献矩阵。遇到登录、验证码、SSO、2FA 或付费确认时会暂停让你手动处理,不绕过权限。使用时直接说明研究主题、目标数量、年份范围、数据库优先级和 Zotero 分类即可。
登录后可点赞、收藏、评论和举报。
Search academic literature, legally download available PDFs through open-access sources or user-authorized institutional databases, import metadata/PDFs into Zotero, and generate a literature summary spreadsheet. Use when the user asks Codex to find papers, download references, use CNKI/Web of Science/ScienceDirect/Google Scholar or a school library portal, create Zotero collections, attach PDFs to Zotero items, or produce an Excel literature matrix after downloading papers.
Help the user acquire literature only through open-access sources or access they are authorized to use. Do not bypass paywalls, solve CAPTCHA, automate SSO/2FA, store credentials, use Sci-Hub by default, or pretend a failed download succeeded.
Automate every step that is allowed and technically available: query planning, database routing, result triage, metadata export, PDF download clicks, file validation, Zotero import, attachment checks, logs, and spreadsheet generation.
Do not automate protected human gates. When CAPTCHA, Cloudflare Turnstile, SSO, 2FA, SMS/email verification, payment, or an institution access confirmation appears:
1. Record the gate in the workflow state with `scripts/workflow_state.py gate`. 2. Tell the user exactly which browser tab/page needs their action. 3. Stop interacting with that gate. 4. After the user says it is complete, resume from the recorded `next_action`.
For long or multi-database tasks, create a state file at the start:
python3 <skill-dir>/scripts/workflow_state.py init --task-dir <task-dir> --topic "..." --target-count 20 --databases "CNKI,SPE OnePetro"Read `references/automation-runbook.md` before promising full automation or when adapting this skill to a new database.
1. Parse the task into: topic/keywords/titles/DOIs, target count, years, language, database priority, Zotero collection, and whether browser/institution access is allowed. 2. Create a task folder and workflow state. Use `scripts/build_search_plan.py` when a repeatable search plan is useful. 3. Follow the user's database priority exactly. If none is given, use: open-access/API routes, then user-authorized institutional databases, then Google Scholar only for discovery. 4. Try structured routes first for DOI/PMID/arXiv/title searches: Crossref/OpenAlex/Unpaywall/PubMed/PMC/arXiv or other available literature skills. 5. For subscribed databases, use Chrome with the user's active session or school library portal. Use Computer Use only for desktop tasks such as Zotero UI, system file pickers, VPN windows, and download-folder handling. 6. Pause and hand off when login, SSO, 2FA, CAPTCHA, Cloudflare, payment, or access confirmation appears. Continue after the user completes the action. 7. Validate every downloaded PDF before importing. Use `scripts/validate_pdf.py`. 8. Import metadata into Zotero, attach PDFs where possible, and place items in the requested collection. 9. Produce logs and a literature summary spreadsheet. Unknown analytic fields must be `待精读`, never invented.
Treat user wording as routing instructions:
For database-specific tactics, read `references/database-workflows.md`.
Use the existing Zotero plugin before considering other Zotero integrations.
1. Run the Zotero helper `status --json` to learn whether Zotero Desktop, the local API, and Connector are available. 2. Prefer RIS/BibTeX import through the Zotero plugin/Connector. 3. Use the currently selected Zotero collection when the user has prepared it; otherwise create/select the requested collection through Zotero Desktop if the plugin cannot create it safely. 4. Attach PDFs to their matching items. If the current plugin cannot attach PDFs directly, use Zotero Desktop with Computer Use. 5. Do not enable Zotero's local write API or restart Zotero unless the user explicitly approves that security-relevant setting change.
Read `references/zotero-import.md` before doing nontrivial Zotero work.
Run:
python3 <skill-dir>/scripts/validate_pdf.py <pdf-path> --jsonReject files that are HTML/error pages, empty files, partial downloads, CAJ files renamed as PDF, or metadata mismatches. If a non-PDF format such as CAJ is the only available format, tell the user and avoid treating it as Zotero-ready unless they explicitly accept it.
Maintain a task folder with:
Use:
python3 <skill-dir>/scripts/write_literature_log.py --log download_log.csv --record-json '{"title":"...","download_status":"downloaded"}'
python3 <skill-dir>/scripts/write_literature_matrix.py --input literature_records.json --output literature_summary.xlsx
python3 <skill-dir>/scripts/workflow_state.py status --task-dir <task-dir>The first spreadsheet columns are fixed unless the user changes them:
`作者年份`, `主题`, `方法`, `样本`, `理论`, `主要发现`, `局限`, `对我研究的启发`, `下载状态`
Read `references/literature-matrix.md` before generating the final spreadsheet.
When the user repeatedly uses the same school/library, build a reusable institution profile containing only process information: library URL, database entry paths, access method, common blockers, download folder, and preferred Zotero collection naming. Never store student IDs, passwords, cookies, tokens, verification codes, or other secrets.
Read `references/institution-profile.md` when adapting to a new school or database portal.
点文件名就地展开内容,审阅后再安装 —— skill 会影响你的 AI 助手行为, 只安装你信任的来源。
还没有评论,先发起一个具体问题。