More screenshots

    Works with the AI Agents you already use

    Obsidian Second Brain — Google Drive Setup & AI Writeback

    by Frica Chai

    0

    - Existing vault — detects the vault, validates .obsidian, write access, home note, links, and note count.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Obsidian Second Brain — Google Drive Setup & AI Writeback

    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:

    1. Google Drive for desktop → sign in → create My Drive/2ndbrain
    2. Set the folder to "Available offline"
    3. Create the skeleton before opening Obsidian:
      python scripts/init_vault.py --path "G:/My Drive/2ndbrain"
    4. Obsidian → Open folder as vault → select 2ndbrain
    5. 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:

    1. "Set the folder to Available offline before opening Obsidian"
      RULE, confirmed by a real sync test → SUPPLEMENT
    2. "Conflict copies appear when two devices edit offline"
      PITFALL, observed → SUPPLEMENT
    3. 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

    Drive sync conflicts.md

    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 2ndbrain folder, 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

    1. detect_environment.py reads Obsidian's own vault registry and Google Drive roots. It does not modify anything.
    2. init_vault.py creates a generic skeleton in a new vault. It refuses an existing vault and never overwrites a file.
    3. check_vault.py validates the vault and verifies a writeback with --expect-note and --expect-text.
    4. find_notes.py ranks notes by filename, path, tags, headings, content, recency, and status, then prints a short excerpt.
    5. configure_vault.py resolves 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.

    SituationRecommended
    One person, one vault, all projectsGlobal: OBSIDIAN_VAULT + global instruction block
    Multiple vaults, clients, courses, research projectsProject: <project>/OBSIDIAN.md
    One-off test or borrowed vaultSession: --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 --json reports the platform, Obsidian install, vault registry, Google Drive roots, and per-vault note counts.
    • check_vault.py returns PASS only after a write test, note count, home note, frontmatter sanity, and optional link check.
    • A writeback is complete only when --expect-note and --expect-text both 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables

    Allowed Hosts

    drive.googleapis.com
    obsidian.md

    File Scopes

    **/*.md
    **/OBSIDIAN.md
    **/AGENTS.md
    **/obsidian.json

    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.

    Listed15 days ago

    What's inside

    Frequently Asked Questions

    This skill creates a persistent memory layer by automatically searching your personal Obsidian notes for context before tasks and writing back new insights at the end of a session, preventing the 'reset' that usually occurs between AI chats.

    Yes, it supports both existing Obsidian vaults and the creation of new ones; the 'check_vault.py' utility will validate your current markdown structure to ensure the agent can read and write to it correctly.

    The skill is compatible with any AI agent that can run local Python scripts and read/write files. Google Drive for desktop is the default sync example, but any local folder that Obsidian can open works.

    You will receive a suite of Python-based utility scripts (like detect_environment.py and find_notes.py), configuration templates for local or global vaults, and a standardized protocol for markdown knowledge retrieval and writeback.

    While it uses Google Drive for Desktop for syncing, the agent only interacts with your local filesystem; if you are on Linux or prefer not to use Drive, you can point the skill to any local folder synced via Dropbox, iCloud, or Syncthing.

    The skill includes a 'Quality Verification' step where the agent performs a mandatory read-back after every update to confirm the markdown formatting is preserved and no data was lost during the write process.

    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.