vault-cloud
Skill3 starsChanged 3 months agoMITView on GitHub
Record and search the Obsidian vault from a cloud session (Claude Code on the web), where the macOS-local obsidian CLI is unavailable but the vault is reachable as a git repo. Clones the configured vault repo (OBSIDIAN_VAULT_REPO), searches it with ripgrep (lexical — QMD/semantic search stays on the Mac), and writes vocabulary-compliant notes that it commits to a dedicated cloud/<date>-<topic> branch for the operator to merge. Use in cloud/web/container sessions that lack the local vault. Not for the Mac — there the obsidian-notes CLI and compound/kb-* skills already own vault I/O.
In this repository41 other files it gives its agents.
- cadence-goalsSkill
- ci-feedback-loopSkill
- compoundSkill
- decision-rights-doctrineSkill
- diataxisSkill
- dispatch-gateSkill
- drift-checkSkill
- family-checkSkill
- fix-then-re-review-ladderSkill
- github-projectsSkill
- gitSkill
- goal-treeSkill
- handoffSkill
- improvement-loopSkill
- kb-captureSkill
- kb-compileSkill
- kb-coreSkill
- kb-lessons-bridgeSkill
- kb-lintSkill
- l1-supervisorSkill
- l2-supervisorSkill
- lessons-learnedSkill
- lN-lifecycle-doctrineSkill
- lN-review-doctrineSkill
- medical-recordsSkill
- operator-interview-doctrineSkill
- operator-interviewSkill
- operator-reviewSkill
- planning-workflowSkill
- pr-review-fanoutSkill
- pull-taskSkill
- ralph-wiggumSkill
- reviewSkill
- root-cause-depthSkill
- scan-documentSkill
- self-improvementSkill
- self-verifySkill
- skillifySkill
- task-workflowSkill
- testing-without-mocksSkill
- verify-inherited-premiseSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Read and write the Obsidian vault from a cloud session using git as the transport.
- Very specific: line 22
Use this skill only when the local vault is not reachable — i.e.
- Very specific: line 46
No
obsidianCLI: No Templater (<% tp.date.now() %>), no property registry. - Very specific: line 62
Step 1 — Setup (always first): Ensure the vault clone exists and _meta/ is loaded.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Vault Cloud
Read and write the Obsidian vault from a cloud session using git as the transport.
When this applies
Use this skill only when the local vault is not reachable — i.e. a Claude Code on the web /
container / cloud session with no macOS Obsidian app, no obsidian CLI, no
~/.claude/hosts/<hostname>.md. On the Mac, the obsidian-notes CLI and the skills that build
on it (compound, kb-capture/kb-compile/kb-lint, lessons-learned, operator-interview)
already own vault I/O — do not use this skill there.
How to tell you're in the cloud case: ~/.claude/skills/obsidian-notes/scripts/host-config.sh
does not exist (or, sourced, leaves OBSIDIAN_CLI unset). That is this skill's trigger.
What git gives, and what it doesn't
The vault (the repo named in OBSIDIAN_VAULT_REPO — see operations/setup.md) is plain
markdown + YAML frontmatter and clones in seconds. Once cloned:
- Read/search works natively via ripgrep over frontmatter and body.
- Writing works by creating
YYYY/MM/YYYY-MM-DD-<slug>.mdand committing.
Two things do not cross the git boundary, and this skill is explicit about both:
- No semantic search.
.obsidian/and.smart-env/are gitignored, so the QMD collection and embeddings live only on the Mac. Cloud search is lexical (ripgrep), not hybrid BM25+vector. Good for "find the note about X"; not a substitute for QMD retrieval. (A cloud-side semantic option is deliberately unbuilt — seedocs/obsidian-vault-cloud-access.md"Open decisions".) - No
obsidianCLI. No Templater (<% tp.date.now() %>), no property registry. So a note written here must emit resolved frontmatter and self-validate against the vault's own contract. That is whatscripts/vault_compliance.pyis for.
Compliance is defined by the vault, not by this skill
"Compliant" means: obeys _meta/agent-contract.md (path scheme, don't invent
type/area/project values, don't touch _meta/, don't reorganize) and uses only the field
values in _meta/vocabulary.md. Those live files are the source of truth — this skill reads
them from the clone every run and never hardcodes the vocabulary, because it drifts (see
references/compliance-contract.md).
Execution
Dispatch on the argument (search, write, or setup; blank → ask):
Step 1 — Setup (always first). Ensure the vault clone exists and _meta/ is loaded.
Read(file_path: "${CLAUDE_PLUGIN_ROOT}/skills/vault-cloud/operations/setup.md")Step 2 — Run the requested operation.
| Operation | File | When |
| Search | operations/search.md | search <query> — find notes (lexical) |
| Write note | operations/write-note.md | write <description> — record a compliant note, commit to a dedicated branch |
Write isolation (why a branch, not main)
The local Obsidian app is the vault's primary writer and carries uncommitted churn (Readwise
plugin, smart-env). Cloud writes therefore land on a dedicated cloud/<date>-<topic> branch
and are pushed there for the operator to merge — never committed straight to main. write-note
enforces this.
Integration Points
scripts/vault_compliance.py— pure, unit-tested primitives:parse_vocabulary,slugify/note_path,emit_frontmatter(fm-emit quoting discipline),validate_frontmatter. Tests:scripts/test_vault_compliance.py(stdlibunittest).- The vault repo (private; resolved from
OBSIDIAN_VAULT_REPO, thenadd_repo+ clone)._meta/agent-contract.mdand_meta/vocabulary.mdare the compliance source of truth. docs/obsidian-vault-cloud-access.md— the design/options doc this skill implements.references/compliance-contract.md— the cloud-specific rules layered on the vault contract.
See Also
compound,kb-capture— the local vault writers this skill mirrors from the cloud.skills/task-workflow/references/solution-search.md— the QMD search protocol that is not available from the cloud (the gap this skill's lexical search fills).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

