# cnki-navigate-pages

Pages through CNKI search results and switches the sort order to date, citations or downloads. Handy once you have read past the first page of hits.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 330 installs · ★ 1017
- Author: cookjohn
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cookjohn/cnki-skills/tree/HEAD/skills/cnki-navigate-pages/SKILL.md
- Updated: 2026-03-13
- HTML: https://affpapa.org/en/nevibecode/skills/cnki-navigate-pages

## What it does

The skill takes a single argument and performs one action per call. For paging that is `next`, `previous` or `page N`; for sorting it is `sort by date`, `sort by citations`, `sort by downloads`, `sort by relevance` or `sort by comprehensive`. Everything runs through one async `evaluate_script` — no page snapshot, no wait step.

The script collects the links in `.pages a`, clicks the one you asked for and polls `.countPageMark` until the counter changes. Sorting works differently: it clicks an entry in `#orderList` by a fixed id — `li#FFD` for relevance, `li#PT` for date, `li#CF` for citations, `li#DFR` for downloads, `li#ZH` for comprehensive. The result list then resets to page one.

Before each action it checks for a captcha via the `#tcaptcha_transform_dy` element. If that element is visible, the call returns a `captcha` error and nothing gets clicked, so a triggered challenge stops the paging until you clear it yourself. A missing page number or sort option comes back as an error listing what was actually available.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add cookjohn/cnki-skills --skill cnki-navigate-pages -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cnki-navigate-pages/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cnki-navigate-pages/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add cookjohn/cnki-skills --skill cnki-navigate-pages -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cnki-navigate-pages/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add cookjohn/cnki-skills --skill cnki-navigate-pages -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cnki-navigate-pages/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install cookjohn/cnki-skills cnki-navigate-pages
```

2. **Manually: put the files in place**
- File: `.github/skills/cnki-navigate-pages/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add cookjohn/cnki-skills --skill cnki-navigate-pages -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/cookjohn/cnki-skills --path skills/cnki-navigate-pages
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cnki-navigate-pages/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add cookjohn/cnki-skills --skill cnki-navigate-pages -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/cookjohn/cnki-skills/tree/HEAD/skills/cnki-navigate-pages/SKILL.md

## When to use it
- move past the first page of CNKI results
- go back to the previous page of hits
- jump straight to a specific result page
- re-sort results by publication date
- rank papers by citation or download count

## Example prompts
- go to the next page of CNKI results
- open page 3 of the results
- sort the results by citations

## Similar
- [read-deleted-pages](https://affpapa.org/en/nevibecode/skills/read-deleted-pages.md) — skill · 2000 installs
- [firecrawl-deep-research](https://affpapa.org/en/nevibecode/skills/firecrawl-deep-research.md) — skill · 35400 installs
- [firecrawl-research-papers](https://affpapa.org/en/nevibecode/skills/firecrawl-research-papers.md) — skill · 33800 installs
- [tavily-search](https://affpapa.org/en/nevibecode/skills/framix-team-tavily-search.md) — skill · 840 installs
- [firecrawl-research](https://affpapa.org/en/nevibecode/skills/firecrawl-research.md) — skill · 379 installs
- [browser](https://affpapa.org/en/nevibecode/skills/browser.md) — skill · 5900 installs

From the same set: [cookjohn/cnki-skills](https://affpapa.org/en/nevibecode/by/cookjohn/cnki-skills.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
