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.
$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.
$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: