summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorGary Chu <[email protected]>2026-02-04 14:12:24 +0800
committerGitHub <[email protected]>2026-02-04 00:12:24 -0600
commit5aaf8f82475c84640ab5f03caf7fffda4b0ffc9f (patch)
treeeba1d7fa47f9612812157e4a778db116eedfa4a5 /packages
parent8c1f1f13dcb74cd22d158e5f7eb3fce5f4240cbf (diff)
downloadopencode-5aaf8f82475c84640ab5f03caf7fffda4b0ffc9f.tar.gz
opencode-5aaf8f82475c84640ab5f03caf7fffda4b0ffc9f.zip
docs: add agent-compatible paths to skills documentation (#12067)
Diffstat (limited to 'packages')
-rw-r--r--packages/web/src/content/docs/skills.mdx6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/web/src/content/docs/skills.mdx b/packages/web/src/content/docs/skills.mdx
index 553931eec..2ce88ea56 100644
--- a/packages/web/src/content/docs/skills.mdx
+++ b/packages/web/src/content/docs/skills.mdx
@@ -17,15 +17,17 @@ OpenCode searches these locations:
- Global config: `~/.config/opencode/skills/<name>/SKILL.md`
- Project Claude-compatible: `.claude/skills/<name>/SKILL.md`
- Global Claude-compatible: `~/.claude/skills/<name>/SKILL.md`
+- Project agent-compatible: `.agents/skills/<name>/SKILL.md`
+- Global agent-compatible: `~/.agents/skills/<name>/SKILL.md`
---
## Understand discovery
For project-local paths, OpenCode walks up from your current working directory until it reaches the git worktree.
-It loads any matching `skills/*/SKILL.md` in `.opencode/` and any matching `.claude/skills/*/SKILL.md` along the way.
+It loads any matching `skills/*/SKILL.md` in `.opencode/` and any matching `.claude/skills/*/SKILL.md` or `.agents/skills/*/SKILL.md` along the way.
-Global definitions are also loaded from `~/.config/opencode/skills/*/SKILL.md` and `~/.claude/skills/*/SKILL.md`.
+Global definitions are also loaded from `~/.config/opencode/skills/*/SKILL.md`, `~/.claude/skills/*/SKILL.md`, and `~/.agents/skills/*/SKILL.md`.
---