opencode skills: where SKILL.md goes, how to call one, and what v2 changed
- opencode
- coding-agents
- agent-workflows
Yes, opencode has skills. A skill is a folder with a SKILL.md file. The model loads its instructions only when a task needs them. Put a project skill in .opencode/skills/<name>/. Put a personal one in ~/.config/opencode/skills/<name>/. opencode also picks up the .claude/skills folder you may already have. I wrote this for people who keep skills for Claude Code or Codex. I do not run opencode. It is not installed on my Mac. I read the docs plus the source at tags v1.19.5 and v2.2.7 on 12 November 2026.
---
name: release-note
description: Write a short release note from a supplied change list.
---
Use only facts from the input.
If no test result is given, write "Not verified" in the Check line.
- Folders.
.opencode/skillsin the project and~/.config/opencode/skillsat home. Claude Code and Codex folders count too. - Format. One folder per skill, a
SKILL.mdinside, YAML frontmatter on top. - Calling one. The model uses the
skilltool. You type/release-notein opencode 1. In opencode 2 you type@release-note. - Listing.
opencode debug skillprints them in opencode 1. In opencode 2 the/skillspicker lists them. - How I know. Docs and source only. No run of my own.
I built and tested a skill on Codex in Codex skills. Agent files, the other markdown in .opencode/, are in opencode subagents.
Does opencode have skills?
Yes. The opencode docs have a Skills page for both major versions. opencode 1 calls them "Agent Skills". The page says opencode finds "reusable instructions from your repo or home directory". It loads a full skill on demand through a built-in tool named skill.
On 12 November, opencode.ai/docs/skills/ shows the V2 page, marked latest. The old page moved to opencode.ai/v1/docs/skills/. npm still gave me 1.19.5 as latest that day. GitHub lists v2.2.7 as a release from 10 November.
Where is the opencode skills directory?
For a project, use .opencode/skills/<name>/SKILL.md. For every project on your machine, use ~/.config/opencode/skills/<name>/SKILL.md. Both versions also read Claude Code and agent folders. The search starts in your working directory. It walks up to the git root in opencode 1. In opencode 2 it stops at the project root.
| Scope | opencode folder | Compatible folders |
|---|---|---|
| Project | .opencode/skills/ | .claude/skills/, .agents/skills/ |
| Global | ~/.config/opencode/skills/ | ~/.claude/skills/, ~/.agents/skills/ |
The source of both versions also accepts a singular skill folder.
To keep Claude Code skills out, set OPENCODE_DISABLE_CLAUDE_CODE_SKILLS. The v2.2.7 source reads it too. The opencode 1 CLI page adds OPENCODE_DISABLE_EXTERNAL_SKILLS for the .agents folders as well.
More folders go in config. opencode 1 has skills.paths plus skills.urls. opencode 2 merges them into one skills array of paths and URLs. Two skills with the same ID? In opencode 2 the later source wins. Project .opencode/skills beats the Claude folders. The opencode 1 docs only say to keep names unique.
What does a SKILL.md need in opencode?
In opencode 1 the docs require name and description. The name must be lowercase with single hyphens, up to 64 characters. It must also match the folder. Optional fields are license, compatibility and metadata. The docs say "Unknown frontmatter fields are ignored."
I checked the loader in v1.19.5. It skips a file whose name is not a string. I found no check of the name pattern in skill/index.ts. A skill without a description never reaches the model's list.
opencode 2 relaxes all of it. The V2 page says "All frontmatter is optional at runtime." The ID comes from the folder name. name is only a label. The page states that V2 "does not enforce" the naming pattern.
opencode 2 adds a switch. Set metadata.opencode/autoinvoke: false to hide a skill from the model. disable-model-invocation: true does the same. You can still load it yourself. Claude Code uses that flag too, as covered in disable-model-invocation.
Are opencode skills the same as commands?
In opencode 1, almost. The v1.19.5 source registers every skill as a slash command named after the skill. A command with the same name keeps priority. So /release-note runs the skill body as a prompt.
opencode 2 drops that link. I found no skill code in its command module. The V2 page says: "To load a skill yourself, mention it in your prompt as @skill-id." The model passes the same ID to the skill tool.
For permissions, opencode 1 has a permission.skill map with patterns. Each pattern gets allow, ask or deny. opencode 2 uses rules with "action": "skill" instead. A denied skill disappears from the model's list in both versions.
How do I list opencode skills?
In opencode 1, run opencode debug skill. The CLI page describes it as "List available skills". The source prints each one as JSON, with its location. In the TUI, /skills opens a picker in both versions. In opencode 1 a pick inserts /name. In opencode 2 it inserts @name.
The /skills slash name comes from the source. The V2 keybinds page lists the action as prompt.skills, "Open skill selector", with no default key. opencode 2 also has a server route, GET /api/skill. Its schema calls it experimental. I found no v2 CLI command for listing.
opencode 1 ships one built-in skill, customize-opencode. opencode 2 ships opencode and report.
Is there an opencode skills marketplace or GitHub repo?
I found no marketplace in the opencode docs. The nearest thing is an HTTP catalog. You give opencode a base URL. It reads index.json there. Each entry names a skill, its files and an optional version. opencode downloads the files into its cache folder. A changed version makes it fetch again.
For GitHub, clone the repo. opencode reads .opencode/skills inside it when you work there. It reads .claude/skills and .agents/skills the same way. The opencode repo itself keeps eight skills in .opencode/skills/ at v2.2.7. The V2 page adds that an OpenCode Console workspace "can also share skills". I have not used Console.
How does opencode compare with Claude Code and Codex?
opencode reads the skill folders of both other tools. The sharp difference is the call syntax.
| opencode 1.19.5 | opencode 2.2.7 | Claude Code | Codex | |
|---|---|---|---|---|
| Own folder | .opencode/skills | .opencode/skills | .claude/skills | .agents/skills |
| Also reads | .claude, .agents | .claude, .agents | Not checked | Not checked |
| You call it with | /name | @name | /name | $name or /skills |
| Hide from the model | Permission deny | opencode/autoinvoke: false | disable-model-invocation | Sidecar policy |
The Codex column is from my Codex skills post. The Claude Code column is from its skills docs.
Frequently asked questions
Did you test opencode skills?
No. opencode is not installed on my Mac. I read the opencode docs for both versions on 12 November 2026. I also read the source at tags v1.19.5 and v2.2.7.
Does opencode read Claude Code skills?
Yes. Both versions load .claude/skills in the project and in your home folder. Set OPENCODE_DISABLE_CLAUDE_CODE_SKILLS to stop it. One catch in opencode 1. Claude Code treats name as optional. The v1.19.5 loader skips a SKILL.md without it. opencode 2 takes the ID from the folder.
Why does my opencode skill not show up?
Check that the file is named SKILL.md in capitals. In opencode 1, check name plus description. In opencode 2, check the folder name and the description. Then check the skill permission. A deny hides it.
Where does opencode put downloaded skills?
In a skills folder inside its cache. The source keeps a .opencode-version file next to each skill. A new version in the catalog replaces the copy.
The verdict
If I tried opencode, I would leave my Claude Code skills where they are. opencode reads .claude/skills as it is. On opencode 1 I would add a name line to any skill without one. Then I would set one deny rule for anything that deploys.
Sources, read on 12 November 2026: the opencode V2 skills, V1 skills and V1 CLI pages, the Claude Code skills page, and anomalyco/opencode at tags v1.19.5 and v2.2.7.