From db610dc8445db29983b55f00321ab23b6e5061d3 Mon Sep 17 00:00:00 2001 From: rycee Date: Sat, 3 Jan 2026 10:48:07 +0000 Subject: [PATCH] deploy: 1cfa305fba94468f665de1bd1b62dddf2e0cb012 --- options.xhtml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) 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:

  • Inline content as a string

  • A path to a file containing the agent content -Agents are stored in $XDG_CONFIG_HOME/.config/opencode/agent/ directory.

+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:

  • Inline content as a string

  • A path to a file containing the command content -Commands are stored in $XDG_CONFIG_HOME/.config/opencode/command/ directory.

+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:

  • An attribute set defining skills

  • A path to a directory containing multiple 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/skill/<name>/SKILL.md)

  • A path to a file (creates opencode/skill/<name>/SKILL.md)

  • A path to a directory (creates opencode/skill/<name>/ with all files)

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: