wos-search

在 Web of Science 中按主题、作者、标题、DOI 或高级查询进行检索,支持数据库/版本筛选和排序。

仓库最近推送
GitHub Stars
139
Forks
18
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "wos-search":https://skillpi.com/zh/skills/deepskill-7088bd4b8775fa0a86430d78a7072b2c85f36be6233ab978b34fe9238548c9d2。安装前核对上游来源和版本:https://github.com/cookjohn/wos-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在 Web of Science 中按主题、作者、标题、DOI 或高级查询进行检索,支持数据库/版本筛选和排序。

0 下载

介绍来源: third_party · cookjohn · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
翻译待完成,请参阅来源文档。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: wos-search
description: Search Web of Science by topic, author, title, DOI, or advanced query. Supports edition/database filtering and sort.
argument-hint: "[search keywords] [--edition SCI/SSCI/...] [--sort citations/date/relevance] [--db woscc|alldb|...]"
user-invocable: true
disable-model-invocation: false

WoS Search

Search Web of Science via internal API. Supports edition filtering, sorting, and multiple databases — all in a single evaluate_script call.

Important: Browser Prerequisite

The browser must be on any webofscience.com page (logged in). The skill calls the WoS internal API directly via fetch, so no page navigation is needed.

Language Guidance

WoS databases (especially SCI/SSCI) primarily index English-language literature. If the user provides Chinese keywords, translate to English (e.g., "价值共创" → "value co-creation"). Inform the user about the translation.

Parameter Reference

Database (product)

User says product Description
"core collection" / default WOSCC WoS Core Collection
"all databases" ALLDB All databases combined
"medline" MEDLINE Biomedical literature
"preprint" PPRN Preprint Citation Index
"scielo" SCIELO SciELO Citation Index

Edition filtering (Core Collection only)

User says editions value
"SCI" / "science" WOS.SCI
"SSCI" / "social science" WOS.SSCI
"CPCI" / "conference" WOS.CPCI-S, WOS.CPCI-SSH
"all" / default omit editions field (or include all)

Multiple editions can be combined: ["WOS.SCI", "WOS.SSCI"]

Sort options

User says sort value
"citations" / "most cited" times-cited-descending
"newest" / "latest" date-descending
"oldest" date-ascending
"relevance" / default relevance
"usage" usage-count-last-180-days-descending

Field mapping (for query rows)

User says rowField
topic / keyword / about TS
title TI
author AU
DOI DO
journal / source SO
year PY
affiliation / institution OG
abstract AB
funding FO
country CU

Steps

Step 1: Build API Request Body

{
  "product": "WOSCC",
  "searchMode": "general",
  "viewType": "search",
  "serviceMode": "summary",
  "search": {
    "mode": "general",
    "database": "WOSCC",
    "query": [
      {"rowField": "TS", "rowText": "USER_QUERY"}
    ],
    "editions": ["WOS.SSCI"]
  },
  "retrieve": {
    "count": 10,
    "history": true,
    "jcr": true,
    "sort": "times-cited-descending",
    "analyzes": [],
    "locale": "en"
  },
  "eventMode": null
}
  • query: array of {rowField, rowText} objects. For multiple conditions, add rowBoolean (AND/OR/NOT) to subsequent rows.
  • editions: optional, omit for all editions.
  • count: number of records to retrieve (default 10, max 50).
  • sort: default relevance.

Step 2: Execute API Call via evaluate_script

This is the only tool call needed — 1 call total.

If the browser was previously on a non-WoS page (e.g., after following a publisher link), SID will be lost. In that case, first navigate back to any WoS page (navigate_page to https://www.webofscience.com/wos/woscc/basic-search) to re-establish the session, then run the API call. This adds 1 extra tool call (2 total).

Alternatively, use the URL-based fallback (Step 2B below) which always works regardless of SID state.

async () => {
  // Extract SID from network history
  const sid = performance.getEntriesByType('resource')
    .filter(r => r.name.includes('SID='))
    .map(r => r.name.match(/SID=([^&]+)/)?.[1])
    .filter(Boolean)[0] || '';

  if (!sid) return { status: 'no_session', message: 'SID lost (likely navigated to external site). Use Step 2B or navigate to any WoS page first.' };

  const response = await fetch(`/api/wosnx/core/runQuerySearch?SID=${sid}`, {
    method: 'POST',
    headers: { 'Content-Type': 'text/plain;charset=UTF-8', 'Accept': 'application/x-ndjson' },
    body: JSON.stringify({
      "product": "{PRODUCT}",
      "searchMode": "general",
      "viewType": "search",
      "serviceMode": "summary",
      "search": {
        "mode": "general",
        "database": "{PRODUCT}",
        "query": [{QUERY_ROWS}],
        "editions": [{EDITIONS}]
      },
      "retrieve": {
        "count": {COUNT},
        "history": true,
        "jcr": true,
        "sort": "{SORT}",
        "analyzes": [],
        "locale": "en"
      },
      "eventMode": null
    })
  });

  const text = await response.text();
  const lines = text.trim().split('\n').map(line => {
    try { return JSON.parse(line); } catch(e) { return null; }
  }).filter(Boolean);

  const searchInfo = lines.find(l => l.key === 'searchInfo')?.payload;
  const recordsData = lines.find(l => l.key === 'records')?.payload;

  let records = [];
  if (recordsData) {
    records = Object.entries(recordsData).map(([idx, rec]) => ({
      idx: parseInt(idx),
      wosId: rec.colluid,
      title: rec.titles?.item?.en?.[0]?.title || '',
      authors: rec.names?.author?.en?.filter(Boolean).map(a => a.wos_standard).join('; ') || '',
      source: rec.titles?.source?.en?.[0]?.title || '',
      year: rec.pub_info?.pubyear || '',
      vol: rec.pub_info?.vol || '',
      issue: rec.pub_info?.issue || '',
      pages: rec.pub_info?.page_no || '',
      doi: rec.doi || '',
      citations: rec.citation_related?.counts?.WOSCC || 0,
      citationsAll: rec.citation_related?.counts?.ALLDB || 0,
      refCount: rec.ref_count || 0,
      abstract: rec.abstract?.basic?.en?.abstract?.replace(/<[^>]*>/g, '')?.substring(0, 300) || '',
      docType: rec.doctypes?.[0] || '',
      oa: rec.oa || false
    }));
  }

  return {
    status: 'ok',
    totalResults: searchInfo?.RecordsFound || 0,
    recordsSearched: searchInfo?.RecordsSearched || 0,
    queryId: searchInfo?.QueryID || '',
    records
  };
}

Step 3: Present Results

Display as a table:

Found **{totalResults}** results in {database} ({edition}).
Sorted by: {sort}.

| # | Title | Authors | Source | Year | Cited | WoS ID |
|---|-------|---------|--------|------|-------|--------|
| 1 | {title} | {authors} | {source} | {year} | {citations} | {wosId} |
| ... |

Offer next actions:

  • "Use /wos-paper-detail {WoS ID} for detailed information"
  • "Use /wos-export to export results"
  • To see more results, re-run with higher count or use /wos-navigate-pages

Step 2B: URL-based Fallback (when SID is lost)

If API returns no_session (e.g., after navigating to an external publisher site), fall back to URL navigation:

navigate_page({
  url: "https://www.webofscience.com/wos/{db}/general-summary?queryJson={ENCODED_QUERY_JSON}",
  initScript: "Object.defineProperty(navigator, 'webdriver', {get: () => undefined})"
})

Then extract results via evaluate_script with DOM selectors (see wos-parse-results Mode B), or re-attempt the API call (SID will be re-established after the navigation).

When to use: After the browser visited an external site (publisher, DOI link, etc.) and performance.getEntriesByType('resource') no longer contains WoS SID entries.

Notes

  • 1 tool call (API) or 2 tool calls (navigate + API/DOM) if SID is lost
  • API returns NDJSON (newline-delimited JSON); parse line by line
  • SID is extracted from browser's performance resource entries
  • SID loss: Navigating to external sites clears performance entries. Recover by navigating to any WoS page first, or use URL-based fallback (Step 2B)
  • editions field uses format WOS.SCI, WOS.SSCI, WOS.CPCI-S, etc.
  • For Chinese keywords in SCI/SSCI, translate to English first
  • Max 50 records per request; use retrieve.count to control
  • history: true saves the search to WoS session history

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • Provides specialized academic research functionality for Web of Science database queries
  • Supports multiple search criteria (topic, author, title, DOI) with advanced filtering options
  • Includes intelligent language translation guidance for non-English keywords
触发精准90/100

亮点

  • Comprehensive trigger description covering all supported search methods
  • Clear argument hint with parameter syntax guidance
  • Well-defined parameter mappings for different search options
结构规范95/100

亮点

  • Excellent structure with clear step-by-step execution phases
  • Comprehensive parameter reference tables with detailed mappings
  • Includes both primary API approach and fallback URL-based method
  • Proper frontmatter with all required fields
执行可靠90/100

亮点

  • Robust session management with SID extraction and recovery mechanisms
  • Comprehensive error handling for session loss scenarios
  • Fallback URL-based approach ensures functionality even when API fails
  • Proper NDJSON response parsing with detailed record extraction logic
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • www.webofscience.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

翻译待完成,请参阅来源文档。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。