wos-navigate-pages
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "wos-navigate-pages" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-20c482d61d172dc1decc4a9a539fb628344d5b8bf5bd43588998c096557a3028. Verify the upstream source and version against https://github.com/cookjohn/wos-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Navigate to a specific page of Web of Science search results, or load more results from the previous search.
Introduction source: third_party · cookjohn · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Navigate to a specific page of WoS search results, or load more results from the last search.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: wos-navigate-pages
description: Navigate to a specific page of WoS search results, or load more results from the last search.
argument-hint: "[page number or 'next'/'prev']"
user-invocable: true
disable-model-invocation: falseWoS Navigate Pages
Load a specific page of results from the current WoS search.
Two Approaches
Approach A: URL-based (when browser is on a results page)
The results URL follows the pattern:
/wos/woscc/summary/{session-uuid}/{sort}/{page-number}
Modify the page number in the URL and navigate. Then extract via evaluate_script with DOM selectors. Uses 2 tool calls.
Approach B: API-based (preferred, 1 tool call)
Re-run the search API with retrieve.first offset:
async () => {
const sid = performance.getEntriesByType('resource')
.filter(r => r.name.includes('SID='))
.map(r => r.name.match(/SID=([^&]+)/)?.[1])
.filter(Boolean)[0] || '';
const page = {TARGET_PAGE}; // 1-based
const perPage = 50;
const first = (page - 1) * perPage + 1;
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": "WOSCC",
"searchMode": "general",
"viewType": "search",
"serviceMode": "summary",
"search": {
"mode": "general",
"database": "WOSCC",
"query": [{SAME_QUERY_AS_ORIGINAL_SEARCH}],
"editions": [{SAME_EDITIONS}]
},
"retrieve": {
"first": first,
"count": perPage,
"history": false,
"jcr": true,
"sort": "{SAME_SORT}",
"analyzes": [],
"locale": "en"
},
"eventMode": null
})
});
const text = await 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;
let records = [];
if (recordsData) {
records = Object.entries(recordsData).map(([idx, rec]) => ({
idx: first + parseInt(idx) - 1,
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 || '',
doi: rec.doi || '',
citations: rec.citation_related?.counts?.WOSCC || 0
}));
}
return { status: 'ok', page, totalResults: searchInfo?.RecordsFound || 0, records };
}
Notes
- API approach uses 1 tool call only
- Requires remembering the original search query/editions/sort from the prior
wos-searchcall retrieve.firstis 1-based record offset (1 = first record, 51 = page 2, etc.)- 50 records per page, max 100,000 records accessible
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
The source report is incomplete. Only provided dimension scores are shown; missing scores are not inferred.
Highlights
- 解决学术研究人员在 Web of Science 平台高频分页导航需求
- 提供 URL-based 和 API-based 双方案,兼顾不同使用场景
Areas to improve
-
触发词边界说明不足 Reported severity: Minor
argument-hint 未说明超出最大页数等边界情况的处理方式
Recommendation: 补充边界条件说明,如'max 2000 pages'或'invalid page will fallback to last valid page'
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.