From 7a2d413c48d63ca6f953cedfbcf15714b3383fe5 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 22 Nov 2026 21:42:34 +0000 Subject: 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. --- configs/claude.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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" ]; -- cgit v1.3.1