canon-pagination

canon-pagination is a skill for Claude Code, Codex from Dragoon0x/canon. It costs 96 tokens per session (2,113 once invoked), scanned A, original, MIT.

A guide for helping users move through long lists of results or records. It compares numbered pages, infinite scrolling, load-more buttons, and virtualized lists, which render only the visible part of very large lists.

In plain words
What is it for?
Use it to design search results, tables, admin lists, feeds, galleries, and very large data lists.
Why use it?
It helps match list navigation to the task, while preserving useful things such as shareable positions, browser history, and a clear sense of progress.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design search results, tables, admin lists, feeds, galleries, and very large data lists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dragoon0x/canon/canon-pagination
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dragoon0x/canon --skill canon-pagination
Clone the repo
git clone --depth 1 https://github.com/Dragoon0x/canon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for canon-pagination

README.md
[![agentmods](https://agentmods.dev/badge/skills/dragoon0x/canon/canon-pagination/github.svg)](https://agentmods.dev/skills/dragoon0x/canon/canon-pagination)
Your own site
<a href="https://agentmods.dev/skills/dragoon0x/canon/canon-pagination"><img src="https://agentmods.dev/badge/skills/dragoon0x/canon/canon-pagination/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for canon-pagination

Your own site · 80×15
<a href="https://agentmods.dev/skills/dragoon0x/canon/canon-pagination"><img src="https://agentmods.dev/badge/skills/dragoon0x/canon/canon-pagination.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,113 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.02113
Opus 5 $0.00048 $0.01056
Sonnet 5 $0.00019 $0.00423
Haiku 4.5 $0.00010 $0.00211

Measured 10d ago against content hash e64f213ebc50, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

canon-pagination scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

source/skills/canon-pagination/SKILL.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CANON · Pagination

Long lists need traversal. Pick the pattern to match the task, not the fashion.

The three patterns

Pattern Use when
Pagination (numbered pages) Users compare, revisit, bookmark, or share specific positions
Infinite scroll Feed-style discovery where "what's next" is primary (social, news)
Load more (button) Discovery with control — user decides when to fetch more
Virtualized list 10,000+ items where semantics matter (tables, ordered lists)

Default: pagination for task-oriented UIs (search results, tables, admin lists). Infinite scroll is a feed pattern, not a universal answer.

Why pagination beats infinite scroll for most apps

  • Position is addressable — users can bookmark page 5, share a URL, return to where they were.
  • The footer is reachable — infinite scroll eats footers.
  • Users know when they're done — "Page 12 of 47" gives a clear scale.
  • Browser back button works — infinite scroll loses scroll position on navigation.
  • Screen readers — paginated pages announce completion.

Infinite scroll wins for: Twitter-style feeds, image galleries, TikTok-style single-item-at-a-time.

Pagination layout

Two patterns, both valid:

Numbered pages

←  1  2  3  …  47  48  49  →
  • Show: first page, last page, current page, two neighbors on each side.
  • Ellipsis between gaps.
  • Prev/Next arrows bracket the numbers.
  • Current page visually distinct (filled, disabled, not a link).

Simple prev/next with position

Showing 21–40 of 934        ←  Previous  |  Next  →
  • Position text is always visible.
  • Prev disabled on page 1. Next disabled on last page.
  • Works when page count is unknown (live data).

Use numbered pagination when the total is known; use simple prev/next when it isn't.

Sizing

Element Value
Button height 36–40px
Button min-width 36–40px (square for numbers)
Gap between buttons 2–4px
Horizontal padding 8–12px

Read the full file on GitHub · 254 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 254 lines · 96 tokens per session scan A e64f213ebc50

Subscribe to this mod's changes

canon-pagination is a skill published in the GitHub repository Dragoon0x/canon (5 stars, last pushed 4mo ago), licensed MIT. It adds 96 tokens to every session and 2,113 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

accessibility

Accessibility (a11y) workflow skill. Use this skill when the user needs Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible". Do NOT use for SEO (use seo)…

diegosouzapw/awesome-omni-skills · 119 tokens

accessibility

Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…

ericrisco/rsc-harness · 86 tokens

accessibility-audit

Use when wCAG compliance audit — semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader testing. Use when working with accessibility audit.

oyi77/1ai-skills · 37 tokens

accessibility-audit

Fast, high-signal accessibility triage for pages, components, or PRs targeting WCAG 2.2 AA compliance.

NickCrew/Claude-Cortex · 31 tokens

vue-gen

Vue 3 Composition API code generation — transforms Mémoire component specs into Vue SFCs with script setup, Tailwind styling, and composable patterns.

memi-design/design-skills · 33 tokens

token-architecture

Design token architecture — multi-tier token systems, semantic naming, theme switching, CSS custom properties, Tailwind mapping, and Figma variable sync.

memi-design/design-skills · 32 tokens