firefox-cookies

Extracts domain-scoped cookies from Firefox's SQLite database for authenticated HTTP requests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/RonanCodes/ronan-skills --skill firefox-cookies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firefox-cookies
Source: https://github.com/RonanCodes/ronan-skills/tree/main/skills/firefox-cookies
Command: npx skills add https://github.com/RonanCodes/ronan-skills --skill firefox-cookies

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extracts cookies from Firefox's local storage for a given domain to enable authenticated web scraping.

Core Features & Use Cases

  • Domain-scoped cookie extraction: Reads cookies from cookies.sqlite for a specified domain and returns a standard Cookie header.
  • Session-enabled requests: Supports continued authenticated fetches across multiple requests by reusing cookies.
  • Platform notes: macOS Firefox profiles are located at ~/Library/Application Support/Firefox/Profiles/.

Quick Start

Provide a domain to extract cookies for, and receive a ready-to-use Cookie header for that domain.

Frequently Asked Questions about firefox-cookies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract Firefox cookies for authenticated web scraping?

To extract Firefox cookies for web scraping, this Skill reads the cookies.sqlite database for a specified domain and returns a standard Cookie header. It filters out expired cookies to ensure domain-scoped results for authenticated HTTP requests.

Can I use Firefox cookies for authenticated requests on macOS?

Yes, you can use Firefox cookies for authenticated requests on macOS by reading the local profiles located at ~/Library/Application Support/Firefox/Profiles/. The Skill extracts the cookies.sqlite data to generate a ready-to-use Cookie header.

What is the best way to get a Cookie header from Firefox's local storage?

The best way to get a Cookie header from Firefox's local storage is to query the cookies.sqlite database for a targeted domain. This approach directly filters expired cookies and returns a formatted header suitable for HTTP requests.

Do I need sqlite3 to read cookies.sqlite for domain-scoped extraction?

Yes, you need sqlite3 to read cookies.sqlite for domain-scoped extraction. The Skill uses sqlite3 to access Firefox's local storage, filter out expired cookies, and return the valid session cookies for authenticated requests.

Does Firefox cookie extraction filter out expired cookies automatically?

Yes, Firefox cookie extraction filters out expired cookies automatically. When reading from cookies.sqlite for a targeted domain, the Skill ensures only valid, non-expired cookies are returned in the standard Cookie header for HTTP requests.