From c292b507443e2071c2d3f6a4fac2d9ebc43ccdff Mon Sep 17 00:00:00 2001 From: Nelson Date: Sun, 22 Feb 2026 16:24:12 +0800 Subject: [PATCH] Add OpenCode setup instructions to README Added instructions for cloning the repository into the OpenCode skills directory. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 6141834..f6c9a80 100644 --- a/README.md +++ b/README.md @@ -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.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 |