semantic-scholar-library-feed
Work with a user's Semantic Scholar account to read Research Feeds, inspect private Library folders, add papers to folders, and resolve Semantic Scholar paper records from identifiers such as arXiv IDs.
What this skill does
# Semantic Scholar Library & Feed ## Overview Use this skill to work against Semantic Scholar's authenticated Library and Research Feed surfaces without browser-driven login flows. Prefer the bundled CLI for Cookie Store inspection, browser-curl import, SSR probing, feed pagination, folder inspection, folder writes, and Graph `paper/batch` lookups. ## Quick Start 1. Check whether the fixed Cookie Store already exists: ```bash python3 scripts/semantic_scholar_cli.py cookie-summary ``` 2. If the Cookie Store is missing or stale, ask the user to copy an authenticated Semantic Scholar request as curl from browser DevTools, then import it: ```bash python3 scripts/semantic_scholar_cli.py import-curl \ --curl-file /tmp/semantic-scholar-request.sh ``` `import-header` is still available when the user already extracted only the raw Cookie header. 3. Check cookie health: ```bash python3 scripts/semantic_scholar_cli.py cookie-summary ``` 4. Choose the task module below. ## Cookie Store Save Semantic Scholar auth state under: - `~/.auth/semantic-scholar.cookies.json` - `~/.auth/semantic-scholar.cookie-header.txt` Treat `sid` and `s2` as the minimum required cookies for private Library and Feed access. If either is missing, ask the user for a fresh browser-copied curl and re-import it before touching private endpoints. Read [references/auth-and-cookies.md](references/auth-and-cookies.md) when you need the Cookie Store workflow or the curl import format. ## Task Modules ### Research Feed Use this path when the user wants feed export, history crawl, or local coarse filtering. 1. Probe SSR if you need to inspect `var DATA`: ```bash python3 scripts/semantic_scholar_cli.py ssr-dump --list-names ``` 2. Crawl the feed through `/api/1/library/folders/recommendations`: ```bash python3 scripts/semantic_scholar_cli.py feed-crawl \ --output /tmp/research-feed.json ``` 3. Persist output after every window. Do not wait for the entire crawl to finish. Read [references/research-feed.md](references/research-feed.md) when you need the SSR decode order, the real API path, or the pagination stop rules. ### Library Folder Use this path when the user wants folder contents, folder diffs, or bulk add operations. 1. Export a folder: ```bash python3 scripts/semantic_scholar_cli.py folder-entries \ --folder-id 13895811 \ --all-pages \ --output /tmp/folder.json ``` 2. Add a paper to a folder: ```bash python3 scripts/semantic_scholar_cli.py folder-add \ --paper-id 25f612200a3821c71b99819cd671f2e60df5b470 \ --paper-title 'AgentArk: Distilling Multi-Agent Intelligence into a Single LLM Agent' \ --folder-ids 13895811 ``` Read [references/library.md](references/library.md) when you need endpoint behavior, `pageSize` limits, or the verified `entries/bulk` request shape. ### Paper ID Resolution Use Graph `paper/batch` when BibTeX already contains stable identifiers such as arXiv IDs. ```bash python3 scripts/semantic_scholar_cli.py graph-batch \ --ids ARXIV:2602.08234,ARXIV:2602.12670 ``` Prefer this over search-page scraping when possible. ## Operating Rules - Prefer direct HTTP after cookies exist. - Do not use Playwright for login. If the Cookie Store is missing, ask the user to copy an authenticated browser request as curl and import it. - Use Playwright only when rendered-page behavior or network inspection is needed to discover hidden interfaces. - Treat browser clicking as a reconnaissance step, not the main extraction path. - For feed history, stop on `empty days`, missing `nextWindowUTC`, or repeated windows. - For folder sync, resolve `paperId` first, diff against existing folder entries, then call `folder-add`. - If the task depends on a private page and returns `401`, ask for a fresh browser-copied curl and refresh the Cookie Store before debugging the endpoint.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.