/safari-archiver:safari-archiverfrom safari-archiver
Archive the current Safari page or PDF to Obsidian as clean markdown with images, frontmatter, and domain-based folder structure
Ships in safari-archiver. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Archives web pages and PDFs from Safari into an Obsidian vault as clean Markdown files. Two variants are provided: a Python-backed AppleScript (full-featured) and a pure JavaScript AppleScript (no Python dependency, but no PDF support).
Use this skill when the user wants to save the current Safari page to Obsidian, export a web page as markdown, or archive a PDF from Safari.
The core extraction engine. Called by the AppleScript wrappers.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/safari-markdown-exporter.py <input_file> <url> [title] [--pdf]
How it works:
![[folder/image.jpg]]). Handles both trafilatura-found images and raw HTML-extracted figures/standalone images.Output structure:
Obsidian Vault/Saved Pages/
<domain>/
001 - 2026-01-15 - Article Title.md # Markdown with frontmatter
001 - 2026-01-15 - Article Title/ # Asset folder
image1.jpg
image2.png
YAML frontmatter includes: title, url, domain, date_saved, and optionally source_pdf.
Triggered via keyboard shortcut (Automator Quick Action). Workflow:
--pdf flagNOTE: The .scpt file contains hardcoded paths that must be updated for your environment:
pythonScript property -- path to safari-markdown-exporter.pypythonPath property -- path to Python 3.11+ interpreterA self-contained version that embeds an HTML-to-Markdown converter in JavaScript. No Python dependency, but does not support PDF archival. Handles image downloading via curl and Obsidian wiki-link rewriting natively in AppleScript.
A simpler utility that exports the current Safari page as PDF using Safari's "Export as PDF" menu, auto-increments a counter for sequential filenames, scrolls to the bottom of the page, and navigates to the next page. Useful for batch-exporting multi-page courseware.
pythonScript and pythonPath properties in the .scpt files to match your local paths.scpt fileWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub varunr89/claude-marketplace --plugin safari-archiverOther plugins' skills for the same job