Skip to content

Guide · Agent skill

How to use the Competition Browser Persistence agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The competition-browser-persistence skill is an add-on for an AI agent that helps it examine what a web page keeps in the browser, such as cookies, localStorage, IndexedDB and service worker caches, and how that stored state changes requests or page behaviour. It is written for capture-the-flag (CTF) sandbox work and is meant to run only after a parent skill, ctf-sandbox-orchestrator, has set up the sandbox context. This guide explains what the skill does, how to install it, how to ask for it, and where its limits are.

Competition Browser Persistencezhaoxuya520/reverse-skill · MIT

Quick start

  1. 1Download the ZIP. Use the download link on this page to get the competition-browser-persistence skill as a ZIP file.
  2. 2Unzip into a skills folder. Extract the folder into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder.
  3. 3Install the parent skill. Make sure ctf-sandbox-orchestrator is installed and active, since this skill must run after it.
  4. 4Establish the sandbox context. Start with the parent skill so sandbox assumptions, node ownership and evidence priorities are set.
  5. 5Ask a natural request. Describe the browser state you want examined and what behaviour you are trying to explain.
  6. 6Review the decisive chain. Check that the agent ties each stored item to one concrete request, render or access effect.

What is an agent skill, and what does this one do?

An agent skill is a folder of instructions that an AI agent loads when a task matches it. This skill, named competition-browser-persistence, covers the browser-held side of a web challenge: the state that lives in the browser rather than only in visible HTML or backend source.

It guides the agent to identify the active persistence surface first, record origin, scope, domain, path, expiry and key names before changing anything, tie stored state to one concrete effect, and reproduce the smallest stateful sequence that reaches the decisive branch.

  • Map browser state: cookies, localStorage, sessionStorage, IndexedDB, Cache Storage and service worker registrations.
  • Trace how stored state becomes request headers, role checks, route visibility, cached API data or offline fallback behaviour.
  • Compare clean-state and mutated-state runs, changing one variable at a time.
  • Keep auth tokens, CSRF state, cached responses and feature toggles in separate evidence blocks.

Install the skill from the ZIP download

Download the ZIP for this skill from the download link on this page. The skill folder contains agents/openai.yaml, references/browser-persistence.md and SKILL.md. Unzip it into one of the following locations, depending on how you want to use it.

For a personal setup available across projects, unzip it into ~/.claude/skills/. For a single project, unzip it into that project's .claude/skills/ folder. If you use the Claude apps, you can instead upload the skill under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/
  • Single project: the project's .claude/skills/ folder
  • Claude apps: Settings → Capabilities → Skills, then upload

Install the parent skill too

This skill will not work as intended on its own. The source says the parent skill ctf-sandbox-orchestrator must be installed and active before this one is used. The skill itself tells the agent to return to $ctf-sandbox-orchestrator if that parent has not yet established sandbox assumptions, node ownership and evidence priorities.

Install the parent skill using the same method, then confirm both are available to your agent before you start a competition task.

How to trigger the skill with natural requests

You do not need special syntax. The skill's description lists the kinds of requests it matches: asking to inspect browser state, replay cached auth or session behaviour, explain why a page behaves differently after load, or trace how stored client state changes requests, rendering or access. Start with the parent skill's context, then ask about the browser state.

The skill also references $ctf-sandbox-orchestrator by name, so mentioning it in your request makes the routing explicit.

  • Inspect the cookies and localStorage this training app sets after login, and tell me which values change the requests it sends.
  • Why does the dashboard look different after a page reload? Check the sessionStorage and service worker cache.
  • Replay the cached API response path with a clean browser state, then with the mutated localStorage key, and compare the results.
  • Using $ctf-sandbox-orchestrator's sandbox setup, trace how the IndexedDB store affects which routes are visible.

What the agent will produce

The skill asks the agent to reply in Simplified Chinese unless you explicitly request English. Expect output organised around the decisive chain: initial page or login, then state persisted, then the subsequent request or render branch, then the resulting capability.

The reference checklist asks for each state item to be recorded with its origin, key, value shape, scope, expiry, and database or cache name, along with the runtime effect and the replay prerequisites.

  • A list of state items, each tied to an origin and scope.
  • The exact request or render effect each decisive item causes.
  • Clean-state and mutated-state reproduction steps.

Safety notes: scripts, network and scope

The skill runs no scripts and uses no network access, according to its listing. It does not ship executable code of its own. It does depend on a browser or inspection tooling that the agent can use to read browser state, but the files do not specify which tools those are.

The skill is designed for sandboxed competition environments. Use it only on training apps, lab instances or challenges you are permitted to test. Do not point it at live production websites or systems you do not own or have permission to test.

  • No scripts are included.
  • No network use is declared.
  • Keep testing inside an isolated lab or competition sandbox.

What people use it for

  • Explaining why a training app keeps a user logged in after the browser is restarted, by inspecting cookies and localStorage.
  • Comparing a clean browser state with one where a localStorage feature flag has been changed, to see which page branch appears.
  • Tracing how a cached API response in Cache Storage is served when the service worker is offline.
  • Teaching students how client-side session state affects authentication in a sandboxed lab.

Frequently asked questions

What is the competition-browser-persistence skill?

It is an agent skill for CTF sandbox work that helps an AI agent inspect browser-held state such as cookies, localStorage, IndexedDB and service worker caches. It explains how that state changes requests, rendering or access. It is described as a downstream skill for ctf-sandbox-orchestrator.

Do I need to install anything else first?

Yes. The source says the parent skill ctf-sandbox-orchestrator must be installed and active. This skill should only be used after that parent has established sandbox assumptions and routed the task here.

Where do I put the skill files?

Unzip the downloaded ZIP into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. In the Claude apps, you can upload it under Settings → Capabilities → Skills.

Does this skill run scripts or use the internet?

According to its listing, it runs no scripts and uses no network. It does rely on a browser or inspection tool that the agent can use to read browser state, though the files do not name specific tools.

Is it free to use and what is the licence?

The item is listed under the MIT licence. The source does not state a price, so do not assume any cost beyond what your own agent setup requires.

Can I use it to test a live website?

No, not according to the skill's intended use. It is designed for sandboxed competition environments, and it should not be used on live production systems or anything you do not own or have permission to test.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits CTF players, students and security trainers who are working on training web apps in an isolated sandbox and want a structured way to trace client-side session state. It is a poor fit for general web testing, live production sites, or anyone who has not set up the parent ctf-sandbox-orchestrator skill.

Download the skill