wos-parse-results
Installation
SKILL.md
WoS Parse Results
Internal skill for extracting structured data from WoS. Two modes: API response parsing (preferred) or DOM scraping (fallback).
Mode A: API Response Parsing (preferred)
When using the runQuerySearch API, the response is NDJSON. Parse records from the records payload:
// Parse NDJSON response text
const lines = text.trim().split('\n').map(l => { try { return JSON.parse(l); } catch(e) { return null; } }).filter(Boolean);
const searchInfo = lines.find(l => l.key === 'searchInfo')?.payload;
const recordsData = lines.find(l => l.key === 'records')?.payload;
Related skills
More from cookjohn/wos-skills
wos-search
Search Web of Science by topic, author, title, DOI, or advanced query. Supports edition/database filtering and sort.
76wos-download
Download PDF full text for a WoS paper via publisher links.
52wos-paper-detail
Get detailed information for a paper by WoS ID (e.g., WOS:000779183600001).
30wos-export
Export WoS records to Zotero, RIS, BibTeX, or Excel.
25wos-navigate-pages
Navigate to a specific page of WoS search results, or load more results from the last search.
25