browser-download

Download files from authenticated web sessions using browser cookies with curl.

Updated Aug 6, 2025
One-click install
npx skills add https://github.com/flosrn/.claude --skill browser-download
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-download
Source: https://github.com/flosrn/.claude/tree/main/agents-global/browser-download
Command: npx skills add https://github.com/flosrn/.claude --skill browser-download

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a workaround for downloading files from web pages where direct browser downloads fail, especially when authentication and cookies are required.

Core Features & Use Cases

  • Cookie-based Downloads: Leverages browser cookies to authenticate curl requests for downloading protected files.
  • Handles Attachments & Exports: Useful for downloading email attachments or data exports from web applications.
  • Use Case: Download a PDF report from a web application that requires you to be logged in, by extracting cookies from your current browser session and using them with curl.

Quick Start

Use the browser-download skill to download the file from the provided URL using the extracted cookies.

Frequently Asked Questions about browser-download

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

FAQPage Schema
How do I download files from a web session that requires authentication?

To download files from an authenticated web session, you can extract browser cookies and pass them to curl for HTTP requests. This method bypasses direct browser download failures by using your active session credentials to fetch protected attachments or exports.

Why does my browser download fail for protected attachments and exports?

Browser downloads often fail for protected attachments and exports due to complex authentication requirements and cookie handling limitations. A reliable workaround involves manually extracting session cookies and constructing a curl command to directly fetch the target file URL.

Can I use curl with cookies to download a PDF report from a web application?

Yes, you can use curl with cookies to download a PDF report from a web application that requires login. By extracting your current browser session cookies and supplying them to curl, the request authenticates successfully and retrieves the protected file.

What is the best way to download data exports when direct browser tools fail?

The best way to download data exports when direct browser tools fail is leveraging cookie-based curl requests. This approach authenticates your download by utilizing extracted browser cookies, effectively solving authentication blocks for web application exports and email attachments.

Do I need to manually extract cookies to download files from authenticated web sessions?

Yes, downloading files from authenticated web sessions with this approach requires manual cookie extraction from your browser. You must also construct the specific curl command for the target URL to successfully retrieve the protected file.