Obsidian Wiki
[Guides] / Obsidian

Open your wiki in Obsidian

Your wiki is a folder of Markdown files with wikilinks, so Obsidian can browse, edit and graph it directly. This guide covers Local mode, Hosted mode and connecting agents.

[01] Local mode

Open your vault folder

In Local mode the vault already lives on your disk. Obsidian opens that folder in place. Nothing is copied or converted.

  1. 01

    Install Obsidian

    Download the desktop app for macOS, Windows or Linux from obsidian.md.

  2. 02

    Find your vault path

    Setup saved it as OBSIDIAN_VAULT_PATH in ~/.config/obsidian-wiki/config. Print it with:

    TerminalShell
    obsidian-wiki info

    No vault yet? Install the CLI and pick a folder. Setup creates the folder structure and a starter .obsidian/ config.

    TerminalShell
    pip install obsidian-wiki
    obsidian-wiki setup --vault ~/wiki
  3. 03

    Open the folder as a vault

    Open Obsidian. On first launch it shows the vault switcher. Otherwise select the vault name at the bottom of the left sidebar and choose Manage vaults, or run Open another vault from the command palette. Choose Open folder as vault and select your vault folder.

    Diagram of Obsidian's vault switcher with Open folder as vault highlighted, pointing at a vault folder that contains index.md, concepts, entities and _raw.
    Diagram · Open folder as vault

    Obsidian keeps its own settings in .obsidian/ inside the vault. obsidian-wiki setup already wrote folder colors and graph filters there, and never overwrites files you change.

[02] Recommended settings

Match the way the wiki writes links

Open Settings → Files and links. These match what the wiki skills write, so links you add by hand resolve the same way.

Diagram of the Files and links settings: Use Wikilinks on, new link format Absolute path in vault, attachments in the attachments folder, and _raw, _staging and _archives excluded.
Diagram · Settings → Files and links
  1. 01

    Use [[Wikilinks]]: on

    The skills write [[concepts/foo]] by default. If you set OBSIDIAN_LINK_FORMAT=markdown in your config, turn this off so new links use [text](path.md) instead.

  2. 02

    New link format: Absolute path in vault

    Wiki pages link by their full path from the vault root, such as [[entities/obsidian]].

  3. 03

    Attachments in attachments/

    Set Default location for new attachments to In the folder specified below and the folder path to attachments. Ingested figures are embedded from there.

  4. 04

    Excluded files: _raw/, _staging/, _archives/

    These hold unprocessed drops, staged writes and archived sources. Excluding them keeps search, the quick switcher and the graph focused on finished pages. They still appear in the file explorer.

  5. 05

    Open the graph view

    Press Cmd+G (Ctrl+G on Windows and Linux) or run Graph view: Open graph view from the command palette. Setup colors each category folder and filters out _raw/, _archives/, _staging/, _meta/, index, log and hot. To recolor it, ask your agent to “color my graph”.

[03] Keep it synced

Back it up with GitHub

The vault is plain Markdown, so a private Git repo gives you history, backup and the same vault on every machine. Pick one way to commit so two schedules don't race.

  1. 01

    With the CLI

    Setup offers this during install. To add it later:

    TerminalShell
    obsidian-wiki sync-setup https://github.com/you/my-wiki.git
    obsidian-wiki sync   # stage, commit and push

    Setup can also add an hourly cron job. Its .gitignore leaves out Obsidian's workspace and cache files.

  2. 02

    Or from inside Obsidian

    In Settings → Community plugins, turn on community plugins, select Browse and install Git. Point it at the same repo and set its auto commit-and-sync interval. Use either the plugin's schedule or the CLI cron job, not both.

  3. 03

    Or plain Git

    Run git pull before you edit and git add -A && git commit -m "Update notes" && git push after. Agents and Obsidian edit the same files, so pull first.

Using the hosted workspace as well? The next section shows how to upload this vault with the sync client or a GitHub Actions workflow.

[04] Hosted mode

Use Obsidian with the hosted workspace

The hosted workspace stores your notes for Ask, the MCP connector and the Inbox. Obsidian needs a folder on your disk, so keep a local vault as the copy you edit and upload it to the workspace.

Already have notes only in the hosted workspace?

  1. 01

    Download your vault

    Open Settings and select Download as Obsidian vault (.zip). You get obsidian-wiki.zip: every note as a .md file at its path, plus Obsidian settings that match how the wiki writes links.

  2. 02

    Unzip and open it

    Unzip it where you keep your notes. In Obsidian choose Open folder as vault and pick the obsidian-wiki folder. Links, tags and the graph work right away.

  3. 03

    Make it the copy you edit

    From here on, edit in Obsidian and upload with the sync client below. The zip is a snapshot: it doesn't update itself.

Screenshot of the hosted workspace Settings page, showing Download as Obsidian vault under Account.
Screenshot · Workspace → Settings
  1. 01

    Create a device token

    In the workspace, open Sync. Under Pair a device, choose Local vault, name the device and select Create device token. Copy the token. It is shown once.

    Screenshot of the hosted workspace Sync page with Pair a device, and the sync script commands.
    Screenshot · Workspace → Sync
  2. 02

    Download the sync script and preview

    Select Download sync script. It runs on macOS and Linux with Python 3.10 or newer. Use the same folder you opened in Obsidian. The first command only lists what would upload.

    TerminalPreview
    REVELVE_ORIGIN=https://obsidian-wiki.prismor.dev python3 revelve-sync.py "/path/to/My Vault"
  3. 03

    Upload, and pull accepted updates

    TerminalSync
    REVELVE_ORIGIN=https://obsidian-wiki.prismor.dev python3 revelve-sync.py "/path/to/My Vault" --apply --pull-accepted

    The first run asks for the token and stores it outside the vault. Run it again whenever you want the workspace to catch up with your edits in Obsidian.

How edits flow back

Diagram: the sync script uploads new and changed notes from Obsidian to the hosted workspace, and --pull-accepted downloads accepted Inbox updates into the local _raw folder. A GitHub Actions workflow can also upload, but nothing flows back from it.
Diagram · What moves where
  • Your edits in Obsidian upload with --apply. If a hosted note changed since your last upload, the script keeps both copies instead of overwriting.
  • Agent updates wait in the Inbox. Each one you save lands in hosted _raw/, and --pull-accepted downloads it once into your local _raw/. Run /wiki-ingest to turn it into linked pages, then sync again.
  • Other hosted edits, such as notes added in Ask, are not downloaded by the beta sync script.
  • Deleting a note in Obsidian leaves the hosted copy in place.

Prefer GitHub? In Sync, choose Private GitHub repo and follow Sync from GitHub. The workflow uploads on every push to the default branch. It never writes back to GitHub, so pull accepted updates with a Local vault token and commit them.

[05] Agents

Connect your agents

Obsidian is for you. Agents read and write the same vault. In Local mode, obsidian-wiki setup installs the wiki skills into Claude Code, Codex, Cursor and others, pointed at your vault path. In Hosted mode, open Connect an agent, create a token, and add the MCP server:

.mcp.jsonHTTP
{
  "mcpServers": {
    "obsidian-wiki": {
      "type": "http",
      "url": "https://obsidian-wiki.prismor.dev/mcp",
      "headers": { "Authorization": "Bearer ow_…" }
    }
  }
}

Agents can search with recall. If you allow updates, remember sends proposals to your Inbox for review.

Open Connect →