Agent skill

Nuqs

by trycompai in trycompai/crm

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks.

MITAuto-check passedDevelopment

Install Nuqs

skills CLI
$ npx skills add trycompai/crm --skill nuqs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install trycompai/crm nuqs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/trycompai/crm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/nuqs .claude/skills/nuqs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nuqs
GitHub stars
11k
Used in
1 other repo
Token cost
~1.7k tokens
SKILL.md length
490 words
Files
44 (incl. references, assets)
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks.

  • Works in 8 steps: Parser Configuration (CRITICAL) → Adapter & Setup (CRITICAL) → State Management (HIGH) → …
  • Tasks involving useQueryState
  • SKILL.md covers When to Apply, Rule Categories by Priority, Quick Reference and How to Use, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Nuqs is an agent skill from trycompai/crm. nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 46 other files, including reference files and assets (for example `AGENTS.md`, `README.md` and `assets/templates/_template.md`).

It sits in Development, covering State management, Type safety and Refactoring. It works with Next.js and React. The repository describes itself as: Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM. The licence is MIT.

When your agent uses it

  • Tasks involving useQueryState
  • Query parameters
  • LimitUrlUpdates
  • Standard Schema

Example prompts

  • “/nuqs”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Parser Configuration (CRITICAL)
  2. Adapter & Setup (CRITICAL)
  3. State Management (HIGH)
  4. Server Integration (HIGH)
  5. Performance Optimization (MEDIUM)
  6. History & Navigation (MEDIUM)
  7. Debugging & Testing (LOW-MEDIUM)
  8. Advanced Patterns (LOW)

What it can do on your machine

Read from SKILL.md and the folder at commit 6d4793d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nuqs loads about 1.7k tokens when it runs, and up to ~25k if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 490 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~25k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from trycompai/crm at commit 6d4793d, republished under its MIT licence (© trycompai). 490 words, ~1,720 tokens.

Download SKILL.mdSave it as .claude/skills/nuqs/SKILL.md (or your agent's skills folder). This skill also uses 43 other files; get the full folder from GitHub.
name
nuqs
description
nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.

Community nuqs Best Practices for Next.js & React

Comprehensive guide for type-safe URL query state management with nuqs across Next.js, React Router, TanStack Router, Remix, and plain React. Covers nuqs v2.5–v2.9 features. Contains 39 rules across 8 categories, prioritized by impact to guide code generation, refactoring, and code review.

When to Apply

Reference these guidelines when:

  • Implementing URL-based state with nuqs
  • Setting up nuqs in a Next.js or React Router project
  • Configuring parsers for URL parameters
  • Integrating URL state with Server Components
  • Optimizing URL update performance (limitUrlUpdates, key isolation)
  • Sharing parser definitions with tRPC / TanStack Router / forms via Standard Schema
  • Debugging nuqs-related issues

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Parser ConfigurationCRITICALparser-
2Adapter & SetupCRITICALsetup-
3State ManagementHIGHstate-
4Server IntegrationHIGHserver-
5Performance OptimizationMEDIUMperf-
6History & NavigationMEDIUMhistory-
7Debugging & TestingLOW-MEDIUMdebug-
8Advanced PatternsLOWadvanced-

Quick Reference

1. Parser Configuration (CRITICAL)
2. Adapter & Setup (CRITICAL)
3. State Management (HIGH)
Show full SKILL.md (205 more words)Show less
4. Server Integration (HIGH)
5. Performance Optimization (MEDIUM)
6. History & Navigation (MEDIUM)
7. Debugging & Testing (LOW-MEDIUM)
8. Advanced Patterns (LOW)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

FileDescription
AGENTS.mdComplete compiled guide with all rules
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

© trycompai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 43 other files (references, assets) in .agents/skills/nuqs of trycompai/crm.

  • SKILL.md
  • AGENTS.md
  • README.md
  • assets/templates/_template.md
  • references/_sections.md
  • references/advanced-custom-parsers.md
  • references/advanced-eq-function.md
  • references/advanced-framework-adapters.md
  • references/advanced-process-url-search-params.md
  • references/advanced-url-keys.md
  • references/debug-enable-logging.md
  • references/debug-testing.md
  • references/history-push-navigation.md
  • references/history-scroll-behavior.md
  • references/parser-array-format.md
  • references/parser-date-format.md
  • references/parser-enum-validation.md
  • references/parser-index-offset.md
  • … and 26 more

Open the folder on GitHubat commit 6d4793d

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in trycompai/crm, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Nuqs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nuqs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nuqs this skilltrycompai/crm11k1 repos~1.7kAutomated safety check: PassMIT
Typescript React ReviewerSuFxGIT/scoutarr114—~1.7kAutomated safety check: PassNone
Olore Tanstack Form Latestolorehq/olore103—~1.1kAutomated safety check: PassMIT
React Best Practicesshapeshift/web2061 repos~2kAutomated safety check: PassMIT
Nextjs App Architecturejakubwarkusz/themes1231 repos~2.5kAutomated safety check: PassMIT
Clean Code Refactorerfike/fastapi-blog101—~402Automated safety check: PassMIT

Similar skills

  • Expert code reviewer for TypeScript + React 19 applications.

    114 GitHub stars~1.7k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Local TanStack Form documentation reference (latest, v1.33.5).

    103 GitHub stars~1.1k tokensUpdated today
    MobileAuto-check passed
  • React Best Practices

    shapeshift/web

    Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering.

    206 GitHub starsUsed in 1 repo~2k tokens
    DevelopmentAuto-check passed
  • Nextjs App Architecture

    jakubwarkusz/themes

    Build or audit Next.js 16 App Router apps using a next-beats-style React Server Components architecture.

    123 GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check passed
  • Clean Code Refactorer

    fike/fastapi-blog

    Skill for identifying code smells and refactoring code using Clean Code, SOLID, and DRY principles.

    101 GitHub stars~402 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • React Refactor Tournament

    ragnar-pwninskjold/tech-snacks

    Review React/Next.js code against the real vercel-react-best-practices skill, backlog the performance findings keyed to actual rule ids + impact tiers, rank the most over-subscribed tiers, then fix…

    136 GitHub stars~1.3k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from trycompai/crm

All 9 skills in this repo
  • Install Anti Slop

    trycompai/crm

    Install and configure the anti-slop Oxlint plugin in a local TypeScript or JavaScript repository.

    11k GitHub starsUsed in 1 repo~881 tokens
    Auto-check passed
  • Nestjs Trpc

    trycompai/crm

    Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod…

    11k GitHub stars~2.8k tokensUpdated 26 days ago
    Auto-check passed
  • Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers.

    11k GitHub stars~3.1k tokensUpdated 26 days ago
    Auto-check passed
  • Better Colors

    trycompai/crm

    OKLCH color space and color usage for web projects. An agent skill from trycompai/crm.

    11k GitHub stars~1.9k tokensUpdated 26 days ago
    Auto-check passed
  • Better Typography

    trycompai/crm

    Web typography from choosing fonts to spacing, wrapping and accessibility.

    11k GitHub stars~3.8k tokensUpdated 26 days ago
    Auto-check passed
  • Better UI

    trycompai/crm

    Design engineering principles for making interfaces feel polished.

    11k GitHub stars~2.4k tokensUpdated 26 days ago
    Auto-check passed

Works with

Categories

Questions about Nuqs

What does Nuqs do?

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. Nuqs is an agent skill from trycompai/crm.js and other React frameworks.

When should I use Nuqs?

Nuqs fits situations like: tasks involving useQueryState; query parameters; limitUrlUpdates; standard Schema.

How do I install Nuqs in Claude Code?

Run `npx skills add trycompai/crm --skill nuqs -a claude-code`. Or copy the skill folder (.agents/skills/nuqs in trycompai/crm) into .claude/skills/nuqs in your project. Claude Code loads it when a task matches its description.

How do I install Nuqs in Codex?

Run `npx skills add trycompai/crm --skill nuqs -a codex`. Or copy the skill folder (.agents/skills/nuqs in trycompai/crm) into .agents/skills/nuqs in your project. Codex loads it when a task matches its description.

Can I use Nuqs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trycompai/crm --skill nuqs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nuqs, .gemini/skills/nuqs, .github/skills/nuqs and .opencode/skills/nuqs in your project.

What does Nuqs need to run?

SKILL.md names no scripts, command-line tools or credentials: Nuqs is instructions for the agent only.

Does Nuqs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nuqs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nuqs use?

Nuqs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nuqs use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 23k tokens, read only when the agent opens those files.

What are the alternatives to Nuqs?

Skills that share tags, products or a category with Nuqs: Typescript React Reviewer (SuFxGIT/scoutarr, 114 stars), Olore Tanstack Form Latest (olorehq/olore, 103 stars), React Best Practices (shapeshift/web, 206 stars) and Nextjs App Architecture (jakubwarkusz/themes, 123 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nuqs?

trycompai (a GitHub organization) maintains it in trycompai/crm, which has 11,109 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 11, 2026.

Source: trycompai/crm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.