Implementation of [[Agent skill]] for managing [[Obsidian CLI]]
- [Github](https://github.com/kepano/obsidian-skills?tab=readme-ov-file) by [[Kepano]]
## Setup
The minimum an agent needs to work with any [[Obsidian]] vault - no conventions of a particular vault, only the skills and the files that make an agent load them.
### Prerequisites
- [[Obsidian]] running, with the [[Obsidian CLI]] switched on - the `obsidian` command talks to the open app
- Node 20 or later, installed with [[npm]] - the installer runs through `npx`
- an agent: [[Claude Code]], or [[Github Copilot]] in [[vscode]]
^prerequisites
### Install
Run once, in the vault root:
```bash
npx skills add kepano/obsidian-skills --agent claude-code github-copilot --skill '*' -y
```
^install
### Check
```bash
npx skills list
```
Then, in a fresh session, ask the agent something only a skill answers - *how do I target a specific vault with the obsidian CLI?* The answer is `vault=<name>` as the first parameter. Ask also where it read that from: the path should end in `skills/obsidian-cli/SKILL.md`.
## Update
```bash
npx skills update -p -y
```
^update