Add Eap Method
talkincode/toughradius
Add an EAP authentication method (e.g. An agent skill from talkincode/toughradius.
URL search param and hash state management. An agent skill from promptfoo/promptfoo.
$ npx skills add promptfoo/promptfoo --skill search-params -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install promptfoo/promptfoo search-params --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/promptfoo/promptfoo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/search-params .claude/skills/search-params && rm -rf skills-srcUse ~/.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/
Install the "search-params" agent skill from https://github.com/promptfoo/promptfoo/tree/main/.agents/skills/search-params into .claude/skills/search-params/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "search-params", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/promptfoo/promptfoo/tree/main/.agents/skills/search-paramsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add promptfoo/promptfoo --skill search-params -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install promptfoo/promptfoo search-params --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promptfoo/promptfoo.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/search-params .agents/skills/search-params && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "search-params" agent skill from https://github.com/promptfoo/promptfoo/tree/main/.agents/skills/search-params into .agents/skills/search-params/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "search-params", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add promptfoo/promptfoo --skill search-params -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install promptfoo/promptfoo search-params --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promptfoo/promptfoo.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/search-params .cursor/skills/search-params && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "search-params" agent skill from https://github.com/promptfoo/promptfoo/tree/main/.agents/skills/search-params into .cursor/skills/search-params/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "search-params", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/promptfoo/promptfoo.git --path .agents/skills/search-params--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add promptfoo/promptfoo --skill search-params -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install promptfoo/promptfoo search-params --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promptfoo/promptfoo.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/search-params .gemini/skills/search-params && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "search-params" agent skill from https://github.com/promptfoo/promptfoo/tree/main/.agents/skills/search-params into .gemini/skills/search-params/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "search-params", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install promptfoo/promptfoo search-paramsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add promptfoo/promptfoo --skill search-params -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/promptfoo/promptfoo.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/search-params .github/skills/search-params && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "search-params" agent skill from https://github.com/promptfoo/promptfoo/tree/main/.agents/skills/search-params into .github/skills/search-params/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "search-params", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add promptfoo/promptfoo --skill search-params -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install promptfoo/promptfoo search-params --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/promptfoo/promptfoo.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/search-params .opencode/skills/search-params && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "search-params" agent skill from https://github.com/promptfoo/promptfoo/tree/main/.agents/skills/search-params into .opencode/skills/search-params/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "search-params", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
search-paramsURL search param and hash state management. An agent skill from promptfoo/promptfoo.
Search Params is an agent skill from promptfoo/promptfoo. URL search param and hash state management. Use when adding or modifying URL search params, working with useSearchParams, setSearchParams, useSearchParamState, or navigate() with query strings or hash fragments, or fixing browser back/forward button issues.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering State management. The repository describes itself as: Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative… The licence is MIT.
Read from SKILL.md and the folder at commit 2dbf3ec. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Search Params loads about 1.1k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 261 words of instructions outside code blocks.
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.
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.
The full file from promptfoo/promptfoo at commit 2dbf3ec, republished under its MIT licence (© promptfoo). 261 words, ~1,125 tokens.
.claude/skills/search-params/SKILL.md (or your agent's skills folder).When updating the URL (search params or hash), choose between replace and push based on whether the change represents in-page state or a user-navigable step:
| Change type | Examples | History behavior |
|---|---|---|
| In-page state | Filters, sort, pagination, tab switches, search queries | replace - don't pollute history |
| Navigable step | Wizard progression, multi-step forms | push - back button should return to previous step |
| Unsure? | Ask the developer before choosing |
Why this matters: Pushing in-page state changes clutters the browser history. Users clicking "back" expect to leave the page, not undo a filter toggle. This is the #1 cause of "back button is broken" bugs.
useSearchParamState (preferred)This hook validates with Zod and always uses replace: true internally, so you get correct history behavior for free.
import { useSearchParamState } from '@app/hooks/useSearchParamState';
import { z } from 'zod';
const TabSchema = z.enum(['overview', 'details', 'settings']);
const [activeTab, setActiveTab] = useSearchParamState('tab', TabSchema, 'overview');Key file: src/app/src/hooks/useSearchParamState.ts
setSearchParams with replace: trueWhen updating multiple params at once, use setSearchParams directly but always pass { replace: true } for in-page state:
const [searchParams, setSearchParams] = useSearchParams();
// Updating filters (in-page state -> replace)
setSearchParams(
(params) => {
params.set('status', 'active');
params.set('sort', 'name');
return params;
},
{ replace: true },
);navigate() with replace or pushFor wizard/multi-step flows where back button should traverse steps, use push (the default):
// Wizard step navigation - push so back button works between steps
// See: src/app/src/pages/redteam/setup/page.tsx
const updateHash = (newStep: string) => {
navigate(`#${newStep}`); // push (default) - intentional
};For hash changes that represent in-page state, use replace:
// Tab switch on a detail page - replace to avoid history clutter
navigate(`#${section}`, { replace: true });When the URL needs to be updated to include a new ID after a create/save operation (not a user action), use replace:
// After first save, update URL to include new ID without adding history entry
navigate(`/evals/${newConfigId}`, { replace: true });// WRONG - every filter change adds a history entry
setSearchParams((params) => {
params.set('filter', value);
return params;
});
// WRONG - navigate without replace for state change
navigate(`?tab=${newTab}`);useSearchParams for a single param without validation// WRONG - no validation, easy to forget { replace: true }
const [searchParams, setSearchParams] = useSearchParams();
const tab = searchParams.get('tab');
const setTab = (v: string) => {
setSearchParams((p) => {
p.set('tab', v);
return p;
});
};
// RIGHT - use the hook instead
const [tab, setTab] = useSearchParamState('tab', TabSchema, 'overview');// WRONG - useSearchParamState will throw an invariant error
setTab('');
// RIGHT - use null to clear a param
setTab(null);src/app/src/hooks/useSearchParamState.ts - primary hook (uses replace internally)src/app/src/pages/eval/components/ResultsView.tsx - example of correct { replace: true } usagesrc/app/src/pages/redteam/setup/page.tsx - example of intentional push for wizard steps© promptfoo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/search-params of promptfoo/promptfoo.
Open the folder on GitHubat commit 2dbf3ec
Search Params 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Search Params this skillpromptfoo/promptfoo | 26k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Add Eap Methodtalkincode/toughradius | 691 | — | ~802 | Automated safety check: Pass | MIT | |
| Frontend Large Feature Architecturelangfuse/langfuse | 36k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| Salesforce Component Standardsgithub/awesome-copilot | 40k | 1 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Agentsop State Reduceragentsope/SkillAlchemy | 459 | — | ~4.5k | Automated safety check: Pass | MIT | |
| Svelte Core Best Practicesrilldata/rill | 2.9k | 4 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 |
talkincode/toughradius
Add an EAP authentication method (e.g. An agent skill from talkincode/toughradius.
langfuse/langfuse
Architect large or state-heavy Langfuse frontend features. An agent skill from langfuse/langfuse.
github/awesome-copilot
Quality standards for Salesforce Lightning Web Components (LWC), Aura components, and Visualforce pages.
agentsope/SkillAlchemy
Tool skill for declaring reducers on LangGraph state keys so parallel writes merge instead of crashing.
rilldata/rill
Rules for writing idiomatic Svelte 5 code: when to reach for runes like state, derived and effect, and how to handle props, attachments and bindings.
langgenius/dify
Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…
URL search param and hash state management. An agent skill from promptfoo/promptfoo. Search Params is an agent skill from promptfoo/promptfoo. URL search param and hash state management.
Search Params fits situations like: modifying URL search params; working with useSearchParams; setSearchParams; useSearchParamState.
Run `npx skills add promptfoo/promptfoo --skill search-params -a claude-code`. Or copy the skill folder (.agents/skills/search-params in promptfoo/promptfoo) into .claude/skills/search-params in your project. Claude Code loads it when a task matches its description.
Run `npx skills add promptfoo/promptfoo --skill search-params -a codex`. Or copy the skill folder (.agents/skills/search-params in promptfoo/promptfoo) into .agents/skills/search-params in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add promptfoo/promptfoo --skill search-params -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/search-params, .gemini/skills/search-params, .github/skills/search-params and .opencode/skills/search-params in your project.
SKILL.md names no scripts, command-line tools or credentials: Search Params is instructions for the agent only.
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.
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.
Search Params is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Search Params: Add Eap Method (talkincode/toughradius, 691 stars), Frontend Large Feature Architecture (langfuse/langfuse, 36k stars), Salesforce Component Standards (github/awesome-copilot, 40k stars) and Agentsop State Reducer (agentsope/SkillAlchemy, 459 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
promptfoo (a GitHub organization) maintains it in promptfoo/promptfoo, which has 25,801 GitHub stars. The repository was last updated on October 7, 2026.
Source: promptfoo/promptfoo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.