feat(agent): ship Anthropic's skill-creator plugin by default
Agents had the official marketplace configured out of the box but an empty plugin list, so nothing was installed from it unless an agent's own config asked. skill-creator is the one plugin that pays for itself generically: it teaches an agent to write, refine, and evaluate its own skills, which is exactly the capability an agent can't bootstrap by being told about it once in a prompt. Defaulting the option keeps this consistent with claudeMarketplaces, which already ships the official marketplace the same way. Documented the list-option semantics next to both: a per-agent definition replaces the default rather than extending it, so an agent that sets its own plugin list has to name skill-creator alongside its entries.
This commit is contained in:
parent
a48e2f6977
commit
14f141625a
2 changed files with 23 additions and 5 deletions
|
|
@ -209,7 +209,7 @@ in
|
|||
|
||||
options.hyperhive.claudePlugins = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
default = [ "skill-creator@claude-plugins-official" ];
|
||||
example = [
|
||||
"formatter@my-marketplace"
|
||||
"thinking-tools@anthropics"
|
||||
|
|
@ -223,6 +223,16 @@ in
|
|||
missing plugin is preferable to a non-serving agent. Rendered to
|
||||
`/etc/hyperhive/claude-plugins.json`; the harness reads it via
|
||||
`plugins::install_configured`.
|
||||
|
||||
Defaults to Anthropic's `skill-creator`, which teaches an agent
|
||||
to write, refine, and evaluate its own skills — agents get it
|
||||
out of the box, matching the default marketplace above.
|
||||
|
||||
Note that a per-agent definition REPLACES this default rather
|
||||
than extending it (ordinary NixOS list-option semantics, same as
|
||||
`claudeMarketplaces`). An agent that wants extra plugins AND the
|
||||
default should list `skill-creator@claude-plugins-official`
|
||||
alongside them.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue