docs: forbid in-vault npm install (crash-loops Obsidian sync)#17
Open
agiacalone wants to merge 1 commit into
Open
docs: forbid in-vault npm install (crash-loops Obsidian sync)#17agiacalone wants to merge 1 commit into
agiacalone wants to merge 1 commit into
Conversation
The skill is checked out inside the Obsidian vault, so a bare 'npm install' creates node_modules in the vault. Its thousands of nested dirs exhaust the inotify watch budget and crash-loop the Obsidian sync daemon. Deps belong at the vault parent (or, post-reversal, the skill's own git repo), where Node's upward module resolution finds them automatically. Rewrites SKILL.md, CLAUDE.md, README.md to forbid in-vault installs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014bMW9YHzZzP3FLK95PW64Q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When this skill is checked out inside an Obsidian vault, a bare
npm installdropsnode_modules/into the vault. Its thousands of nested dirs exhaust the inotify watch budget and crash-loop the Obsidian sync daemon (and spawn sync-conflict dup folders).Rewrites
SKILL.md,CLAUDE.md, andREADME.mdto forbid in-vaultnpm installand document installing at the vault parent via--prefix(Node resolves the parentnode_modulesupward automatically). Post-skills-move, deps simply live in this repo normally.Docs-only; no code changes.
🤖 Generated with Claude Code