repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | name: obsidian |
| #3 | description: Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli. |
| #4 | homepage: https://help.obsidian.md |
| #5 | metadata: {"clawdbot":{"emoji":"💎","requires":{"bins":["obsidian-cli"]},"install":[{"id":"brew","kind":"brew","formula":"yakitrak/yakitrak/obsidian-cli","bins":["obsidian-cli"],"label":"Install obsidian-cli (brew)"}]}} |
| #6 | --- |
| #7 | |
| #8 | # Obsidian |
| #9 | |
| #10 | Obsidian vault = a normal folder on disk. |
| #11 | |
| #12 | Vault structure (typical) |
| #13 | - Notes: `*.md` (plain text Markdown; edit with any editor) |
| #14 | - Config: `.obsidian/` (workspace + plugin settings; usually don’t touch from scripts) |
| #15 | - Canvases: `*.canvas` (JSON) |
| #16 | - Attachments: whatever folder you chose in Obsidian settings (images/PDFs/etc.) |
| #17 | |
| #18 | ## Find the active vault(s) |
| #19 | |
| #20 | Obsidian desktop tracks vaults here (source of truth): |
| #21 | - `~/Library/Application Support/obsidian/obsidian.json` |
| #22 | |
| #23 | `obsidian-cli` resolves vaults from that file; vault name is typically the **folder name** (path suffix). |
| #24 | |
| #25 | Fast “what vault is active / where are the notes?” |
| #26 | - If you’ve already set a default: `obsidian-cli print-default --path-only` |
| #27 | - Otherwise, read `~/Library/Application Support/obsidian/obsidian.json` and use the vault entry with `"open": true`. |
| #28 | |
| #29 | Notes |
| #30 | - Multiple vaults common (iCloud vs `~/Documents`, work/personal, etc.). Don’t guess; read config. |
| #31 | - Avoid writing hardcoded vault paths into scripts; prefer reading the config or using `print-default`. |
| #32 | |
| #33 | ## obsidian-cli quick start |
| #34 | |
| #35 | Pick a default vault (once): |
| #36 | - `obsidian-cli set-default "<vault-folder-name>"` |
| #37 | - `obsidian-cli print-default` / `obsidian-cli print-default --path-only` |
| #38 | |
| #39 | Search |
| #40 | - `obsidian-cli search "query"` (note names) |
| #41 | - `obsidian-cli search-content "query"` (inside notes; shows snippets + lines) |
| #42 | |
| #43 | Create |
| #44 | - `obsidian-cli create "Folder/New note" --content "..." --open` |
| #45 | - Requires Obsidian URI handler (`obsidian://…`) working (Obsidian installed). |
| #46 | - Avoid creating notes under “hidden” dot-folders (e.g. `.something/...`) via URI; Obsidian may refuse. |
| #47 | |
| #48 | Move/rename (safe refactor) |
| #49 | - `obsidian-cli move "old/path/note" "new/path/note"` |
| #50 | - Updates `[[wikilinks]]` and common Markdown links across the vault (this is the main win vs `mv`). |
| #51 | |
| #52 | Delete |
| #53 | - `obsidian-cli delete "path/note"` |
| #54 | |
| #55 | Prefer direct edits when appropriate: open the `.md` file and change it; Obsidian will pick it up. |
| #56 |