claude-plugins: ship a hyperhive-authored notes-hygiene skill by default
This commit is contained in:
parent
4d885df9ad
commit
bc83fde4ad
8 changed files with 152 additions and 11 deletions
|
|
@ -228,7 +228,10 @@ in
|
|||
|
||||
options.hyperhive.claudeMarketplaces = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ "anthropics/claude-plugins-official" ];
|
||||
default = [
|
||||
"anthropics/claude-plugins-official"
|
||||
"${config.hyperhive.packages.claude-plugins}"
|
||||
];
|
||||
example = [
|
||||
"anthropics/claude-plugins-official"
|
||||
"anthropics/claude-plugins-community"
|
||||
|
|
@ -242,14 +245,24 @@ in
|
|||
reference a marketplace (e.g. `foo@claude-plugins-official`).
|
||||
Rendered to `/etc/hyperhive/claude-marketplaces.json`.
|
||||
|
||||
Defaults to Anthropic's official marketplace; agents get it
|
||||
out of the box without any per-agent.nix wiring.
|
||||
Defaults to Anthropic's official marketplace plus hyperhive's
|
||||
own `claude-plugins` nix package (see
|
||||
`nix/packages/claude-plugins.nix`) — a local-path marketplace
|
||||
built as a plain nix store path, registered under the name
|
||||
`hyperhive` (from its `marketplace.json`, not the store path
|
||||
itself, so plugin specs stay stable across rebuilds). No forge
|
||||
repo or git remote needed to ship a hive-authored skill; agents
|
||||
get both marketplaces out of the box without any per-agent.nix
|
||||
wiring.
|
||||
'';
|
||||
};
|
||||
|
||||
options.hyperhive.claudePlugins = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ "skill-creator@claude-plugins-official" ];
|
||||
default = [
|
||||
"skill-creator@claude-plugins-official"
|
||||
"notes-hygiene@hyperhive"
|
||||
];
|
||||
example = [
|
||||
"formatter@my-marketplace"
|
||||
"thinking-tools@anthropics"
|
||||
|
|
@ -264,15 +277,18 @@ in
|
|||
`/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.
|
||||
Defaults to Anthropic's `skill-creator` (teaches an agent to
|
||||
write, refine, and evaluate its own skills) plus hyperhive's own
|
||||
`notes-hygiene` skill (read-before-write + dated-archive
|
||||
discipline for durable notes/state files) — agents get both out
|
||||
of the box, matching the default marketplaces 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.
|
||||
defaults should list both
|
||||
`skill-creator@claude-plugins-official` and
|
||||
`notes-hygiene@hyperhive` alongside them.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
per-binary daemon/CLI packages (`hive-agent`, `hive-agent-mcp`,
|
||||
`hive-bash-daemon`,
|
||||
`hive-forge`, `hive-forge-notify`, `hive-matrix-daemon`,
|
||||
`hive-metric`, `hive-screen-mcp`) plus the `assets`, `frontend` and
|
||||
`reference-docs` trees. Wired by the flake's agent-base/ruth
|
||||
`hive-metric`, `hive-screen-mcp`) plus the `assets`, `frontend`,
|
||||
`reference-docs` and `claude-plugins` trees. Wired by the flake's agent-base/ruth
|
||||
nixosModules to `hyperhive.packages.<system>.*`; override an
|
||||
individual key per-agent to swap in a patched binary.
|
||||
'';
|
||||
|
|
|
|||
Loading…
Reference in a new issue