Agent skill · Audited from source
Obsidian Performance Tuning
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: Optimize Obsidian plugin performance for smooth operation in large vaults.
Cite
Cite this page
ModelsAtlas. “Obsidian Performance Tuning (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/obsidian-performance-tuning
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-performance-tuningThe 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: Optimize Obsidian plugin performance for smooth operation in large vaults.
--- name: obsidian-performance-tuning description: 'Optimize Obsidian plugin performance for smooth operation in large vaults. Use when experiencing lag, memory issues, slow startup, or optimizing plugin code for vaults with thousands of files. Trigger with phrases like "obsidian performance", "obsidian slow", "optimize obsidian plugin", "obsidian memory usage", "obsidian lag". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Grep version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - obsidian - performance - optimization - memory - profiling compatibility: Designed for Claude Code --- # Obsidian Performance Tuning ## Overview Optimize Obsidian plugin performance for large vaults (10,000+ files): profile bottlenecks with DevTools, implement lazy initialization, process files in batches with UI yielding, use LRU caches with bounded memory, debounce event handlers, and optimize DOM rendering with virtual scrolling and DocumentFragment. ## Prerequisites - Working Obsidian plugin with at least one performance concern - Developer Console access (Ctrl+Shift+I / Cmd+Option+I) - Understanding of async JavaScript and the event loop ## Performance Benchmarks | Metric | Good | Warning | Critical | |--------|------|---------|----------| | Plugin load time (`onload`) | < 100ms | 100-500ms | > 500ms | | Command execution | < 50ms | 50-200ms | > 200ms | | Single file operation | < 10ms | 10-50ms | > 50ms | | Memory increase on load | < 10MB | 10-50MB | > 50MB | | Event handler execution | < 5ms | 5-20ms | > 20ms | ## Instructions ### Step 1: Profile with DevTools Performance Tab ```typescript // Add timing instrumentation to identify bottlenecks export default class MyPlugin extends Plugin { async onload() { const loadStart = performance.now(); await this.loadSettings(); console.log(`[perf] loadSettings: ${(performance.now() - loadStart).toFixed(1)}ms`); const indexStart = performance.now(); await this.buildIndex(); console.log(`[perf] buildIndex: ${(performance.now() - indexStart).toFixed(1)}ms`); const cmdStart = performance.now(); this.registerCommands(); console.log(`[perf] registerCommands: ${(performance.now() - cmdStart).toFixed(1)}ms`); console.log(`[perf] total onload: ${(performance.now() - loadStart).toFixed(1)}ms`); } } ``` For deeper analysis, use the DevTools Performance tab: 1. Open DevTools (Ctrl+Shift+I) 2. Go to Performance tab 3. Click Record 4. Toggle your plugin off/on in Settings > Community Plugins 5. Stop recording 6. Look for long tasks (yellow bars > 50ms) in the flame chart ### Step 2: Lazy Initialization — Defer Expensive Work ```typescript // BAD: build index on load (blocks startup) async onload() { this.index = await this.buildFullIndex(); // 2 seconds on large vaults } // GOOD: lazy — build on first use export default class MyPlugin extends Plugin { private _index: Map<string, string[]> | null = null; private indexPromise: Promise<Map<string, string[]>> | null = null; async getIndex(): Promise<Map<string, string[]>> { if (this._index) return this._index; if (!this.indexPromise) { this.indexPromise = this.buildFullIndex().then(idx => { this._index = idx; this.indexPromise = null; return idx; }); } return this.indexPromise; } async onload() { // Register commands immediately — index builds on first command use this.addCommand({ id: 'search', name: 'Search indexed notes', callback: async () => { const index = await this.getIndex(); // builds on first call only // ... use index }, }); } private async buildFullIndex(): Promise<Map<string, string[]>> { const index = new Map<string, string[]>(); const files = this.app.vault.getMarkdownFiles(); for (const file of files) { const cache = this.app.metadataCache.getFileCache(file); if (cache?.tags) { index.set(file.path, cache.tags.map(t => t.tag)); } } return index; } } ``` ### Step 3: Batch File Processing with UI Yielding ```typescript import { TFile, Notice } from 'obsidian'; async processAllFiles(statusEl?: HTMLElement): Promise<number> { const files = this.app.vault.getMarkdownFiles(); const BATCH_SIZE = 50; let processed = 0; for (let i = 0; i < files.length; i += BATCH_SIZE) { const batch = files.slice(i, i + BATCH_SIZE); for (const file of batch) { // Use cachedRead — avoids hitting disk on every call const content = await this.app.vault.cachedRead(file); this.processContent(file, content); processed++; } // Yield to UI thread — prevents "not responding" dialog await sleep(0); // Update progress if (statusEl) { const pct = Math.round((processed / files.length) * 100); statusEl.setText(`Processing: ${pct}% (${processed}/${files.length})`); } } return processed; } // Helper: Obsidian exports sleep(), or use this function sleep(ms: number): Promise<void> { return new Promise(resolve => setTimeout(resolve, ms)); } ``` ### Step 4: LRU Cache for Bounded Memory ```typescript // src/services/lru-cache.ts export class LRUCache<K, V> { private cache = new Map<K, V>(); constructor(private maxSize: number) {} get(key: K): V | undefined { const value = this.cache.get(key); if (value !== undefined) { // Move to end (most recently used) this.cache.delete(key); this.cache.set(key, value); } return value; } set(key: K, value: V) { this.cache.delete(key); // remove if exists (reinserts at end) this.cache.set(key, value); if (this.cache.size > this.maxSize) { // Evict oldest (first) entry const oldest = this.cache.keys().next().value; if (oldest !== undefined) this.cache.delete(oldest); } } has(key: K): boolean { return this.cache.has(key); } delete(key: K): boolean { return this.cache.d
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-performance-tuning/)
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-performance-tuning/)
<a href="https://modelsatlas.com/skills/jeremylongshore/obsidian-performance-tuning/"><img src="https://modelsatlas.com/skills/jeremylongshore/obsidian-performance-tuning/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Obsidian Performance Tuning
What does the Obsidian Performance Tuning skill do?
Is Obsidian Performance Tuning safe to install?
What can Obsidian Performance Tuning access on my machine?
Which assistants does Obsidian Performance Tuning 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 Performance Tuning skill do?
- Is Obsidian Performance Tuning safe to install?
- What can Obsidian Performance Tuning access on my machine?