given-dream/sciencedirect-live-session-fetcher/literature-live-session-pipeline
Claude Code and agent skill by given-dream/sciencedirect-live-session-fetcher
- community
Checking that the SKILL.md file is still in the repository.
Orchestrate lawful literature collection through live Microsoft Edge sessions across ScienceDirect, CNKI, and Web of Science, then create an EndNote X9 library, import RIS metadata, and group records by section_paths from a manifest CSV. Use when browser login or bot verification blocks direct fetching, when the user wants separate browser sessions per source, or when a paper batch must be downloaded into a folder and mirrored into a grouped EndNote library.
Install
npx vskill@latest install given-dream/sciencedirect-live-session-fetcher/literature-live-session-pipelineSKILL.md
Literature Live Session Pipeline
Use this skill when the browser session is the source of truth and the batch needs both files and reference-management structure.
Quick Start
- Prepare the manifest CSV.
Read references/input-schema.md. The core columns are number, title, doi, source_hint, entry_url, candidate_urls, and section_paths. If the source document is a Word file with EndNote EN.CITE fields, use scripts/extract_manifest_from_endnote_docx.py first.
- Launch a source-specific Edge session.
Use scripts/launch_edge_live_session.ps1. Keep separate ports for sciencedirect, cnki, and wos.
- Let the user finish the manual browser step.
They must sign in lawfully, pass verification pages, open one representative record, and keep the window open.
- Probe the current page before the full batch.
Use scripts/probe_live_session.py. If the probe still reports a challenge page, stop and let the user finish the browser step manually.
- Create the local EndNote library input.
Use scripts/build_ris_from_manifest.py to generate RIS. Use scripts/create_endnote_library.py if a fresh library is needed.
- Import the RIS and group records in EndNote.
Use scripts/endnote_pipeline.py. It can create the library, import RIS, and assign records to flat groups named from section_paths.
- Fetch the PDFs.
Route CNKI rows to scripts/run_cnki_pdf_live_fetch.ps1. This route opens the exact-title detail page and clicks only the visible PDF下载 control; it never selects CAJ. Route other publishers to scripts/run_devtools_multi_source_fetch.ps1, which wraps scripts/devtools_multi_source_serial_fetch.py.
Commands
Launch a ScienceDirect browser session:
Launch a CNKI browser session:
Probe a live session:
Build RIS from the manifest:
Extract a manifest from an EndNote-embedded DOCX:
Create or update the EndNote library:
Run the download batch:
Run a CNKI PDF-only batch after the user has completed login or any visible verification:
Operational Notes
- Treat
Web of Scienceas a record router, not a guaranteed PDF host. Expect it to resolve DOI or publisher links first. - For CNKI, use the dedicated PDF-only route: search result -> exact-title detail page -> exact visible text
PDF下载. Do not use element IDs because CNKI can assign the sameid="cajDown"to both CAJ and PDF anchors. - CNKI keeps dormant CAPTCHA markup on normal pages. A prompt found only in raw HTML or body text is not proof of a real slider; require a verification URL/title or a rendered prompt that intersects the viewport.
- CNKI may write
_blankdownloads to the WindowsDownloadsfolder even after a batch download directory is configured. The CNKI route watches both locations and copies, rather than removes, a valid system-download source. - Treat a PDF permissions-encryption flag as metadata, not automatic failure. Accept it when the file opens without a password, has at least two readable pages, and matches the expected title.
- Keep separate Edge user-data directories by source. This is the default behavior of the launch script and is the recommended browser split.
- Use
section_pathsto name EndNote groups. Separate multiple groups with|. - Prefer retrying only failed rows by trimming the manifest rather than re-running the entire batch immediately.
Guardrails
- Stay inside the user's authorized browser session. Do not try to bypass paywalls, verification pages, or access controls.
- Stop if the page remains on a challenge, CAPTCHA, or institutional login screen.
- Do not execute or simulate a slider solution. The workflow only distinguishes a genuinely visible challenge from dormant hidden markup, then pauses for the user.
- Accept CNKI output only when its first bytes are
%PDF-; reject CAJ and other payloads even if the filename ends in.pdf. - Expect some
WOSandCNKIrows to require manual correction ofentry_urlorcandidate_urls. - EndNote automation assumes
EndNote X9on Windows and a visible desktop session.
References
- Read references/workflow.zh-CN.md for the recommended Chinese workflow.
- Read references/workflow.md for the shorter English workflow.
- Read references/input-schema.md for the manifest schema.
- Read references/troubleshooting.md when the browser route or EndNote import fails.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingliterature-live-session-pipeline/SKILL.md
Popularity
- Repository stars
- 172
- Repository forks
- 11
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/given-dream/sciencedirect-live-session-fetcher/literature-live-session-pipeline)