
Sd Navigate Pages
- 19 installs
- 45 repo stars
- Updated June 23, 2026
- yuanyuanma03/academic-research-skills
Navigate ScienceDirect search result pages, change sort order, or adjust results-per-page via URL offset, show, and sortBy parameters.
About
Reads the current ScienceDirect results URL and rebuilds it to paginate, resort, or change page size. A researcher uses it to move through and reorder search results.
- Computes offset from page number and results-per-page
- Supports date sorting and 25/50/100 page sizes
Sd Navigate Pages by the numbers
- 19 all-time installs (skills.sh)
- Ranked #1,308 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
- Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yuanyuanma03/academic-research-skills --skill sd-navigate-pagesAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 19 |
|---|---|
| repo stars | ★ 45 |
| Last updated | June 23, 2026 |
| Repository | yuanyuanma03/academic-research-skills ↗ |
What it does
Navigate ScienceDirect search result pages, change sort order, or adjust results-per-page via URL offset, show, and sortBy parameters.
Files
ScienceDirect Pagination & Sorting
Navigate between result pages, change sorting, or adjust results per page.
How pagination works
ScienceDirect uses URL parameters for pagination:
offset— starting result index (0-based). Default is 0 (page 1).show— results per page. Options:25,50,100.sortBy— sort order.datefor newest first; omit for relevance.
Page calculation: page N → offset = (N - 1) * show
Steps
Step 1: Determine current state
Use evaluate_script to read the current URL and pagination info:
() => {
const url = new URL(window.location.href);
const params = Object.fromEntries(url.searchParams);
const pageInfo = document.querySelector('.Pagination li:first-child')?.textContent?.trim() || '';
const totalText = document.querySelector('.search-body-results-text')?.textContent?.trim() || '';
return { params, pageInfo, totalText, currentUrl: window.location.href };
}Step 2: Build target URL
Based on $ARGUMENTS, modify the URL parameters:
| User intent | Action |
|---|---|
| "next" / "下一页" | offset += show |
| "prev" / "上一页" | offset -= show (min 0) |
| "page 3" / "第3页" | offset = (3-1) * show |
| "sort by date" / "按日期排序" | add sortBy=date |
| "sort by relevance" / "按相关性排序" | remove sortBy |
| "show 100" / "每页100条" | set show=100, reset offset=0 |
Step 3: Navigate and extract
Use navigate_page to the new URL. Always include `initScript` to prevent bot detection:
initScript: "Object.defineProperty(navigator, 'webdriver', {get: () => undefined})"Then extract results using evaluate_script with built-in waiting (same as sd-search). Do NOT use wait_for — it returns oversized snapshots.
Notes
- Always preserve existing query parameters (
qs,tak,authors, etc.) when modifying pagination/sort. - When changing
show, resetoffsetto 0 to avoid out-of-range pages. - Maximum 2-3 tool calls per operation.