Add OpenCode setup instructions to README

Added instructions for cloning the repository into the OpenCode skills directory.
This commit is contained in:
Nelson
2026-02-22 16:24:12 +08:00
committed by GitHub
parent be978124b8
commit c292b50744
+12
View File
@@ -21,6 +21,18 @@ Add the contents of this repo to a `/.claude` folder in the root of your Obsidia
Copy the `skills/` directory into your Codex skills path (typically `~/.codex/skills`). See the [Agent Skills specification](https://agentskills.io/specification) for the standard skill format.
#### OpenCode
Clone the entire repo into the OpenCode skills directory (`~/.opencode/skills/`):
```sh
git clone https://github.com/kepano/obsidian-skills.git ~/.opencode/skills/obsidian-skills
```
Do not copy only the inner `skills/` folder — clone the full repo so the directory structure is `~/.opencode/skills/obsidian-skills/skills/<skill-name>/SKILL.md`.
OpenCode auto-discovers all `SKILL.md` files under `~/.opencode/skills/`. No changes to `opencode.json` or any config file are needed. Skills become available after restarting OpenCode.
## Skills
| Skill | Description |