Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
lovstudio avatar

Lovstudio Obsidian Reset Cache

  • 10 installs
  • Updated August 4, 2026
  • lovstudio/dev-skills

Helps with ai & agent building tasks.

About

lovstudio-obsidian-reset-cache is a Claude Code skill in the AI & Agent Building category.

  • lovstudio-obsidian-reset-cache
  • AI & Agent Building
  • AI-coding skill

Lovstudio Obsidian Reset Cache by the numbers

  • 10 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #11,937 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/lovstudio/dev-skills --skill lovstudio-obsidian-reset-cache

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs10
Last updatedAugust 4, 2026
Repositorylovstudio/dev-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

obsidian-reset-cache — 重置 Obsidian 缓存

解决 Obsidian 卡在 "Loading cache..." 无法启动的问题。

When to Use

  • Obsidian 启动时卡在 "Loading cache..." 不动
  • Vault 文件数量多、有大量非 markdown 文件(如 node_modules)
  • 怀疑缓存损坏

Workflow

Step 1: 确认 Obsidian 已关闭

pgrep -x Obsidian && echo "Obsidian 正在运行,请先关闭" || echo "OK: Obsidian 未运行"

如果 Obsidian 正在运行,提示用户先关闭。 如果用户没有明确确认已关闭 Obsidian,使用 AskUserQuestion 确认后再继续。

Step 2: 清除 IndexedDB 缓存

执行前再次确认目标是 Obsidian IndexedDB 缓存,而不是 vault、插件配置或笔记。

rm -rf ~/Library/Application\ Support/obsidian/IndexedDB/

Step 3: 提示用户重新打开 Obsidian

告知用户: 1. 缓存已清除 2. 重新打开 Obsidian,首次加载会稍慢(重建索引) 3. 如果 vault 里有 node_modules 等大量非 markdown 文件,建议创建 .obsidianignore 文件排除

Optional: 创建 .obsidianignore

如果用户的 vault 包含 node_modules 或其他应忽略的目录,帮用户在 vault 根目录创建:

node_modules
.git
.output
dist
build

Notes

  • 此操作仅影响 macOS
  • 清除的是全局缓存,会影响所有 vault 的索引
  • 不会删除用户数据、笔记、插件配置

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.