summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-22 21:42:34 +0000
committertv <tv@krebsco.de>2026-11-22 23:47:20 +0000
commit7a2d413c48d63ca6f953cedfbcf15714b3383fe5 (patch)
tree1aa164d84f2cda1c2568910be2c1739e9ce8096e /configs
parentefd0121c852e3ad7645b01d37a09a0e80efb2f2f (diff)
configs/claude: the account's skills of no use here, off
The skills synced from the claude.ai account into ~/.claude/skills include documents (docx, pdf, pptx, xlsx, docs), browsers, desktop control, deep research and skill-creator, of no use to a remote, but listed to the model in every session: skillOverrides off in the managed settings, by each name, and as anthropic-skills:NAME, as sessions list them.
Diffstat (limited to 'configs')
-rw-r--r--configs/claude.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/configs/claude.nix b/configs/claude.nix
index dbea0de..d42a65a 100644
--- a/configs/claude.nix
+++ b/configs/claude.nix
@@ -101,9 +101,19 @@ in
];
# The repositories, for every remote (and every claude here, as managed
- # settings are the machine's, and win over anyone's own).
+ # settings are the machine's, and win over anyone's own); and the
+ # skills synced from the claude.ai account that are of no use here
+ # (documents, browsers, desktop control), off: hidden from the model
+ # and from /, each by its name and as the account's (anthropic-skills:).
environment.etc."claude-code/managed-settings.json".text = builtins.toJSON {
permissions.additionalDirectories = [ "/home/claude/src" ];
+ skillOverrides = lib.listToAttrs (lib.concatMap (s: [
+ (lib.nameValuePair s "off")
+ (lib.nameValuePair "anthropic-skills:${s}" "off")
+ ]) [
+ "built-in-browser" "chrome-browser" "computer-use" "deep-research"
+ "docs" "docx" "pdf" "pptx" "skill-creator" "xlsx"
+ ]);
};
systemd.targets.multi-user.wants = [ "claude-remote-control@main.service" ];