[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M793R6YDC3MFHXF0VWVM44B7":3,"skill-same:01M793R6YDC3MFHXF0VWVM44B7":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M793R6YDC3MFHXF0VWVM44B7","obsidian-incident-runbook",null,"Troubleshoot Obsidian plugin failures with systematic incident response.\nUse when plugins crash, data is corrupted, or users report critical issues\nwith your Obsidian plugin.\nTrigger with phrases like \"obsidian crash\", \"obsidian plugin broken\",\n\"obsidian incident\", \"debug obsidian failure\", \"obsidian emergency\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--obsidian-pack--obsidian-incident-runbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: obsidian-incident-runbook\ndescription: |\n  Troubleshoot Obsidian plugin failures with systematic incident response.\n  Use when plugins crash, data is corrupted, or users report critical issues\n  with your Obsidian plugin.\n  Trigger with phrases like \"obsidian crash\", \"obsidian plugin broken\",\n  \"obsidian incident\", \"debug obsidian failure\", \"obsidian emergency\".\nallowed-tools: Read, Grep, Bash(node:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, obsidian, debugging, incident-response]\n---\n# Obsidian Incident Runbook\n\n## Overview\nSystematic procedures for diagnosing and resolving Obsidian failures: plugin crashes, vault corruption, sync conflicts, performance degradation, and broken CSS\u002Fthemes. Each section is a self-contained runbook -- jump to the relevant one.\n\n## Prerequisites\n- Access to the affected Obsidian vault directory\n- Developer Console access (Ctrl+Shift+I \u002F Cmd+Option+I)\n- Terminal access for filesystem operations\n- Backup awareness (know where your backups are before making changes)\n\n## Instructions\n\n### Step 1: Quick Triage\n\nDetermine the category before diving in:\n\n| Symptom | Category | Go to |\n|---------|----------|-------|\n| Obsidian crashes on open or plugin enable | Plugin crash | Step 2 |\n| Notes missing, corrupted, or garbled | Vault corruption | Step 3 |\n| Duplicate files, conflicting edits | Sync conflicts | Step 4 |\n| Obsidian slow, high CPU\u002Fmemory, lag while typing | Performance | Step 5 |\n| UI elements missing, wrong colors, broken layout | CSS\u002FTheme | Step 6 |\n\n### Step 2: Plugin Crash Recovery\n\n**Immediate: Enter Safe Mode**\n\nIf Obsidian crashes on startup, force safe mode:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Option A: Disable all community plugins\necho '[]' > \"$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json\"\n\n# Option B: Disable a specific suspect plugin\npython3 -c \"\nimport json\nplugins = json.load(open('$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json'))\nsuspect = 'plugin-id-here'\nif suspect in plugins:\n    plugins.remove(suspect)\n    json.dump(plugins, open('$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json', 'w'))\n    print(f'Disabled {suspect}')\nelse:\n    print(f'{suspect} not in active plugins')\n\"\n```\n\nReopen Obsidian. If it loads, the disabled plugin was the cause.\n\n**Diagnose from Console**\n\nOpen Developer Console (Ctrl+Shift+I) and look for errors:\n\n```javascript\n\u002F\u002F Check for plugin load failures\nObject.entries(app.plugins.manifests).forEach(([id, manifest]) => {\n  const loaded = app.plugins.plugins[id];\n  if (!loaded) console.error(`FAILED TO LOAD: ${id} v${manifest.version}`);\n});\n\n\u002F\u002F Check for unhandled rejections in recent history\n\u002F\u002F (must be open before reproducing the issue)\nwindow.addEventListener('unhandledrejection', (e) => {\n  console.error('Unhandled rejection:', e.reason);\n});\n```\n\n**Binary search for the offending plugin**\n\nIf multiple plugins could be the cause:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\nPLUGINS_FILE=\"$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json\"\n\n# Save original list\ncp \"$PLUGINS_FILE\" \"$PLUGINS_FILE.bak\"\n\n# Get all plugins\npython3 -c \"\nimport json\nplugins = json.load(open('$PLUGINS_FILE'))\nhalf = len(plugins) \u002F\u002F 2\n\n# Enable only first half\njson.dump(plugins[:half], open('$PLUGINS_FILE', 'w'))\nprint(f'Enabled {half} of {len(plugins)} plugins: {plugins[:half]}')\nprint(f'Disabled: {plugins[half:]}')\nprint('Open Obsidian. If it crashes, problem is in first half. If stable, second half.')\n\"\n```\n\nRepeat halving until you isolate the single offending plugin.\n\n### Step 3: Vault Corruption Recovery\n\n**Check for corrupted files**\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Find files with null bytes (corruption indicator)\necho \"=== Files with null bytes ===\"\nfind \"$VAULT_PATH\" -name '*.md' -not -path '*\u002F.obsidian\u002F*' -exec grep -Pl '\\x00' {} \\;\n\n# Find zero-byte files (likely lost content)\necho \"=== Empty files ===\"\nfind \"$VAULT_PATH\" -name '*.md' -not -path '*\u002F.obsidian\u002F*' -empty\n\n# Find files with broken YAML frontmatter\necho \"=== Broken frontmatter ===\"\nfor f in \"$VAULT_PATH\"\u002F*.md \"$VAULT_PATH\"\u002F**\u002F*.md; do\n  [ -f \"$f\" ] || continue\n  if head -1 \"$f\" | grep -q '^---' && ! awk '\u002F^---\u002F{c++; if(c==2) exit 0} END{exit (c\u003C2)}' \"$f\"; then\n    echo \"  Unclosed frontmatter: $f\"\n  fi\ndone\n```\n\n**Recover from .trash**\n\nObsidian moves deleted files to `.trash\u002F` in the vault:\n\n```bash\n# List recently deleted files\nls -lt \"$VAULT_PATH\u002F.trash\u002F\" 2>\u002Fdev\u002Fnull | head -20\n\n# Restore a specific file\ncp \"$VAULT_PATH\u002F.trash\u002Fimportant-note.md\" \"$VAULT_PATH\u002Frecovered\u002F\"\n```\n\n**Recover from Git backup**\n\nIf the vault is under Git version control:\n\n```bash\ncd \"$VAULT_PATH\"\n\n# See what changed recently\ngit log --oneline -20\ngit diff HEAD~1 --stat\n\n# Restore a specific file to its last good state\ngit checkout HEAD~1 -- \"path\u002Fto\u002Fcorrupted-note.md\"\n\n# Restore the entire vault to last commit (DESTRUCTIVE -- stash first)\ngit stash\ngit checkout HEAD -- .\n```\n\n**Recover from filesystem snapshots**\n\n```bash\n# macOS Time Machine\ntmutil listbackups 2>\u002Fdev\u002Fnull | tail -5\n# Then browse: \u002FVolumes\u002FTimeMachine\u002FBackups.backupdb\u002F...\u002Fpath\u002Fto\u002Fvault\n\n# Linux (btrfs snapshots)\nls \u002F.snapshots\u002F 2>\u002Fdev\u002Fnull\n```\n\n### Step 4: Sync Conflict Resolution\n\n**Obsidian Sync conflicts**\n\nObsidian Sync creates conflict files named `Note (conflict YYYY-MM-DD).md`:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Find all conflict files\necho \"=== Sync Conflicts ===\"\nfind \"$VAULT_PATH\" -name '*conflict*' -not -path '*\u002F.obsidian\u002F*'\n\n# Compare a conflict with its original\nORIGINAL=\"$VAULT_PATH\u002FMeeting Notes.md\"\nCONFLICT=$(find \"$VAULT_PATH\" -name \"Meeting Notes*conflict*\" | head -1)\nif [ -n \"$CONFLICT\" ]; then\n  diff \"$ORIGINAL\" \"$CONFLICT\"\nfi\n```\n\nResolution: Open both files in Obsidian, manually merge content into the original, delete the conflict file.\n\n**Git sync conflicts**\n\n```bash\ncd \"$VAULT_PATH\"\n\n# Check for merge conflicts\ngit status | grep 'both modified'\n\n# For each conflicted file, resolve the conflict markers\n# \u003C\u003C\u003C\u003C\u003C\u003C\u003C HEAD\n# (your changes)\n# =======\n# (their changes)\n# >>>>>>> branch\ngrep -rl '\u003C\u003C\u003C\u003C\u003C\u003C\u003C ' \"$VAULT_PATH\"\u002F*.md 2>\u002Fdev\u002Fnull\n```\n\n**Prevent future conflicts**\n\nIn `.obsidian\u002Fsync.json` or your Git workflow:\n- Exclude `workspace.json` and `workspace-mobile.json` from sync (per-device files)\n- Avoid editing the same note on two devices simultaneously\n- For Git: commit and push frequently; pull before editing\n\n### Step 5: Performance Degradation\n\n**Diagnose the bottleneck**\n\n```javascript\n\u002F\u002F Paste in Developer Console\n\n\u002F\u002F Check memory usage\nconsole.log('Memory:', JSON.stringify(performance.memory, null, 2));\n\n\u002F\u002F Time plugin load\nObject.entries(app.plugins.plugins).forEach(([id, plugin]) => {\n  const start = performance.now();\n  \u002F\u002F Plugins are already loaded, but check their event listener count\n  const events = plugin._events?.length || 0;\n  console.log(`${id}: ${events} event listeners`);\n});\n\n\u002F\u002F Check for expensive metadata cache operations\nconsole.time('metadataCache');\nconst allFiles = app.vault.getMarkdownFiles();\nallFiles.forEach(f => app.metadataCache.getFileCache(f));\nconsole.timeEnd('metadataCache');\nconsole.log(`Files scanned: ${allFiles.length}`);\n```\n\n**Disable plugins one by one**\n\nSystematic approach to find the performance culprit:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\nPLUGINS_FILE=\"$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json\"\n\n# Save original\ncp \"$PLUGINS_FILE\" \"$PLUGINS_FILE.bak\"\n\n# Get plugin list\npython3 -c \"\nimport json\nplugins = json.load(open('$PLUGINS_FILE'))\nprint('Current plugins:')\nfor i, p in enumerate(plugins):\n    print(f'  {i}: {p}')\nprint(f'\\nTotal: {len(plugins)} plugins')\nprint('\\nTo disable one at a time:')\nfor p in plugins:\n    without = [x for x in plugins if x != p]\n    print(f'  Without {p}: {len(without)} remaining')\n\"\n```\n\nThen for each suspect:\n1. Remove it from `community-plugins.json`\n2. Restart Obsidian\n3. Test performance\n4. If improved, that plugin is the bottleneck\n5. If unchanged, restore it and try the next\n\n**Common performance fixes**\n- Vault with 10,000+ files: disable Dataview's automatic refresh, use lazy loading\n- Many backlinks: disable backlinks panel or set it to collapsed by default\n- Large files (1MB+): split into smaller notes using note refactoring\n- Too many plugins (20+): audit and remove unused plugins\n\n### Step 6: CSS and Theme Issues\n\n**Nuclear option: Reset all custom CSS**\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Disable all CSS snippets\npython3 -c \"\nimport json\ntry:\n    a = json.load(open('$VAULT_PATH\u002F.obsidian\u002Fappearance.json'))\n    a['enabledCssSnippets'] = []\n    a['cssTheme'] = ''  # Reset to default theme\n    json.dump(a, open('$VAULT_PATH\u002F.obsidian\u002Fappearance.json', 'w'), indent=2)\n    print('Reset theme and disabled all snippets')\nexcept Exception as e:\n    print(f'Error: {e}')\n\"\n```\n\nRestart Obsidian. If the UI is fixed, re-enable snippets and theme one at a time.\n\n**Check for CSS conflicts**\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Find snippets with aggressive selectors\nfor snippet in \"$VAULT_PATH\u002F.obsidian\u002Fsnippets\"\u002F*.css; do\n  [ -f \"$snippet\" ] || continue\n  name=$(basename \"$snippet\")\n  important_count=$(grep -c '!important' \"$snippet\" 2>\u002Fdev\u002Fnull)\n  if [ \"$important_count\" -gt 0 ]; then\n    echo \"$name: $important_count !important declarations\"\n  fi\ndone\n\n# Check theme compatibility with current Obsidian version\nTHEME_DIR=\"$VAULT_PATH\u002F.obsidian\u002Fthemes\"\nfor theme in \"$THEME_DIR\"\u002F*\u002Fmanifest.json; do\n  [ -f \"$theme\" ] || continue\n  python3 -c \"\nimport json\nm = json.load(open('$theme'))\nprint(f\\\"{m.get('name')}: minAppVersion={m.get('minAppVersion', 'unspecified')}\\\")\n\"\ndone\n```\n\n**Diagnose specific CSS problems**\n\nIn Developer Console:\n\n```javascript\n\u002F\u002F Find which CSS rule is affecting a specific element\n\u002F\u002F Right-click the broken element -> Inspect\n\u002F\u002F In the Elements panel, check Computed styles and look for overrides\n\n\u002F\u002F Programmatically check for theme variable conflicts\nconst root = getComputedStyle(document.body);\nconst vars = [\n  '--background-primary', '--background-secondary',\n  '--text-normal', '--text-accent',\n  '--interactive-accent', '--interactive-hover'\n];\nvars.forEach(v => console.log(`${v}: ${root.getPropertyValue(v)}`));\n```\n\n## Output\n- Identified root cause of the incident\n- Applied fix (plugin disabled, file recovered, conflict resolved, CSS reset)\n- Documented what happened for future reference\n- Preventive measures configured (backups, sync exclusions, performance monitoring)\n\n## Error Handling\n| Issue | Cause | Quick Fix |\n|-------|-------|-----------|\n| Console won't open (Obsidian crashes immediately) | Plugin error in `onload()` | Disable all plugins via filesystem (Step 2) |\n| Can't access vault directory | Filesystem permissions | `chmod -R u+rw \"$VAULT_PATH\"` |\n| Plugin won't disable via `community-plugins.json` | File locked by sync | Stop sync service, edit file, restart |\n| Obsidian hangs (not crashing, just frozen) | Infinite loop in plugin | Force-quit (kill process), then disable suspect plugin |\n| Safe mode still crashes | Core Obsidian issue, not plugins | Reinstall Obsidian; vault data is separate from app |\n| Recovery file also corrupted | Filesystem-level issue | Check disk health (`fsck`, `diskutil`, `chkdsk`) |\n\n## Examples\n\n**Plugin crash on startup**: User reports Obsidian instantly closes after opening a vault. Enter safe mode by clearing `community-plugins.json` (Step 2). Reopen works. Binary search reveals `obsidian-excalidraw` conflicts with a newly installed `obsidian-kanban`. Disable one, report the conflict to both plugin authors.\n\n**Missing notes after sync**: User opens vault on laptop, 20 notes are gone. Check `.trash\u002F` -- empty. Check Git log -- notes were deleted in a commit from their phone. `git checkout HEAD~3 -- missing-folder\u002F` restores them. Add the folder to selective sync to prevent mobile edits.\n\n**Slow vault with 8,000 notes**: Obsidian takes 15 seconds to open and typing lags. Developer Console shows `metadataCache` taking 4 seconds. Disabling Dataview drops it to 1 second. Solution: configure Dataview to use manual refresh instead of auto-refresh, and add `dv.pages` limits to expensive queries.\n\n## Resources\n- [Obsidian Forum - Bug Reports](https:\u002F\u002Fforum.obsidian.md\u002Fc\u002Fbug-reports\u002F7)\n- [Obsidian Discord - Help](https:\u002F\u002Fdiscord.gg\u002Fobsidianmd)\n- [Plugin Developer Documentation](https:\u002F\u002Fdocs.obsidian.md\u002FPlugins)\n- [Obsidian Safe Mode](https:\u002F\u002Fhelp.obsidian.md\u002FExtending+Obsidian\u002FSafe+mode)\n- [Obsidian Sync Troubleshooting](https:\u002F\u002Fhelp.obsidian.md\u002FObsidian+Sync\u002FTroubleshoot+Obsidian+Sync)\n\n## Next Steps\nFor collecting detailed diagnostics to share with plugin developers, see `obsidian-debug-bundle`. For data backup and recovery strategies, see `obsidian-data-handling`.\n","# Obsidian Incident Runbook\n\n## Overview\nSystematic procedures for diagnosing and resolving Obsidian failures: plugin crashes, vault corruption, sync conflicts, performance degradation, and broken CSS\u002Fthemes. Each section is a self-contained runbook -- jump to the relevant one.\n\n## Prerequisites\n- Access to the affected Obsidian vault directory\n- Developer Console access (Ctrl+Shift+I \u002F Cmd+Option+I)\n- Terminal access for filesystem operations\n- Backup awareness (know where your backups are before making changes)\n\n## Instructions\n\n### Step 1: Quick Triage\n\nDetermine the category before diving in:\n\n| Symptom | Category | Go to |\n|---------|----------|-------|\n| Obsidian crashes on open or plugin enable | Plugin crash | Step 2 |\n| Notes missing, corrupted, or garbled | Vault corruption | Step 3 |\n| Duplicate files, conflicting edits | Sync conflicts | Step 4 |\n| Obsidian slow, high CPU\u002Fmemory, lag while typing | Performance | Step 5 |\n| UI elements missing, wrong colors, broken layout | CSS\u002FTheme | Step 6 |\n\n### Step 2: Plugin Crash Recovery\n\n**Immediate: Enter Safe Mode**\n\nIf Obsidian crashes on startup, force safe mode:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Option A: Disable all community plugins\necho '[]' > \"$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json\"\n\n# Option B: Disable a specific suspect plugin\npython3 -c \"\nimport json\nplugins = json.load(open('$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json'))\nsuspect = 'plugin-id-here'\nif suspect in plugins:\n    plugins.remove(suspect)\n    json.dump(plugins, open('$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json', 'w'))\n    print(f'Disabled {suspect}')\nelse:\n    print(f'{suspect} not in active plugins')\n\"\n```\n\nReopen Obsidian. If it loads, the disabled plugin was the cause.\n\n**Diagnose from Console**\n\nOpen Developer Console (Ctrl+Shift+I) and look for errors:\n\n```javascript\n\u002F\u002F Check for plugin load failures\nObject.entries(app.plugins.manifests).forEach(([id, manifest]) => {\n  const loaded = app.plugins.plugins[id];\n  if (!loaded) console.error(`FAILED TO LOAD: ${id} v${manifest.version}`);\n});\n\n\u002F\u002F Check for unhandled rejections in recent history\n\u002F\u002F (must be open before reproducing the issue)\nwindow.addEventListener('unhandledrejection', (e) => {\n  console.error('Unhandled rejection:', e.reason);\n});\n```\n\n**Binary search for the offending plugin**\n\nIf multiple plugins could be the cause:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\nPLUGINS_FILE=\"$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json\"\n\n# Save original list\ncp \"$PLUGINS_FILE\" \"$PLUGINS_FILE.bak\"\n\n# Get all plugins\npython3 -c \"\nimport json\nplugins = json.load(open('$PLUGINS_FILE'))\nhalf = len(plugins) \u002F\u002F 2\n\n# Enable only first half\njson.dump(plugins[:half], open('$PLUGINS_FILE', 'w'))\nprint(f'Enabled {half} of {len(plugins)} plugins: {plugins[:half]}')\nprint(f'Disabled: {plugins[half:]}')\nprint('Open Obsidian. If it crashes, problem is in first half. If stable, second half.')\n\"\n```\n\nRepeat halving until you isolate the single offending plugin.\n\n### Step 3: Vault Corruption Recovery\n\n**Check for corrupted files**\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Find files with null bytes (corruption indicator)\necho \"=== Files with null bytes ===\"\nfind \"$VAULT_PATH\" -name '*.md' -not -path '*\u002F.obsidian\u002F*' -exec grep -Pl '\\x00' {} \\;\n\n# Find zero-byte files (likely lost content)\necho \"=== Empty files ===\"\nfind \"$VAULT_PATH\" -name '*.md' -not -path '*\u002F.obsidian\u002F*' -empty\n\n# Find files with broken YAML frontmatter\necho \"=== Broken frontmatter ===\"\nfor f in \"$VAULT_PATH\"\u002F*.md \"$VAULT_PATH\"\u002F**\u002F*.md; do\n  [ -f \"$f\" ] || continue\n  if head -1 \"$f\" | grep -q '^---' && ! awk '\u002F^---\u002F{c++; if(c==2) exit 0} END{exit (c\u003C2)}' \"$f\"; then\n    echo \"  Unclosed frontmatter: $f\"\n  fi\ndone\n```\n\n**Recover from .trash**\n\nObsidian moves deleted files to `.trash\u002F` in the vault:\n\n```bash\n# List recently deleted files\nls -lt \"$VAULT_PATH\u002F.trash\u002F\" 2>\u002Fdev\u002Fnull | head -20\n\n# Restore a specific file\ncp \"$VAULT_PATH\u002F.trash\u002Fimportant-note.md\" \"$VAULT_PATH\u002Frecovered\u002F\"\n```\n\n**Recover from Git backup**\n\nIf the vault is under Git version control:\n\n```bash\ncd \"$VAULT_PATH\"\n\n# See what changed recently\ngit log --oneline -20\ngit diff HEAD~1 --stat\n\n# Restore a specific file to its last good state\ngit checkout HEAD~1 -- \"path\u002Fto\u002Fcorrupted-note.md\"\n\n# Restore the entire vault to last commit (DESTRUCTIVE -- stash first)\ngit stash\ngit checkout HEAD -- .\n```\n\n**Recover from filesystem snapshots**\n\n```bash\n# macOS Time Machine\ntmutil listbackups 2>\u002Fdev\u002Fnull | tail -5\n# Then browse: \u002FVolumes\u002FTimeMachine\u002FBackups.backupdb\u002F...\u002Fpath\u002Fto\u002Fvault\n\n# Linux (btrfs snapshots)\nls \u002F.snapshots\u002F 2>\u002Fdev\u002Fnull\n```\n\n### Step 4: Sync Conflict Resolution\n\n**Obsidian Sync conflicts**\n\nObsidian Sync creates conflict files named `Note (conflict YYYY-MM-DD).md`:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Find all conflict files\necho \"=== Sync Conflicts ===\"\nfind \"$VAULT_PATH\" -name '*conflict*' -not -path '*\u002F.obsidian\u002F*'\n\n# Compare a conflict with its original\nORIGINAL=\"$VAULT_PATH\u002FMeeting Notes.md\"\nCONFLICT=$(find \"$VAULT_PATH\" -name \"Meeting Notes*conflict*\" | head -1)\nif [ -n \"$CONFLICT\" ]; then\n  diff \"$ORIGINAL\" \"$CONFLICT\"\nfi\n```\n\nResolution: Open both files in Obsidian, manually merge content into the original, delete the conflict file.\n\n**Git sync conflicts**\n\n```bash\ncd \"$VAULT_PATH\"\n\n# Check for merge conflicts\ngit status | grep 'both modified'\n\n# For each conflicted file, resolve the conflict markers\n# \u003C\u003C\u003C\u003C\u003C\u003C\u003C HEAD\n# (your changes)\n# =======\n# (their changes)\n# >>>>>>> branch\ngrep -rl '\u003C\u003C\u003C\u003C\u003C\u003C\u003C ' \"$VAULT_PATH\"\u002F*.md 2>\u002Fdev\u002Fnull\n```\n\n**Prevent future conflicts**\n\nIn `.obsidian\u002Fsync.json` or your Git workflow:\n- Exclude `workspace.json` and `workspace-mobile.json` from sync (per-device files)\n- Avoid editing the same note on two devices simultaneously\n- For Git: commit and push frequently; pull before editing\n\n### Step 5: Performance Degradation\n\n**Diagnose the bottleneck**\n\n```javascript\n\u002F\u002F Paste in Developer Console\n\n\u002F\u002F Check memory usage\nconsole.log('Memory:', JSON.stringify(performance.memory, null, 2));\n\n\u002F\u002F Time plugin load\nObject.entries(app.plugins.plugins).forEach(([id, plugin]) => {\n  const start = performance.now();\n  \u002F\u002F Plugins are already loaded, but check their event listener count\n  const events = plugin._events?.length || 0;\n  console.log(`${id}: ${events} event listeners`);\n});\n\n\u002F\u002F Check for expensive metadata cache operations\nconsole.time('metadataCache');\nconst allFiles = app.vault.getMarkdownFiles();\nallFiles.forEach(f => app.metadataCache.getFileCache(f));\nconsole.timeEnd('metadataCache');\nconsole.log(`Files scanned: ${allFiles.length}`);\n```\n\n**Disable plugins one by one**\n\nSystematic approach to find the performance culprit:\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\nPLUGINS_FILE=\"$VAULT_PATH\u002F.obsidian\u002Fcommunity-plugins.json\"\n\n# Save original\ncp \"$PLUGINS_FILE\" \"$PLUGINS_FILE.bak\"\n\n# Get plugin list\npython3 -c \"\nimport json\nplugins = json.load(open('$PLUGINS_FILE'))\nprint('Current plugins:')\nfor i, p in enumerate(plugins):\n    print(f'  {i}: {p}')\nprint(f'\\nTotal: {len(plugins)} plugins')\nprint('\\nTo disable one at a time:')\nfor p in plugins:\n    without = [x for x in plugins if x != p]\n    print(f'  Without {p}: {len(without)} remaining')\n\"\n```\n\nThen for each suspect:\n1. Remove it from `community-plugins.json`\n2. Restart Obsidian\n3. Test performance\n4. If improved, that plugin is the bottleneck\n5. If unchanged, restore it and try the next\n\n**Common performance fixes**\n- Vault with 10,000+ files: disable Dataview's automatic refresh, use lazy loading\n- Many backlinks: disable backlinks panel or set it to collapsed by default\n- Large files (1MB+): split into smaller notes using note refactoring\n- Too many plugins (20+): audit and remove unused plugins\n\n### Step 6: CSS and Theme Issues\n\n**Nuclear option: Reset all custom CSS**\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Disable all CSS snippets\npython3 -c \"\nimport json\ntry:\n    a = json.load(open('$VAULT_PATH\u002F.obsidian\u002Fappearance.json'))\n    a['enabledCssSnippets'] = []\n    a['cssTheme'] = ''  # Reset to default theme\n    json.dump(a, open('$VAULT_PATH\u002F.obsidian\u002Fappearance.json', 'w'), indent=2)\n    print('Reset theme and disabled all snippets')\nexcept Exception as e:\n    print(f'Error: {e}')\n\"\n```\n\nRestart Obsidian. If the UI is fixed, re-enable snippets and theme one at a time.\n\n**Check for CSS conflicts**\n\n```bash\nVAULT_PATH=~\u002Fpath\u002Fto\u002Fvault\n\n# Find snippets with aggressive selectors\nfor snippet in \"$VAULT_PATH\u002F.obsidian\u002Fsnippets\"\u002F*.css; do\n  [ -f \"$snippet\" ] || continue\n  name=$(basename \"$snippet\")\n  important_count=$(grep -c '!important' \"$snippet\" 2>\u002Fdev\u002Fnull)\n  if [ \"$important_count\" -gt 0 ]; then\n    echo \"$name: $important_count !important declarations\"\n  fi\ndone\n\n# Check theme compatibility with current Obsidian version\nTHEME_DIR=\"$VAULT_PATH\u002F.obsidian\u002Fthemes\"\nfor theme in \"$THEME_DIR\"\u002F*\u002Fmanifest.json; do\n  [ -f \"$theme\" ] || continue\n  python3 -c \"\nimport json\nm = json.load(open('$theme'))\nprint(f\\\"{m.get('name')}: minAppVersion={m.get('minAppVersion', 'unspecified')}\\\")\n\"\ndone\n```\n\n**Diagnose specific CSS problems**\n\nIn Developer Console:\n\n```javascript\n\u002F\u002F Find which CSS rule is affecting a specific element\n\u002F\u002F Right-click the broken element -> Inspect\n\u002F\u002F In the Elements panel, check Computed styles and look for overrides\n\n\u002F\u002F Programmatically check for theme variable conflicts\nconst root = getComputedStyle(document.body);\nconst vars = [\n  '--background-primary', '--background-secondary',\n  '--text-normal', '--text-accent',\n  '--interactive-accent', '--interactive-hover'\n];\nvars.forEach(v => console.log(`${v}: ${root.getPropertyValue(v)}`));\n```\n\n## Output\n- Identified root cause of the incident\n- Applied fix (plugin disabled, file recovered, conflict resolved, CSS reset)\n- Documented what happened for future reference\n- Preventive measures configured (backups, sync exclusions, performance monitoring)\n\n## Error Handling\n| Issue | Cause | Quick Fix |\n|-------|-------|-----------|\n| Console won't open (Obsidian crashes immediately) | Plugin error in `onload()` | Disable all plugins via filesystem (Step 2) |\n| Can't access vault directory | Filesystem permissions | `chmod -R u+rw \"$VAULT_PATH\"` |\n| Plugin won't disable via `community-plugins.json` | File locked by sync | Stop sync service, edit file, restart |\n| Obsidian hangs (not crashing, just frozen) | Infinite loop in plugin | Force-quit (kill process), then disable suspect plugin |\n| Safe mode still crashes | Core Obsidian issue, not plugins | Reinstall Obsidian; vault data is separate from app |\n| Recovery file also corrupted | Filesystem-level issue | Check disk health (`fsck`, `diskutil`, `chkdsk`) |\n\n## Examples\n\n**Plugin crash on startup**: User reports Obsidian instantly closes after opening a vault. Enter safe mode by clearing `community-plugins.json` (Step 2). Reopen works. Binary search reveals `obsidian-excalidraw` conflicts with a newly installed `obsidian-kanban`. Disable one, report the conflict to both plugin authors.\n\n**Missing notes after sync**: User opens vault on laptop, 20 notes are gone. Check `.trash\u002F` -- empty. Check Git log -- notes were deleted in a commit from their phone. `git checkout HEAD~3 -- missing-folder\u002F` restores them. Add the folder to selective sync to prevent mobile edits.\n\n**Slow vault with 8,000 notes**: Obsidian takes 15 seconds to open and typing lags. Developer Console shows `metadataCache` taking 4 seconds. Disabling Dataview drops it to 1 second. Solution: configure Dataview to use manual refresh instead of auto-refresh, and add `dv.pages` limits to expensive queries.\n\n## Resources\n- [Obsidian Forum - Bug Reports](https:\u002F\u002Fforum.obsidian.md\u002Fc\u002Fbug-reports\u002F7)\n- [Obsidian Discord - Help](https:\u002F\u002Fdiscord.gg\u002Fobsidianmd)\n- [Plugin Developer Documentation](https:\u002F\u002Fdocs.obsidian.md\u002FPlugins)\n- [Obsidian Safe Mode](https:\u002F\u002Fhelp.obsidian.md\u002FExtending+Obsidian\u002FSafe+mode)\n- [Obsidian Sync Troubleshooting](https:\u002F\u002Fhelp.obsidian.md\u002FObsidian+Sync\u002FTroubleshoot+Obsidian+Sync)\n\n## Next Steps\nFor collecting detailed diagnostics to share with plugin developers, see `obsidian-debug-bundle`. For data backup and recovery strategies, see `obsidian-data-handling`.\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","obsidian","debugging","incident-response","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Troubleshoot Obsidian plugin failures with systematic incident response.\nUse when plugins crash, data is corrupted, or users report critical issues\nwith your Obsidian plugin.\nTrigger with phrases like \"obsidian crash\", \"obsidian plugin broken\",\n\"obsidian incident\", \"debug obsidian failure\", \"obsidian emergency\".\n","Read, Grep, Bash(node:*)","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--obsidian-pack--obsidian-incident-runbook",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill obsidian-incident-runbook",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill obsidian-incident-runbook",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill obsidian-incident-runbook","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--obsidian-pack--obsidian-incident-runbook\u002FSKILL.md",true,[],[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]