diff --git a/options.xhtml b/options.xhtml index 5df2bd579..6ac27c4df 100644 --- a/options.xhtml +++ b/options.xhtml @@ -62374,7 +62374,7 @@ null or package

Custom agents for opencode. The attribute name becomes the agent filename, and the value is either:

+Agents are stored in $XDG_CONFIG_HOME/opencode/agent/ directory.

Type: attribute set of (strings concatenated with “\n” or absolute path)

@@ -62418,7 +62418,7 @@ attribute set of (strings concatenated with “\n” or absolute path)

Custom commands for opencode. The attribute name becomes the command filename, and the value is either:

+Commands are stored in $XDG_CONFIG_HOME/opencode/command/ directory.

Type: attribute set of (strings concatenated with “\n” or absolute path)

@@ -62531,6 +62531,53 @@ JSON value

+

Declared by:

+ + +
+ +<home-manager/modules/programs/opencode.nix> + +
+
+
+ + programs.opencode.skills + + +
+
+

Custom agent skills for opencode.

This option can either be:

If an attribute set is used, the attribute name becomes the skill directory name, +and the value is either:

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/skill/.

See https://opencode.ai/docs/skills/ for the documentation.

+ +

Type: +(attribute set of (strings concatenated with “\n” or absolute path)) or absolute path

+ +

Default: +{ }

+ +

Example:

{
+  git-release = ''
+    ---
+    name: git-release
+    description: Create consistent releases and changelogs
+    ---
+
+    ## What I do
+
+    - Draft release notes from merged PRs
+    - Propose a version bump
+    - Provide a copy-pasteable `gh release create` command
+  '';
+
+  # A skill can also be a directory containing SKILL.md and other files.
+  data-analysis = ./skills/data-analysis;
+}
+
+
+

Declared by: