cookie-scraper

cookie-scraper is a skill for Claude Code, Codex from id5463/mcp-server-research. It costs 55 tokens per session (1,226 once invoked), scanned A, original, MIT.

A local utility for extracting cookies from Chrome, Edge, Brave, and Firefox. Cookies are small browser records that can contain website preferences or login session data.

In plain words
What is it for?
Filtering cookies by website or keyword, exporting them as text, JSON, CSV, or Netscape files, listing available browsers, and inspecting or backing up browser cookies.
Why use it?
It can avoid manually searching browser databases and can reuse a local cache so later runs only decrypt changed cookies.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Filtering cookies by website or keyword, exporting them as text, JSON, CSV, or Netscape files, listing available browsers, and inspecting or backing up browser cookies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/id5463/mcp-server-research/cookie-scraper
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add id5463/mcp-server-research --skill cookie-scraper
Clone the repo
git clone --depth 1 https://github.com/id5463/mcp-server-research

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cookie-scraper

README.md
[![agentmods](https://agentmods.dev/badge/skills/id5463/mcp-server-research/cookie-scraper/github.svg)](https://agentmods.dev/skills/id5463/mcp-server-research/cookie-scraper)
Your own site
<a href="https://agentmods.dev/skills/id5463/mcp-server-research/cookie-scraper"><img src="https://agentmods.dev/badge/skills/id5463/mcp-server-research/cookie-scraper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cookie-scraper

Your own site · 80×15
<a href="https://agentmods.dev/skills/id5463/mcp-server-research/cookie-scraper"><img src="https://agentmods.dev/badge/skills/id5463/mcp-server-research/cookie-scraper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01226
Opus 5.5 $0.00022 $0.00490
Sonnet 5.5 $0.00011 $0.00245
Haiku 4.5 $0.00006 $0.00123

Measured 1mo ago against content hash a9c5978cba0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cookie-scraper scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cookie_scraper.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- 需要**提取某个域名的 Cookie** 用于 curl/wget 请求
skill/research/cookie-scraper/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

从本机浏览器抓取 Cookie,首次全量解密 + 本地缓存,后续运行只解密变更的 Cookie。

何时使用

  • 需要提取某个域名的 Cookie 用于 curl/wget 请求
  • 需要查找包含特定关键字的 Cookie(如 token、session、auth)
  • 需要备份浏览器 Cookie 到 netscape 格式
  • 需要分析浏览器中存了哪些网站的 Cookie

工具

cookie_scraper.py — 增量 Cookie 提取器

C:\Users\a\AppData\Local\Programs\Python\Python313\python.exe "C:\Users\a\.agents\skills\research\cookie-scraper\scripts\cookie_scraper.py" [options]

常用参数:

参数 说明
--browser chrome 只抓取 Chrome
--browser chrome,edge,firefox 抓取多个浏览器
--browser all 所有检测到的浏览器(默认)
--domain example.com 按域名过滤
--search token 搜索 Cookie 名或值
-o text 文本格式(默认)
-o json JSON 格式
-o csv CSV 格式
-o netscape Netscape 格式(curl/wget 兼容)
-f cookies.txt 输出到文件
--list-browsers 列出本机可抓取的浏览器
--kill 强制关闭浏览器以解锁数据库
--no-cache 跳过缓存,强制全部重新解密
--cache-stats 查看缓存统计

示例:

# 列出所有浏览器
C:\Users\a\AppData\Local\Programs\Python\Python313\python.exe "C:\Users\a\.agents\skills\research\cookie-scraper\scripts\cookie_scraper.py" --list-browsers

# 抓取所有浏览器的所有 Cookie(首次全量,后续增量)
C:\Users\a\AppData\Local\Programs\Python\Python313\python.exe "C:\Users\a\.agents\skills\research\cookie-scraper\scripts\cookie_scraper.py"

# 只抓取 Chrome 中 github.com 的 Cookie,输出 netscape 格式
C:\Users\a\AppData\Local\Programs\Python\Python313\python.exe "C:\Users\a\.agents\skills\research\cookie-scraper\scripts\cookie_scraper.py" --browser chrome --domain github.com -o netscape -f github.cookies

# 搜索包含 "session" 的 Cookie
C:\Users\a\AppData\Local\Programs\Python\Python313\python.exe "C:\Users\a\.agents\skills\research\cookie-scraper\scripts\cookie_scraper.py" --search session -o json

# 查看缓存统计
C:\Users\a\AppData\Local\Programs\Python\Python313\python.exe "C:\Users\a\.agents\skills\research\cookie-scraper\scripts\cookie_scraper.py" --cache-stats

# 强制全量重新解密(不使用缓存)
C:\Users\a\AppData\Local\Programs\Python\Python313\python.exe "C:\Users\a\.agents\skills\research\cookie-scraper\scripts\cookie_scraper.py" --no-cache -o json

Read the full file on GitHub · 100 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 100 lines · 55 tokens per session scan A a9c5978cba0d

Subscribe to this mod's changes

cookie-scraper is a skill published in the GitHub repository id5463/mcp-server-research (0 stars, last pushed 3mo ago), licensed MIT. It adds 55 tokens to every session and 1,226 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts and library prototype previews with the existing agent-browser CLI, including screenshots, interaction checks, and rendered DOM snapshots. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser…

compozy/compozy · 56 tokens