Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cookie-debugging

Skill by asgeirtj

Cookie-debugging is an agent skill that uses Chrome DevTools MCP to inspect, debug, and test cookies, session state, and authentication issues. It also covers cookie consent compliance checks. It is for people diagnosing login, session, or consent problems.

  • Score 89
  • 74k stars
  • CC0-1.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cookie-debugging

Built from the published package, never by AI.

git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/Google/antigravity/skills/cookie-debugging ~/.claude/skills/cookie-debugging

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cookie-debugging in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The cookie-debugging skill uses Chrome DevTools MCP to inspect, debug, and test cookies, session state, and authentication issues. It covers diagnosing 401 and 403 errors, authentication redirects, session expiration, and Set-Cookie header problems. It also covers cookie banner consent testing and third-party, SameSite, or Partitioned cookie warnings.

The skill explains which cookies a script can read. Non-HttpOnly cookies can be read through the cookieStore API, while HttpOnly cookies can only be seen in the Cookie header of outgoing requests. It recommends isolated browser contexts for clean-state consent audits and for avoiding leftover cookies. It suits people who need to debug login or session problems or check cookie consent behavior.

Written from the project's SKILL.md and checked against it.

What it can do

  • list_network_requestsLists recent requests, including preserved ones, to find failing or redirected requests.
  • get_network_requestShows the Cookie header of a request or the Set-Cookie header of a response.
  • evaluate_scriptRuns cookieStore or document.cookie code to read or change non-HttpOnly cookies.
  • navigate_pageReloads the page so a new request shows the active Cookie header.
  • new_pageOpens a page in an isolated context for a clean-state test.
  • close_pageCloses a page when a test or audit is finished.
  • take_snapshotCaptures the page so the assistant can find a consent banner button by its uid.
  • clickClicks elements such as Decline, Reject All, or Save Preferences in a consent banner.
  • list_console_messagesLists issue messages, including CookieIssue warnings about SameSite or partitioned cookies.
  • lighthouse_auditRuns a navigation audit and writes a report to an output folder for cookie review.

What you need

  • Chrome DevTools MCP
  • Lighthouse, for the lighthouse_audit step
  • Node.js, for reading the Lighthouse report

Try asking

  • Why does my session return a 401 after login? Check the Cookie header.
  • Test whether this site sets cookies before I accept the consent banner.
  • Run a Lighthouse third-party cookie audit on this page and summarize it.

Good to know

  • HttpOnly cookies cannot be read or changed with JavaScript.
  • Deleting an HttpOnly cookie through JavaScript fails silently.
  • cookieStore needs a secure context such as https or localhost.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: Google/antigravity/skills/cookie-debugging/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB

Alternatives to cookie-debugging

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

cookie-debugging: common questions

Can it read HttpOnly cookies?

Not through JavaScript. The skill says their values can be seen in the Cookie header of outgoing requests using get_network_request.

How do I test a consent banner without old cookies?

Open a new page with a unique isolatedContext, record the cookies, click the banner button, then compare the cookies again.

How does it find SameSite warnings?

It checks list_console_messages with the issue type for CookieIssue entries such as SameSiteNoneInsecure.

How do I install cookie-debugging?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cookie-debugging free?

The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.

Is cookie-debugging safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cookie-debugging?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

cookie-debugging Install

Add to stack

Loading.