---
title: "URL Search Param State Management - Air Market"
description: "When a page keeps some of its state in the URL, it is easy to end up with links that do not reload right or a back button that jumps somewhere unexpected. This covers that work: adding or changing th…"
canonical: "https://airmarket.ai/app/search-params"
---

[Air Market](/) / [Developer Tools](/category/devtools) / URL Search Param State Management

Skill by [promptfoo](/@promptfoo)

# URL Search Param State Management

URLs that survive a refresh and a back button press

## What this does

When a page keeps some of its state in the URL, it is easy to end up with links that do not reload right or a back button that jumps somewhere unexpected. This covers that work: adding or changing the bits after the ? and the #, and sorting out browser history behaviour when it goes wrong.

### Top 3 things it does for you

- Add state to the URL query string
- Fix the back and forward buttons behaving wrongly
- Change how a page reads and writes its search params

## Information

**URL Search Param State Management at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [promptfoo](/@promptfoo) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 4 KB |
| Licence | MIT |
| Repository | [promptfoo/promptfoo](https://github.com/promptfoo/promptfoo/tree/2b5db898c7a51a354e1f0198cc952218b197c5af/.agents/skills/search-params) |
| GitHub stars | 24,523 (as of Nov 2026) |
| Installs | 75, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of URL Search Param State Management and flagged nothing. AIR's verdict: **safe**.

**What URL Search Param State Management's check was run against**

|  |  |
| --- | --- |
| Commit | 2b5db898c7a51a354e1f0198cc952218b197c5af |
| Content hash | 0124096a39c9c796b973aa8fcfee81f79cdeaa976ace961de0f8306aceaa2b61 |
| Files read | [Browse the files at this exact commit](https://github.com/promptfoo/promptfoo/blob/2b5db898c7a51a354e1f0198cc952218b197c5af/.agents/skills/search-params/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for URL Search Param State Management](/security/search-params)

## About URL Search Param State Management

This covers URL search param and hash state management.

Use it when adding or modifying URL search params, when working with useSearchParams, setSearchParams, useSearchParamState, or navigate() with query strings or hash fragments, or when fixing browser back/forward button issues.

## What's inside

- SKILL.md - instructions

## Questions

### Is URL Search Param State Management safe to install?

AIR scanned this exact version of URL Search Param State Management and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 2b5db898c7a5, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/search-params.

### How do I install URL Search Param State Management?

Open https://airmarket.ai/app/search-params on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/promptfoo/promptfoo/tree/2b5db898c7a51a354e1f0198cc952218b197c5af/.agents/skills/search-params. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by promptfoo](/@promptfoo)

---

Canonical URL: <https://airmarket.ai/app/search-params>
