Agent skill · Audited from source
Obsidian Common Errors
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: Diagnose and fix common Obsidian plugin errors and exceptions.
Cite
Cite this page
ModelsAtlas. “Obsidian Common Errors (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/obsidian-common-errors
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-common-errorsThe 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: Diagnose and fix common Obsidian plugin errors and exceptions.
--- name: obsidian-common-errors description: 'Diagnose and fix common Obsidian plugin errors and exceptions. Use when encountering plugin errors, debugging failed operations, or troubleshooting Obsidian plugin issues. Trigger with phrases like "obsidian error", "fix obsidian plugin", "obsidian not working", "debug obsidian plugin". ' allowed-tools: Read, Grep, Bash(node:*) version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - obsidian - debugging compatibility: Designed for Claude Code --- # Obsidian Common Errors ## Overview Diagnostic guide for the six most frequent Obsidian plugin development errors, with root causes and copy-paste fixes. ## Prerequisites - Obsidian plugin development environment set up - Access to Developer Console (Ctrl/Cmd+Shift+I) - Plugin source code access ## Instructions ### Step 1: "Cannot read properties of null" — Workspace Not Ready Accessing `app.workspace.activeLeaf` or `app.workspace.getActiveViewOfType()` before the layout is initialized returns `null`. ```typescript // BROKEN: accessing workspace immediately in onload async onload() { const view = this.app.workspace.getActiveViewOfType(MarkdownView); // TypeError: Cannot read properties of null (reading 'editor') view.editor.replaceSelection('hello'); } // FIXED: wait for layout-ready event async onload() { this.app.workspace.onLayoutReady(() => { const view = this.app.workspace.getActiveViewOfType(MarkdownView); if (view) { view.editor.replaceSelection('hello'); } }); } ``` For commands that need workspace access later (not at load time), guard with a null check: ```typescript this.addCommand({ id: 'my-command', name: 'Do Something', checkCallback: (checking: boolean) => { const view = this.app.workspace.getActiveViewOfType(MarkdownView); if (view) { if (!checking) { // safe to use view.editor here view.editor.replaceSelection('inserted'); } return true; } return false; } }); ``` ### Step 2: "Plugin failed to load" — Syntax or Manifest Errors This error appears in the console when Obsidian cannot parse your built `main.js` or your `manifest.json` is invalid. **Check 1: Build output exists and compiles cleanly** ```bash set -euo pipefail npm run build 2>&1 # Look for TypeScript errors in output ls -la main.js # Must exist in plugin root ``` **Check 2: manifest.json has all required fields** ```json { "id": "my-plugin", "name": "My Plugin", "version": "1.0.0", "minAppVersion": "0.15.0", "description": "Does something useful", "author": "Your Name", "isDesktopOnly": false } ``` Missing `id`, `name`, `version`, or `minAppVersion` causes a silent load failure. The `id` must match the folder name under `.obsidian/plugins/`. **Check 3: Default export** ```typescript // BROKEN: named export export class MyPlugin extends Plugin { ... } // FIXED: default export required export default class MyPlugin extends Plugin { ... } ``` ### Step 3: CSS Not Loading — Wrong styles.css Path Obsidian auto-loads `styles.css` from the plugin root directory. It must be named exactly `styles.css` (not `style.css`, not in a subdirectory). ```bash set -euo pipefail # Verify all three required files exist in plugin root ls -la styles.css manifest.json main.js ``` If you use a CSS preprocessor, ensure the build outputs to `./styles.css`: ```json { "scripts": { "build:css": "sass src/styles.scss styles.css", "build": "npm run build:css && node esbuild.config.mjs" } } ``` Common gotcha: the file must be `styles.css` (plural), not `style.css`. ### Step 4: Commands Not Showing in Palette Commands registered outside `onload()` or after the plugin is enabled won't appear in the command palette. ```typescript // BROKEN: adding command in a separate method called conditionally async onload() { await this.loadSettings(); // command never added because registerCommands is not called } registerCommands() { this.addCommand({ id: 'test', name: 'Test', callback: () => {} }); } // FIXED: add all commands directly in onload async onload() { await this.loadSettings(); this.addCommand({ id: 'test', name: 'Test', callback: () => { new Notice('Working!'); } }); } ``` If a command should only be available when a markdown file is open, use `editorCallback` instead of `callback` — Obsidian automatically hides it when no editor is active: ```typescript this.addCommand({ id: 'editor-only', name: 'Editor Only Command', editorCallback: (editor: Editor) => { editor.replaceSelection('inserted text'); } }); ``` ### Step 5: Vault Read Errors — File Doesn't Exist `vault.read()` and `vault.cachedRead()` throw if the file doesn't exist. Always check first. ```typescript // BROKEN: assumes file exists async readConfig() { const content = await this.app.vault.adapter.read('config.json'); return JSON.parse(content); } // FIXED: check existence, handle missing file async readConfig(): Promise<MyConfig> { const path = 'config.json'; const exists = await this.app.vault.adapter.exists(path); if (!exists) { return { ...DEFAULT_CONFIG }; } try { const content = await this.app.vault.adapter.read(path); return JSON.parse(content); } catch (e) { console.error('Failed to parse config:', e); return { ...DEFAULT_CONFIG }; } } ``` For vault files (TFile objects), use `getAbstractFileByPath`: ```typescript const file = this.app.vault.getAbstractFileByPath('notes/target.md'); if (file instanceof TFile) { const content = await this.app.vault.read(file); // process content } else { new Notice('File not found: notes/target.md'); } ``` ### Step 6: Settings Not Persisting — Missing saveData Call The most common settings bug: modifying the settings object without calling `saveData`. ```typescript // BROKEN: settings change lost on restart this.settings.theme = 'dark'; // forgot to call sav
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
npm install -g obsidian-hot-reload
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
Commands as the repository documents them: shown, never run by us. 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-common-errors/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar 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-common-errors/)
<a href="https://modelsatlas.com/skills/jeremylongshore/obsidian-common-errors/"><img src="https://modelsatlas.com/skills/jeremylongshore/obsidian-common-errors/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Obsidian Common Errors
What does the Obsidian Common Errors skill do?
Is Obsidian Common Errors safe to install?
What can Obsidian Common Errors access on my machine?
Which assistants does Obsidian Common Errors 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 Common Errors skill do?
- Is Obsidian Common Errors safe to install?
- What can Obsidian Common Errors access on my machine?