Custom skills for OpenCode.
This option can be either:
- An attribute set defining skills
- A path to a directory containing skill folders
If an attribute set is used, the attribute name becomes the
skill directory name, and the value is either:
- Inline content as a string (creates
opencode/skills/<name>/SKILL.md)
- A path to a file (creates
opencode/skills/<name>/SKILL.md)
- A path to a directory (creates
opencode/skills/<name>/ with all files)
This also accepts Nix store paths, for example a skill directory
from a package.
If a path is used, it is expected to contain one folder per
skill name, each containing a SKILL.md. The directory is
symlinked to $XDG_CONFIG_HOME/opencode/skills/.
See https://opencode.ai/docs/skills/ for the documentation.