vkorost

Site2vault — AI skill for Claude Code

AI community

Mirror any website into a linked Obsidian vault optimized for AI agents.

How to install Site2vault

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vkorost/site2vault and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Site2vault does

Mirror any website into a linked Obsidian vault optimized for AI agents. Breadth-first crawl with politeness controls, HTML-to-Markdown conversion, Obsidian wikilinks, per-section byte offsets, and a machine-readable manifest — so Claude Code and similar tools can read documentation offline at near-zero token cost.

Alternatives in AI

  • Cc Mirror — Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, LiteLLM) 2.1k ★
  • Describe Component — Write a six-section AI-optimised prose description of one component for Figma MCP and LLMs 194 ★
  • Skill Porter - Cross-Platform Skill Converter — This skill automates the conversion between Claude Code skills and Gemini CLI extensions, enabling true cross 160 ★

README

[![site2vault — mirrors any website into a linked Obsidian vault with a machine-readable manifest for section-level agent reads](./images/site2vault-social-800x400.jpg)](https://github.com/vkorost/site2vault/releases/latest)

Site2Vault

Mirror any website into a linked Obsidian vault. Built for Claude Code and other agentic tools to read documentation offline at near-zero token cost.

[![Python](https://img.shields.io/badge/python-3.12-blue)](https://www.python.org/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

Site2Vault crawls a website, extracts the main content of each page as clean Markdown, and wires every internal link as an **Obsidian** `[[wikilink]]`. The result is a self-contained vault you can open in Obsidian, search across, and feed to Claude Code without paying for repeated web fetches.

**Video overview:** [Why Site2Vault exists and how it works](https://www.youtube.com/watch?v=Qk54nlIYy6o) — the pattern of a self-built wiki as the AI context layer, the six-phase pipeline, and how the manifest enables section-level reads for coding agents.

flowchart LR
    A[Seed URL] --> B[Phase 1: Crawl]
    S[Sitemap] --> B
    B --> C[Phase 1.5: Deboilerplate]
    C --> D[Phase 2: Rewrite Links]
    D --> E[Phase 2.5: Byte Offsets]
    E --> F[Phase 3: Index MOCs]
    F --> G[Phase 4: Manifest]
    G --> V[(Obsidian Vault)]

Why

Feeding documentation to an agentic coder via repeated web fetches burns tokens. A 200-page docs site can cost dollars per query. Site2Vault pulls the entire corpus once into a local Markdown vault. From then on, the agent reads files at near-zero cost, navigates by `[[wikilink]]` exactly as on the original site, and uses the manifest to read only the sections it needs.

As of April 2026 there are quite a few other tools that mirror sites to Markdown, but to the best of my knowledge none produce a ***fully interlinked Obsidian vault with a machine-readable corpus index designed fo