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 ChromeDevTools

Guides an AI assistant through inspecting and debugging cookies, sessions and authentication failures using Chrome DevTools MCP. Built for developers and QA teams checking 401/403 errors, login redirects and cookie consent compliance.

  • Score 91
  • 60k stars
  • Apache-2.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/ChromeDevTools/chrome-devtools-mcp /tmp/chrome-devtools-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/chrome-devtools-mcp/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 guides an AI assistant through inspecting, debugging and testing cookies, session state and authentication issues. It relies on Chrome DevTools MCP and its page-scoped tools, such as list_network_requests, get_network_request, list_console_messages and evaluate_script. The skill explains when to use a live tab and when to use an isolated context to avoid leftover cookies.

It covers diagnosing 401 and 403 errors, authentication redirects, session expiration and Set-Cookie header issues. It also includes cookie banner consent checks and reviews of SameSite and Partitioned (CHIPS) cookie warnings. The source notes that HttpOnly cookies can be read from the Cookie request header but cannot be changed through JavaScript. It lists common causes to check, including Path and Domain mismatches, Secure cookies over HTTP, SameSite blocking and expiration. It is aimed at developers and QA staff who need to debug auth or consent problems in web apps.

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

What it can do

  • list_network_requestsLists recent network requests, including preserved ones, to find failing or redirected calls.
  • get_network_requestShows a request's Cookie header or a response's Set-Cookie header for inspection.
  • list_console_messagesReads console messages, including cookie issues such as SameSite or partitioning warnings.
  • evaluate_scriptRuns cookieStore calls to read, set or delete non-HttpOnly cookies on the page.
  • new_pageOpens a page in a unique isolatedContext for clean-slate consent and compliance tests.
  • lighthouse_auditRuns a navigation audit and provides a report with a third-party cookies audit.
  • take_snapshotCaptures a page snapshot to locate buttons such as Decline or Reject All.
  • clickClicks consent banner or preference controls during a consent test.

What you need

  • Chrome DevTools MCP
  • Node.js

Try asking

  • Why does my API return 401 after login? Check the Cookie header on the request.
  • Test whether this site sets tracking cookies before I accept the consent banner.
  • Check the console for SameSite or third-party cookie warnings on this page.

Good to know

  • JavaScript cannot clear HttpOnly cookies. Deletion silently fails, so use a fresh isolated context instead.
  • cookieStore requires a secure context (https, localhost or 127.0.0.1). On plain HTTP, use document.cookie.
  • The skill's Lighthouse cookie audit step uses a Node.js command to read the report file.

Security check

A

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

Checked automatically: 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 this skill read HttpOnly cookies?

Not through JavaScript. The skill says to read the value from the Cookie header of an outgoing request using get_network_request.

How does it test cookie consent banners?

It opens a fresh isolated context, records the cookies before interacting, clicks the decline button and compares the cookies afterward.

Which cookie problems does it check for?

The source lists 401/403 errors, login redirects, session expiration, Set-Cookie header issues, SameSite and Partitioned cookie warnings.

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 Apache-2.0 licence. The service it connects to may have its own pricing.

Is cookie-debugging safe to use?

It scores 91 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.