Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

webarchive extractor

Extracts Safari .webarchive files into plain HTML and assets via the WebArchiveExtractor CLI.

UtilitiesBeginner★ 346⑂ 60AI score 8/10Last updated: Mar 20, 2026

What it does

  • Converts .webarchive files (the macOS binary-plist format from Safari's "Save As Web Archive") into plain HTML plus an assets folder.
  • Verifies the CLI binary inside /Applications/WebArchiveExtractor.app exists first, and if not, points you to building it with Xcode, adding it to PATH, or symlinking it.
  • Resolves the input file, output directory, and optional URL prefix (-p), runs the command, then summarises the output path, file count, and main HTML file.
  • Defaults output to ~/Downloads/<archive-name> because macOS sandboxing limits where the app can write, avoiding silent failures.

Who it's for

  • macOS users who archived pages in Safari and want them back as browsable HTML.
  • Researchers and archivists migrating legacy .webarchive collections to standard web files.
  • Developers who need asset URLs rewritten to serve the extracted site from a subdirectory.

Examples

  1. "Extract article.webarchive on my Desktop" → checks the binary, extracts to ~/Downloads/article, reports the results.
  2. "Unarchive blog.webarchive into ~/sites/blog and prefix assets with /static" → runs with both -o and -p.
  3. After extraction, "open it in my browser" → uses open index.html.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/robrohan/WebArchiveExtractor/HEAD/skills/webarchive/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/webarchive folder from the GitHub repo robrohan/WebArchiveExtractor into my ~/.claude/skills/webarchive/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/robrohan/WebArchiveExtractor.git && mkdir -p ~/.claude/skills && cp -r WebArchiveExtractor/skills/webarchive ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open Terminal (macOS required).
  2. Clone the repo: git clone https://github.com/robrohan/WebArchiveExtractor.git
  3. Install the skill: mkdir -p ~/.claude/skills && cp -r WebArchiveExtractor/skills/webarchive ~/.claude/skills/
  4. Install the app itself: drag a release build into /Applications, or build from source with xcodebuild -project WebArchiveExtractor.xcodeproj.
  5. Verify: test -x /Applications/WebArchiveExtractor.app/Contents/MacOS/WebArchiveExtractor && echo found
  6. Restart Claude Code and ask something like "extract this .webarchive file" to trigger the skill.
View source on GitHub ↗License: NOASSERTION