chore(agents): disable global skills

This commit is contained in:
2026-08-26 09:26:45 -04:00
parent a0604c708e
commit 7bf31855a4
2 changed files with 2 additions and 23 deletions

View File

@@ -36,8 +36,7 @@ in
programs.claude-code = {
enable = true;
# One directory per skill, symlinked under ~/.claude/skills.
skills = ./skills;
skills = { };
# Installed under ~/.claude/hooks, referenced by the settings below.
hooks."agent-sudo-guard.sh" = builtins.readFile ./hooks/agent-sudo-guard.sh;

View File

@@ -1,32 +1,12 @@
{
config,
inputs,
pkgs,
...
}:
# Global agent skills, placed under the skills directory so they are active in
# every project.
let
user = config.user.name;
# The skills installed globally, as derivations from the skills flake.
# grill interviews the operator relentlessly to resolve a plan before building.
# design-skill drafts and audits Agent Skills for structural predictability.
# wayfinder, research, prototype, slice, and subagents guide work from exploration through implementation tickets and delegation.
# implement, test-driven-development, and review guide execution and validation once tickets are ready.
skills = with inputs.skills.packages.${pkgs.stdenv.hostPlatform.system}; [
grill
design-skill
research
prototype
slice
subagents
implement
test-driven-development
review
];
in
{
home-manager.sharedModules = [ inputs.skills.homeModules.default ];
home-manager.users.${user}.programs.agents.skills = skills;
home-manager.users.${user}.programs.agents.skills = [ ];
}