Ultimate Obsidian Agent Guide

Ultimate Obsidian Agent Guide (OpenClaw + Hermes)

🎬 ZazenCodes πŸ“… Aug 12, 2026 ⏱ 45:39
Obsidian Claude Code OpenClaw Hermes second brain Pi agent

🧠 Overview β€” The Four Levels

ZazenCodes shows how to manage an Obsidian vault with coding agents, escalating through four levels of sophistication. "For me, it was a huge unlock for managing my notes system." 0:00

LevelSetupWhat it unlocks
1 β€” LocalClaude Code / Codex on your machineTalk to & manage notes directly
2 β€” RemoteClaude Code remote connectionAgentic access off your computer (with limits)
3 β€” Always-onOpenClaw + Hermes on a VPSFully remote, phone access, Git-synced
4 β€” CustomYour own Pi agentA bespoke "Vault Steward" built into Obsidian
Prerequisites that matter: an Obsidian vault already set up, and β€” crucially β€” Git version control backed up to a private GitHub repo. "That's what's going to allow us to run this with OpenClaw and Hermes. That's my solution for getting our notes available on these systems and keeping them in sync." 1:04

πŸ’» Level 1: Local Coding Agents

The vault is just plain-text Markdown files, organized with the PARA method (Tiago Forte) β€” areas, projects, archives. "The point is about the agents stuff." ZazenCodes spins up Claude Code and asks "what is in your context about this repo right now?" 6:08

The dynamic-loading detail: claude.md points to agents.md, but Claude hasn't read it yet β€” "it's not until we actually ask Claude something that it will go and start executing this." Press ctrl+o to see the model's thinking: it runs cat agents.md and loads the vault context dynamically on first question. "Everything is built around this agents file." 7:58

A live demo: "Can we clean up anything from Japanese language? Maybe combine notes here." Claude runs bash to inspect the folder, proposes a merge (12 files β†’ 7–8), and on approval executes it β€” creating new files, deleting old ones, modifying the rest. 9:23

πŸ› οΈ The Official Obsidian Skills

The skills come from an open-source repository by Kepano β€” the CEO of Obsidian. "This means what I'm showing you is very legit. These are official Obsidian skills." The four skills: obsidian-markdown, obsidian-bases, obsidian-cli, obsidian-json-canvas. 11:18

Install via the GitHub CLI: "Install these skills system-wide. Use the GH CLI." The agent runs gh api to pull the repo, confirms the skills, and installs them. After a restart, skills lists them. When triggered β€” e.g. "find me some sad quotes, use your skills like bases and CLI" β€” it loads the Obsidian CLI skill and iterates over keywords (grief, sorrow, loss, tears) running search queries in a loop. 12:50

πŸ“„ The AGENTS.md File β€” Core of the System

The agents.md file is what "controls the system through the eyes of the coding agent. It will always read this file into context and instruct the coding agent as to how my system works. It lays out my whole vault." 4:40

To generate a fresh one: claude.md points to agents.md as the canonical source, so either agent reads the same context. The built-in /init command (in both Claude Code and Codex) generates the file. 14:45

Git hygiene: version-control your vault, but be careful with .gitignore β€” "I ignored all the media, and I don't want my secrets going onto GitHub. Even though this is a private repository, it's just a really bad idea to do that." 7:04

πŸ“± Level 2: Remote Control

"This is like a level-two system where we can now do stuff agentically with our notes, not on our computer, but there's some limitations, which I will explain." Remote control via Claude Code's remote connection sidesteps some limitations β€” but the full always-on setup is the next level. 2:40

🦞 Level 3: OpenClaw β€” Always-On, Fully Remote

OpenClaw and Hermes are the "always-on, fully remote" solution β€” "the thing that is going to be a big unlock for people using agents with their notes." The whole basis: the vault is on GitHub as a git repository, cloned into /opt on the VPS. 21:30

Access setup: ZazenCodes' OpenClaw agent has its own GitHub account (vivi@galia.dev). He adds it as a collaborator to the private repo, accepts on the agent's side, and the clone succeeds. 22:48

Teaching the agent where to look: "Whenever I ask you something like 'add this to my notes' or 'go look at my Obsidian notes,' this is where you should be looking." The agent writes a note into its own workspace agents.md. The result: a "note" keyword alone was enough to trigger the right search β€” "because note maps to your Obsidian second brain." 24:48

The real power is the surfaces: "we can use things like our phone, anytime, from wherever, because this is on a VPS." Demo: search for a Pi Agent Fleet video on the phone, move it, commit β€” then on the computer, git pull brings the remote change into the local vault. The same Obsidian skills install into OpenClaw with the same GH CLI command. 28:22

⚑ Level 3: Hermes β€” Same Thing on Telegram

The Hermes setup lives on Telegram, accessed via the terminal CLI (ZazenCodes' instance is called "Near"). Clone the repo, then train it: "This is an Obsidian vault for my notes. When I ask you to search for my notes, make a new note, or do anything with my notes, this is where you should look." 31:05

The Hermes gotcha: Hermes loads the top-level agents file from the current working directory. "This depends on Hermes being launched with current working directory opt/hermes." Hermes also supports hermes.md / .hermes.md with higher priority than agents. "I don't know if I trust Hermes β€” how do you know you'll read this agents file each time?" The session confirmed it loads. 32:40

Distinct from OpenClaw: ZazenCodes explicitly instructs Hermes to "update your actual agents file, the raw context file that you always read when you load up" β€” and not to update its memory. Hermes has the GH CLI as a skill, and even updated its own GitHub CLI skill while exploring the repo. Same phone workflow: add a note ("Adopt the pace of nature") from the phone, commit/push, pull locally. 36:14

πŸ€– Bonus: Custom Pi Vault Agent

The bonus level: build a custom Pi agent that lives inside the vault. Using Claude (Opus, high effort) to research the Pi NPM library and scaffold a terminal app scoped to the notes repo. 38:49

The key Pi feature: system-append.md β€” "it extends the default agents file of Pi. Whereas Pi has default instructions, now we effectively extend that with specific instructions which tune our agent to be specifically for this notes repository." This is a powerful feature to know if you're developing with Pi. 41:54

The result: "Vault Agent" β€” an interactive terminal app. "I'm the Azath House Vault Steward, an AI agent living inside your Obsidian Vault." A quick demo: "find me some dating advice" pulls from the notes. 43:54

A cautionary moment: while building the agent, it grabbed whatever API keys were on the system β€” tested a Google key, then found an OpenAI key. "Be careful what keys you have on your system, because these agents will just grab whatever they can use and throw them at the problem." 42:44

βœ… Key Takeaways

  1. Your vault must be Git-version-controlled on GitHub. That single decision is what makes every level β€” local, remote, OpenClaw, Hermes, Pi β€” possible. Keep it private and .gitignore your secrets and media.
  2. The AGENTS.md file is the core of the system. It's the canonical instruction file every agent reads into context. claude.md and agents.md both point to it, so any agent gets the same context.
  3. Use the official Obsidian skills from Kepano (Obsidian's CEO). obsidian-markdown, obsidian-bases, obsidian-cli, obsidian-json-canvas β€” install them system-wide via the GH CLI.
  4. OpenClaw and Hermes are the always-on unlock. Clone the vault into /opt on a VPS, teach the agent where to look, and you get phone access from anywhere β€” with Git as the sync backbone.
  5. Give agents their own GitHub identity. A dedicated account (vivi@galia.dev) with repo access sidesteps permission issues cleanly.
  6. Pi's system-append.md extends the default agent config β€” the clean way to build a bespoke "Vault Steward" scoped to one repo.
  7. Watch the keys on your system. Coding agents will grab any available API key and throw it at the problem β€” the video literally watched one cycle through Google then OpenAI keys.

πŸ”— Resources & Links

πŸ“ Timestamp Index

0:00 Intro β€” Obsidian + coding agents, four levels
1:04 Prerequisites: vault + Git/GitHub
4:40 Vault structure: PARA method + agents folder
6:08 Level 1: local coding agents + git setup
11:18 Official Obsidian skills (Kepano)
14:45 Generating the AGENTS.md file with /init
16:43 Level 2: Claude Code remote control
19:30 Level 3: OpenClaw setup β€” always-on remote
27:52 Level 3: Hermes setup on Telegram
38:49 Bonus: custom Pi Vault Agent build
☰ View all