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.
npx skills add fellipeutaka/leon --skill nuqsgit clone --depth 1 https://github.com/fellipeutaka/leonWrote 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.
[](https://agentmods.dev/skills/fellipeutaka/leon/nuqs)<a href="https://agentmods.dev/skills/fellipeutaka/leon/nuqs"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/nuqs/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.
<a href="https://agentmods.dev/skills/fellipeutaka/leon/nuqs"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/nuqs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.02063 |
| Opus 5.5 | $0.00032 | $0.00825 |
| Sonnet 5.5 | $0.00016 | $0.00413 |
| Haiku 4.5 | $0.00008 | $0.00206 |
Grade A, and why
nuqs 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Build and review query state with nuqs
Treat the URL as the state contract. Follow the steps in order, and load only the reference branches whose conditions match the application.
1. Model the URL contract
For every query key, record:
- its URL spelling and domain type;
- the value to use when the key is absent or invalid;
- whether setting the default should remove the key;
- whether an update represents navigation or ephemeral UI state;
- which client components, loaders, routes, or server components read it.
Inspect the installed nuqs, framework, and router major versions before
choosing integration paths.
Read the matching branch references:
- Adapter branch: select and mount the matching adapter when installing nuqs, changing routers, or reviewing the provider boundary.
- URL-key branch: define shorter external key names when domain property names should differ from URL keys.
- Provider-policy branch: configure adapter defaults and URL middleware when update policy or URL processing belongs at the application boundary.
Complete when every query key has one documented URL representation and the adapter import and provider boundary match the installed router.
2. Define one parser contract
Put related parsers in a dependency-neutral module. Import parsers from
nuqs/server when any server-side consumer imports that module; client hooks
can reuse the exported parser object.
Prefer built-ins that match the wire format. Use .withDefault(value) only
when absent and invalid values should resolve to a non-null domain default.
Defaults stay internal unless explicitly written; setting state to null
removes the query key.
import {
parseAsInteger,
parseAsString,
parseAsStringLiteral,
} from "nuqs/server";
export const searchParams = {
q: parseAsString.withDefault(""),
page: parseAsInteger.withDefault(1),
sort: parseAsStringLiteral(["relevance", "date"] as const).withDefault(
"relevance",
),
};
What ships with it
43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 198 B
- references/advanced-adapter-props.md 1.9 KB
- references/advanced-eq-function.md 1.5 KB
- references/advanced-optimistic-search-params.md 1.2 KB
- references/advanced-standard-schema.md 2.7 KB
- references/advanced-url-keys.md 1.5 KB
- references/debug-common-errors.md 1.8 KB
- references/debug-enable-logging.md 911 B
- references/debug-testing.md 3.1 KB
- references/history-back-sync.md 1.3 KB
- references/history-push-navigation.md 1.3 KB
- references/history-replace-ephemeral.md 1.3 KB
- references/history-scroll-behavior.md 1.3 KB
- references/parser-array-format.md 1.7 KB
- references/parser-custom.md 2.1 KB
- references/parser-date-format.md 1.8 KB
- references/parser-enum-literals.md 2.0 KB
- references/parser-hex-colors.md 691 B
- references/parser-index-offset.md 1.6 KB
- references/parser-json-validation.md 1.8 KB
- references/parser-typed.md 2.0 KB
- references/parser-with-default.md 1.6 KB
- references/perf-avoid-rerender.md 1.3 KB
- references/perf-clear-on-default.md 1.4 KB
- references/perf-limit-url-updates.md 2.6 KB
- references/perf-serialize-utility.md 1.8 KB
- references/server-create-loader.md 3.0 KB
- references/server-next15-async.md 1.8 KB
- references/server-search-params-cache.md 2.6 KB
- references/server-shallow-false.md 1.4 KB
- references/server-share-parsers.md 1.6 KB
- references/server-use-transition.md 1.6 KB
- references/setup-adapter.md 3.0 KB
- references/setup-client-hooks.md 1.7 KB
- references/setup-server-imports.md 1.6 KB
- references/setup-shared-parsers.md 1.9 KB
- references/state-avoid-derived.md 1.8 KB
- references/state-clear-with-null.md 1.2 KB
- references/state-controlled-inputs.md 1.3 KB
- references/state-functional-updates.md 1.4 KB
- references/state-options-inheritance.md 1.5 KB
- references/state-setter-return.md 1.1 KB
- references/state-use-query-states.md 2.0 KB
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.
- 2mo ago First seen · 199 lines · 79 tokens per session scan A f179eea04de0
nuqs is a skill published in the GitHub repository fellipeutaka/leon (5 stars, last pushed yesterday), licensed MIT. It adds 79 tokens to every session and 2,063 once invoked, about $0.0003 per session on Opus 5.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.
nuqs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nuqsfellipeutaka/leon | Skill | 5 | yesterday | MIT | A | 79 | Claude Code, Codex |
| build-ghost-appTryGhost/Ghost | Skill | 56k | yesterday | MIT | A | 44 | Claude Code, Codex |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | yesterday | MIT | A | 214 | Claude Code, Codex |
| material-ui-tailwindmui/material-ui | Skill | 99k | yesterday | MIT | A | 67 | Claude Code, Codex |
| fuzzy-rankingTanStack/table | Skill | 29k | 4d ago | MIT | A | 62 | Claude Code, Codex |
| r3f-best-practiceszebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 74 | Claude Code, Codex |
| git-safetytamagui/tamagui | Skill | 14k | today | MIT | A | 0 | Claude Code |