Does the skill support per-project knowledge bases? #11
GoalI want either of:
In both cases the goal is: when I work in repo A, the skill operates only on A's knowledge; when I work in repo B, only on B's. Observations from the repoReading
QuestionDoes the skill support either of the two goals above out of the box? If yes, how — I couldn't find it in the docs. If no, is this intentionally out of scope? |
Replies: 2 comments
|
Francis — sorry for the long radio silence, this one slipped past me. Your read of the code is accurate: the skill currently assumes one machine = one vault. But you can get goal 1 (per-project KB) today, just not via the documented install path. Goal 2 is honest to-be-done. Goal 1 — per-project vault (works today, undocumented)Use Claude Code's per-project settings instead of the global one. Set // in ~/projects/repo-a/.claude/settings.json
{
"env": {
"OBSIDIAN_VAULT_PATH": "/Users/you/vaults/repo-a-vault"
}
}// in ~/projects/repo-b/.claude/settings.json
{
"env": {
"OBSIDIAN_VAULT_PATH": "/Users/you/vaults/repo-b-vault"
}
}When you launch Claude Code from You still need each vault bootstrapped once ( I will add this to the README and Goal 2 — one vault, isolated top-level folders (not today)This one does not work cleanly. The skill's commands have no Real isolation would mean adding a It is worth doing eventually — multi-repo devs and consultants juggling clients would all benefit — but I am not going to start it solo. If goal 1 covers your case for now, I would recommend going that route. If goal 2 is what you actually need and you would be interested in collaborating on the scope refactor, drop a follow-up here and we can sketch the interface together before any code lands. — Eugeniu |
|
Follow-up: the per-project recipe is documented now in PR #41 (merged). See SKILL.md → Per-Project Vaults (multi-repo workflows) and the new FAQ entry in README.md. Goal 1 from your original question is now a first-class supported config path, not a "you have to figure it out" workflow. Goal 2 (in-vault folder isolation) is still untracked. If you want it, opening a new discussion thread with your use case would be the move — anyone watching this repo who wants the same thing can chime in there. |
Francis — sorry for the long radio silence, this one slipped past me. Your read of the code is accurate: the skill currently assumes one machine = one vault. But you can get goal 1 (per-project KB) today, just not via the documented install path. Goal 2 is honest to-be-done.
Goal 1 — per-project vault (works today, undocumented)
Use Claude Code's per-project settings instead of the global one. Set
OBSIDIAN_VAULT_PATHin.claude/settings.jsoninside each repo: