- Home
- Skills
- Productivity
- Obsidian Second Brain — Google Drive Setup & AI Writeback
More screenshots
Works with the AI Agents you already use
Obsidian Second Brain — Google Drive Setup & AI Writeback
by Frica Chai
- Existing vault — detects the vault, validates .obsidian, write access, home note, links, and note count.
$15
Obsidian Second Brain — Google Drive Setup & AI Writeback
Example session with this skill installed
User: I installed Obsidian but I don't know how to connect it to Google Drive. I want a second brain my AI agent can actually use.
- Read your context and instructions
- Compiled the obsidian second brain
User: I installed Obsidian but I don't know how to connect it to Google Drive. I want a second brain my AI agent can actually use.
Agent: Let's check the environment first.
→ python scripts/detect_environment.py --json
OBSIDIAN_INSTALLED=YES
GOOGLE_DRIVE_ROOTS=1
VAULTS_FOUND=0
Agent: No vault yet. Here is the shortest safe path:
- Google Drive for desktop → sign in → create My Drive/2ndbrain
- Set the folder to "Available offline"
- Create the skeleton before opening Obsidian:
python scripts/init_vault.py --path "G:/My Drive/2ndbrain" - Obsidian → Open folder as vault → select 2ndbrain
- Verify:
python scripts/check_vault.py --vault "G:/My Drive/2ndbrain" --check-links
VAULT_STATUS=PASS
HAS_OBSIDIAN=YES
WRITABLE=YES
NOTES=8
HOME=Home.md
UNRESOLVED_LINKS=0
User: I have several clients. I don't want their notes mixed.
Agent: Use a project config, not one global path.
→ python scripts/configure_vault.py --vault "G:/My Drive/2ndbrain"
--scope project --project-dir "D:/work/client-a" --write-project
Created D:/work/client-a/OBSIDIAN.md
vault: "G:\My Drive\2ndbrain"
scope: "project"
writeback: "ask"
The project file wins over the global default, so client A cannot write into client B's scope.
User: Now write this session into my notes.
Agent: Candidate table:
- "Set the folder to Available offline before opening Obsidian"
RULE, confirmed by a real sync test → SUPPLEMENT - "Conflict copies appear when two devices edit offline"
PITFALL, observed → SUPPLEMENT - A guess about the sync queue
UNVERIFIED → SKIP
Merged into Knowledge/Google Drive sync conflicts.md.
Read-back
new section present
old steps preserved
updated = 2026-11-20
links resolve
WRITEBACK_STATUS=WRITEBACK_COMPLETE
NOTES_UPDATED=Knowledge/Google Drive sync conflicts.md
VERIFY=PASS
Connects securely to your tools. The creator never sees your data.
About this skill
Most "AI + notes" setups fail for one of three reasons: the vault is not connected, the agent cannot tell current facts from old notes, or the session ends and nothing useful is written back.
This skill fixes all three.
What it does
- Onboarding — guides Google Drive for desktop, Obsidian installation, the
2ndbrainfolder, offline access, vault creation, first note, and sync verification. - Existing vault — detects the vault, validates
.obsidian, write access, home note, links, and note count. - Configuration — chooses a global default (
OBSIDIAN_VAULT+ global instruction block), a project file (OBSIDIAN.md), or a one-off session. - Retrieval before work — turns the task into 2–6 keywords, ranks notes, reads the closest 1–3, and checks
updated,status, source, and scope. - Session writeback — classifies the session output, merges into existing notes first, writes the minimum, reads back, and checks duplicates and conflicts.
How it works
detect_environment.pyreads Obsidian's own vault registry and Google Drive roots. It does not modify anything.init_vault.pycreates a generic skeleton in a new vault. It refuses an existing vault and never overwrites a file.check_vault.pyvalidates the vault and verifies a writeback with--expect-noteand--expect-text.find_notes.pyranks notes by filename, path, tags, headings, content, recency, and status, then prints a short excerpt.configure_vault.pyresolves global vs project vs session and prints the exact environment and instruction snippets.
The configuration decision
A vault path is not enough. The agent also needs to know how far it may read and write.
| Situation | Recommended |
|---|---|
| One person, one vault, all projects | Global: OBSIDIAN_VAULT + global instruction block |
| Multiple vaults, clients, courses, research projects | Project: <project>/OBSIDIAN.md |
| One-off test or borrowed vault | Session: --vault only |
Precedence:
explicit --vault → project OBSIDIAN.md → OBSIDIAN_VAULT → global instruction → auto-detect → ask
A project file wins over the global default, so a client project cannot write into a personal vault.
Requirements
- Windows 10/11 (verified); macOS and Linux paths implemented, not end-to-end tested by the author.
- Python 3.9+ (standard library only; no pip install).
- Obsidian desktop. A local vault needs no Obsidian account.
- Google Drive for desktop for the default sync path (Windows/macOS). Linux uses a local synced folder.
- Any agent that can run local commands and read/write files. Obsidian MCP is optional.
Verification
detect_environment.py --jsonreports the platform, Obsidian install, vault registry, Google Drive roots, and per-vault note counts.check_vault.pyreturnsPASSonly after a write test, note count, home note, frontmatter sanity, and optional link check.- A writeback is complete only when
--expect-noteand--expect-textboth pass. - The skill reports explicit status codes:
SETUP_COMPLETE,VAULT_CONNECTED,WRITEBACK_COMPLETE,WRITEBACK_PARTIAL,WRITEBACK_PENDING,WRITEBACK_BLOCKED,NO_QUALIFIED_WRITEBACK.
Limitations
- Google Drive sync is not a backup; keep a dated snapshot and test a restore.
- Google Drive for desktop has no official Linux client.
- The Google Drive mobile app alone does not expose a vault folder to Obsidian mobile; use Obsidian Sync or a folder-sync app.
- The skill does not create accounts or handle passwords. Account creation and sign-in are interactive and must be done by the user.
- Search is lexical, not semantic. Use 2–6 terms and synonyms.
- "Automatic" means the skill or instruction is loaded; it is not a background service.
Privacy
The package contains no author vault, no author folder tree, and no author note content. It contains generic methods, scripts, and templates only. The scripts run locally; there are no uploads, no telemetry, and no network calls. The buyer's vault and notes belong to the buyer. The skill never stores passwords, tokens, cookies, API keys, or private keys.
Requires Python for helper scripts. Google Drive for desktop is not natively supported on Linux. Mobile sync requires manual third-party configuration.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 15 days ago
- Accounts
Google Drive
- Software
Python 3.9+Obsidian desktopGoogle Drive for desktop (or a local synced folder)
- Optional
Obsidian MCP
Permissions
Allowed Hosts
File Scopes
Runs five local Python scripts to detect and validate an Obsidian vault, then writes Markdown notes and project configuration only at the user's chosen paths. No network calls, no telemetry, no uploads. OBSIDIAN_VAULT stores the default vault path.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.