A CLI tool for managing Obsidian vaults following the Karpathy-style LLM-wiki workflow. Provides lint, bootstrap, index, and log commands for vaults structured with topic folders containing index.md, CLAUDE.md schemas, and entry notes with YAML frontmatter. Current stable version is 0.4.0 (March 2025). Release cadence is irregular, with major features in recent releases including attachment-aware linting and nested-topic exclusion. Key differentiators: companion to the obsidian-kb LLM skill, designed for cron jobs and git pre-commit hooks, supports wikilinks, stale claims via git history, and machine-readable JSON output.
npm install obsidian-kb-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, basic lint, bootstrap, index generation, help, and watch commands.
Ensure you pass the correct vault path as used by Obsidian (e.g., absolute path, no trailing slash).
If you rely on flagging nested orphans, adjust your workflow — only direct children of the topic folder are now checked.
Review lint findings after upgrade; some entries may no longer appear in parent topic's checks.
Use --topic to restrict watched folder or increase --debounce to reduce relint frequency.
Add --force flag if you want to overwrite existing CLAUDE.md, index.md, or log.md.
Provide an absolute or correct relative path to the Obsidian vault directory.
Run 'npm i -g obsidian-kb-cli' to install globally, or use 'npx obsidian-kb-cli'.
Use one of: generic, projects, papers, books, people.
Add '--force' flag to overwrite, or specify a different --output path.