Skip to content

docs(obsidian-cli): discover and confirm vault when multiple vaults exist - #103

Open
citizen204 wants to merge 1 commit into
kepano:mainfrom
citizen204:fix/49-vault-discovery
Open

docs(obsidian-cli): discover and confirm vault when multiple vaults exist#103
citizen204 wants to merge 1 commit into
kepano:mainfrom
citizen204:fix/49-vault-discovery

Conversation

@citizen204

Copy link
Copy Markdown

Summary

When a user has multiple Obsidian vaults, the skill silently targets the most recently focused vault. This can cause operations to land in the wrong vault without any warning.

This adds a behavioral instruction to the Vault targeting section: if the target vault is unspecified and the task spans multiple commands, first run obsidian vaults to check how many vaults exist. If more than one is listed, ask the user which vault to use. If there is only one vault, use it directly.

The vaults command to list known vaults already exists in the CLI (see https://help.obsidian.md/cli), so this is a documentation-only change.

Fixes #49

Changes

  • skills/obsidian-cli/SKILL.md: expand Vault targeting section with multi-vault discovery guidance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal - Update the CLI Skill to always specify a vault if there are more than one

1 participant