From safari-archiver
Archive the current Safari page or PDF to Obsidian as clean markdown with images, frontmatter, and domain-based folder structure
npx claudepluginhub varunr89/claude-marketplace --plugin safari-archiverThis skill uses the workspace's default tool permissions.
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).
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Performs token-optimized structural code search using tree-sitter AST parsing to discover symbols, outline files, and unfold code without reading full files.
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 file