Agent skill · Audited from source
Obsidian Data Handling
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 9 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Implement vault data backup, sync, and recovery strategies.
Cite
Cite this page
ModelsAtlas. “Obsidian Data Handling (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/obsidian-data-handling
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/obsidian-pack/skills/obsidian-data-handlingThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Implement vault data backup, sync, and recovery strategies.
--- name: obsidian-data-handling description: 'Implement vault data backup, sync, and recovery strategies. Use when building backup features, implementing data export, or handling vault synchronization in your plugin. Trigger with phrases like "obsidian backup", "obsidian sync", "obsidian data export", "vault backup strategy". ' allowed-tools: Read, Write, Edit version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - obsidian - backup compatibility: Designed for Claude Code --- # Obsidian Data Handling ## Overview Data management patterns for Obsidian plugins: plugin config with loadData/saveData, vault file I/O, frontmatter parsing via metadataCache, handling renames and deletes, cross-device sync considerations, and IndexedDB fallback for large datasets. ## Prerequisites - Working Obsidian plugin (`export default class extends Plugin`) - Understanding of Obsidian's `Vault` and `MetadataCache` APIs - TypeScript compilation configured ## Instructions ### Step 1: Plugin Config with loadData / saveData Obsidian stores plugin data in `.obsidian/plugins/<plugin-id>/data.json`. Use `loadData()` and `saveData()` — never read that file directly. ```typescript interface PluginConfig { version: number; apiEndpoint: string; syncInterval: number; excludedFolders: string[]; } const DEFAULT_CONFIG: PluginConfig = { version: 1, apiEndpoint: 'https://api.example.com', syncInterval: 300, excludedFolders: [], }; export default class DataPlugin extends Plugin { config: PluginConfig; async onload() { await this.loadConfig(); } async loadConfig() { const saved = await this.loadData(); this.config = Object.assign({}, DEFAULT_CONFIG, saved); // Migrate from older config versions if (this.config.version < 1) { this.config.excludedFolders = []; this.config.version = 1; await this.saveConfig(); } } async saveConfig() { await this.saveData(this.config); } } ``` `loadData()` returns `null` on first run — `Object.assign` onto defaults handles this cleanly. ### Step 2: Reading and Writing Vault Files ```typescript import { TFile, TFolder, normalizePath } from 'obsidian'; // Read a markdown file async readNote(path: string): Promise<string | null> { const file = this.app.vault.getAbstractFileByPath(normalizePath(path)); if (file instanceof TFile) { return await this.app.vault.read(file); } return null; } // Write or create a markdown file async writeNote(path: string, content: string): Promise<TFile> { const normalized = normalizePath(path); const existing = this.app.vault.getAbstractFileByPath(normalized); if (existing instanceof TFile) { await this.app.vault.modify(existing, content); return existing; } // Ensure parent folder exists const dir = normalized.substring(0, normalized.lastIndexOf('/')); if (dir && !this.app.vault.getAbstractFileByPath(dir)) { await this.app.vault.createFolder(dir); } return await this.app.vault.create(normalized, content); } // Append to a file (e.g., a log or journal) async appendToNote(path: string, text: string): Promise<void> { const file = this.app.vault.getAbstractFileByPath(normalizePath(path)); if (file instanceof TFile) { await this.app.vault.append(file, '\n' + text); } } ``` Use `vault.cachedRead()` instead of `vault.read()` when you don't need the absolute latest content — it avoids hitting disk on every call. ### Step 3: Working with Frontmatter via MetadataCache Never parse YAML frontmatter manually. Obsidian's `metadataCache` keeps a parsed cache of every file's frontmatter. ```typescript import { TFile, CachedMetadata } from 'obsidian'; // Read frontmatter from a file getFrontmatter(file: TFile): Record<string, any> | null { const cache: CachedMetadata | null = this.app.metadataCache.getFileCache(file); return cache?.frontmatter ?? null; } // Update frontmatter using processFrontMatter (Obsidian 1.4+) async setStatus(file: TFile, status: string): Promise<void> { await this.app.fileManager.processFrontMatter(file, (fm) => { fm.status = status; fm.updated = new Date().toISOString(); }); } // Bulk query: find all files with a specific tag getFilesWithTag(tag: string): TFile[] { const files: TFile[] = []; for (const file of this.app.vault.getMarkdownFiles()) { const cache = this.app.metadataCache.getFileCache(file); const tags = cache?.tags?.map(t => t.tag) ?? []; const fmTags = cache?.frontmatter?.tags ?? []; if (tags.includes(tag) || fmTags.includes(tag.replace('#', ''))) { files.push(file); } } return files; } ``` `processFrontMatter` handles YAML serialization correctly — it preserves comments and formatting, and is the only safe way to update frontmatter programmatically. ### Step 4: Handling File Renames and Deletes Plugins that index file paths must update their state when files move or disappear. ```typescript async onload() { // Track renames to update internal references this.registerEvent( this.app.vault.on('rename', (file, oldPath) => { if (file instanceof TFile) { this.onFileRenamed(file, oldPath); } }) ); // Clean up when files are deleted this.registerEvent( this.app.vault.on('delete', (file) => { if (file instanceof TFile) { this.onFileDeleted(file.path); } }) ); } private onFileRenamed(file: TFile, oldPath: string) { // Update any stored path references if (this.config.pinnedFiles?.includes(oldPath)) { const idx = this.config.pinnedFiles.indexOf(oldPath); this.config.pinnedFiles[idx] = file.path; this.saveConfig(); } } private onFileDeleted(path: string) { // Remove from any indexes if (this.config.pinnedFiles?.includes(path)) { this.config.pinnedFiles = this.config.pinnedFiles.filter(p => p !== path); this.saveConfig(); } } ``` Always use `registerEvent` — it automatically cleans up the listen
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/obsidian-data-handling/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All data & analysis skills →jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/obsidian-data-handling/)
<a href="https://modelsatlas.com/skills/jeremylongshore/obsidian-data-handling/"><img src="https://modelsatlas.com/skills/jeremylongshore/obsidian-data-handling/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Obsidian Data Handling
What does the Obsidian Data Handling skill do?
Is Obsidian Data Handling safe to install?
What can Obsidian Data Handling access on my machine?
Which assistants does Obsidian Data Handling work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Obsidian Data Handling skill do?
- Is Obsidian Data Handling safe to install?
- What can Obsidian Data Handling access on my machine?