
wos-navigate-pages
Navigate to a specific page of WoS search results, or load more results from the last search.
- Installs
- 51
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/cookjohn/wos-skills --skill wos-navigate-pages- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads wos-navigate-pages automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
WoS 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
FAQ
What does the wos-navigate-pages skill do?
Navigate to a specific page of WoS search results, or load more results from the last search.
How do I install wos-navigate-pages?
Run npx skills add https://github.com/cookjohn/wos-skills --skill wos-navigate-pages in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/wos-navigate-pages/ (personal) or .claude/skills/wos-navigate-pages/ (project).
Which AI agents can use wos-navigate-pages?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is wos-navigate-pages safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains wos-navigate-pages?
It is published by cookjohn in cookjohn/wos-skills. It has 51 recorded installs.
More from cookjohn/wos-skills
wos-download
cookjohn/wos-skills
Download PDF full text for a WoS paper via publisher links.
wos-paper-detail
cookjohn/wos-skills
Get detailed information for a paper by WoS ID (e.g., WOS:000779183600001).
wos-export
cookjohn/wos-skills
Export WoS records to Zotero, RIS, BibTeX, or Excel.
wos-parse-results
cookjohn/wos-skills
Parse search results from the current WoS results page or API response. Internal skill used by other skills.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.