# Pagination Next Page

> Navigates to the next page in a paginated listing by clicking a "next" link/button or pressing the typical keyboard shortcut. Pairs with extract-table-pagination for multi-page data collection.

- **Type:** Skill
- **Install:** `agentstack add skill-bettyguo-browser-skills-pagination-next-page`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [bettyguo](https://agentstack.voostack.com/s/bettyguo)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [bettyguo](https://github.com/bettyguo)
- **Source:** https://github.com/bettyguo/browser-skills/tree/main/skills/pagination-next-page

## Install

```sh
agentstack add skill-bettyguo-browser-skills-pagination-next-page
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Pagination Next Page

## When to invoke

A listing page exposes pagination (page numbers, prev/next arrows, or
a "load more" button). The agent has just extracted page N and wants to
advance to N+1.

## Recipe

1. wait_for_dom_ready timeout=2s
2. try_each selectors=[
     "a[rel='next']",
     "[aria-label='Next page']",
     "[aria-label='Next']",
     "a.pagination-next",
     "button.pagination-next",
     "a:has-text('Next ›')",
     "a:has-text('Next')",
     "button:has-text('Load more')",
     "li.next > a",
     ".pagination a[aria-label*='next' i]",
   ] action=click on_success=stop timeout=1500ms
3. wait extra=500ms

## Success criteria

- assert url_changed_since=step1 OR new_rows_appended

## When NOT to use

- Infinite-scroll pages — use `handle-infinite-scroll`.
- Pages where the "next" link is actually a JS handler that
  re-renders the same URL with new content. The success criterion's
  `new_rows_appended` check handles this when paired with extraction.

## Known failures

- **Sites that hide the "next" link when on the last page:** recipe
  fails benignly; agent interprets as "end reached."
- **`rel='next'` link points to a different domain (rare):** recipe
  follows; agent must validate the new URL.
- **Cursor-based pagination with no visible "next" link:** agent must
  inspect API responses; skill cannot help.

## Related skills

- `extract-table-pagination` / `extract-list-pagination` — chain in a
  loop
- `verify-page-loaded` — after the next page navigates

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [bettyguo](https://github.com/bettyguo)
- **Source:** [bettyguo/browser-skills](https://github.com/bettyguo/browser-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-bettyguo-browser-skills-pagination-next-page
- Seller: https://agentstack.voostack.com/s/bettyguo
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
