feat(settings): skillOverrides turns the claude.ai-synced skills off
Listing cost measured on full 2026-11-09: 32.2k to 28.5k headless. A project re-enables one with "on" in its settings.local.json.
This commit is contained in:
1 parent
aa69db8aca
commit
47438f4900
3 files changed
+24
No files matched your search
@@ -63,6 +63,7 @@ Format follows [Keep a Changelog](https://keepachangelog.com/) and this project
|
|||||||
- Measured headless on 2026-11-02: dev = `pack-gstack-dev`, 41 tools, 0 higgsfield; web = the six web packs, 199 tools, both connectors `connected` and 158 higgsfield tools listed in init (the stderr line "blocked by enterprise policy: claude.ai higgsfield, claude.ai Higgsfield AI" appeared on the deny profiles dev, qa, seo and minimal: that is `deniedMcpServers` working); qa = `pack-gstack-browser pack-web-validate`; seo = qa + `pack-gstack-dev pack-seo`; qa and seo 41 tools, 0 higgsfield; reload canary in one flagless session (id `ee65507c-a958-411b-9580-8aca8105e326`): `/seo` unavailable on minimal, `profile.sh enable seo`, `/reload-plugins` -> "Reloaded: 3 plugins · 2 skills · 32 agents · 7 hooks", then `/seo` and `/pack-seo:seo` both load the SEO skill. `profile.sh current --plain` median 30 ms (target 50).
|
- Measured headless on 2026-11-02: dev = `pack-gstack-dev`, 41 tools, 0 higgsfield; web = the six web packs, 199 tools, both connectors `connected` and 158 higgsfield tools listed in init (the stderr line "blocked by enterprise policy: claude.ai higgsfield, claude.ai Higgsfield AI" appeared on the deny profiles dev, qa, seo and minimal: that is `deniedMcpServers` working); qa = `pack-gstack-browser pack-web-validate`; seo = qa + `pack-gstack-dev pack-seo`; qa and seo 41 tools, 0 higgsfield; reload canary in one flagless session (id `ee65507c-a958-411b-9580-8aca8105e326`): `/seo` unavailable on minimal, `profile.sh enable seo`, `/reload-plugins` -> "Reloaded: 3 plugins · 2 skills · 32 agents · 7 hooks", then `/seo` and `/pack-seo:seo` both load the SEO skill. `profile.sh current --plain` median 30 ms (target 50).
|
||||||
- Listing budget with the packs: measured headless on 2026-11-02 with `--model haiku` (name-only skills, entries 124 on full, 90 on dev): full default 58, 40000 11, 50000 0, 60000 0; dev default 9, 40000 and above 0. Set `SLASH_COMMAND_TOOL_CHAR_BUDGET=50000` in `settings.json` `env`, the smallest tested value with 0 name-only on full. Cost, estimated: full (48.5k - 30.3k bytes) / 4, about 4.5k tokens; dev 30.0k to 36.8k bytes, about 1.7k tokens. `env` is global, so every profile pays. Descriptions are no longer truncated at 50000 (natural size 48.5k). The default budget's absolute value was not read; it may depend on the model's context window.
|
- Listing budget with the packs: measured headless on 2026-11-02 with `--model haiku` (name-only skills, entries 124 on full, 90 on dev): full default 58, 40000 11, 50000 0, 60000 0; dev default 9, 40000 and above 0. Set `SLASH_COMMAND_TOOL_CHAR_BUDGET=50000` in `settings.json` `env`, the smallest tested value with 0 name-only on full. Cost, estimated: full (48.5k - 30.3k bytes) / 4, about 4.5k tokens; dev 30.0k to 36.8k bytes, about 1.7k tokens. `env` is global, so every profile pays. Descriptions are no longer truncated at 50000 (natural size 48.5k). The default budget's absolute value was not read; it may depend on the model's context window.
|
||||||
- gitflow pre-commit (`lib/gitflow.sh`, generated `githooks/pre-commit` and per-repo `.githooks/pre-commit`) exempts on `main`/`develop` only staged paths under `.claude/memory/`, `.claude/tasks/`, `.claude/audits/`, `.claude/deploy/` and `.githooks/`, was all of `.claude/**`. A commit touching `.claude/rules/`, `.claude/settings.json`, agents or skills on a protected base is now blocked: branch first. Staged paths are listed with `--no-renames`, so a `git mv` from a blocked path into the allowlist is blocked too. Per-repo hooks pick it up at the next session start, the global ones at `make link`. Tests: `lib/gitflow-test.sh` T21d-T21h.
|
- gitflow pre-commit (`lib/gitflow.sh`, generated `githooks/pre-commit` and per-repo `.githooks/pre-commit`) exempts on `main`/`develop` only staged paths under `.claude/memory/`, `.claude/tasks/`, `.claude/audits/`, `.claude/deploy/` and `.githooks/`, was all of `.claude/**`. A commit touching `.claude/rules/`, `.claude/settings.json`, agents or skills on a protected base is now blocked: branch first. Staged paths are listed with `--no-renames`, so a `git mv` from a blocked path into the allowlist is blocked too. Per-repo hooks pick it up at the next session start, the global ones at `make link`. Tests: `lib/gitflow-test.sh` T21d-T21h.
|
||||||
|
- `settings.json` gains `skillOverrides` setting the claude.ai-synced skills to `"off"`, global so a plain `claude` gets it too. Listed by name: a skill synced later stays listed until its name is added, and a same-named skill elsewhere is hidden too. A project re-enables one with `{"skillOverrides": {"<name>": "on"}}` in its `.claude/settings.local.json`. The reason is listing cost: every synced skill is listed in every session's context. Measured headless on the full profile on 2026-11-09, CLI 2.1.319: Skills 16.2k to 12.5k, total 32.2k to 28.5k. The listing budget is unchanged (40000 and 50000 give the same listing once the synced skills are off). `syncClaudeAiSkills: false` is not used: it moves the synced skills to `~/.claude/skills/.trash/`. Check `claude --version` on another machine before pulling.
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- `rules/default-language.md`: its content is `lib/architecture-defaults.md` § Default language.
|
- `rules/default-language.md`: its content is `lib/architecture-defaults.md` § Default language.
|
||||||
|
|||||||
@@ -328,6 +328,8 @@ CLI flags → session only
|
|||||||
|
|
||||||
DENY always wins over ALLOW at any level. `.claudeignore` applies independently.
|
DENY always wins over ALLOW at any level. `.claudeignore` applies independently.
|
||||||
|
|
||||||
|
`settings.json` turns the claude.ai-synced skills off through `skillOverrides`, to cut their listing cost (measured on the full profile 2026-11-09: 32.2k to 28.5k tokens headless). The list is by name: a skill synced later stays listed until its name is added, and a same-named skill from another source is hidden too. A project brings one back with `{"skillOverrides": {"<name>": "on"}}` in its `.claude/settings.local.json`.
|
||||||
|
|
||||||
Templates for per-project settings are in `templates/settings/`. Copy them with `/onboard` or manually:
|
Templates for per-project settings are in `templates/settings/`. Copy them with `/onboard` or manually:
|
||||||
```bash
|
```bash
|
||||||
CONF="$(dirname "$(readlink ~/.claude/CLAUDE.md)")"
|
CONF="$(dirname "$(readlink ~/.claude/CLAUDE.md)")"
|
||||||
|
|||||||
@@ -4,6 +4,27 @@
|
|||||||
"ENABLE_STOP_REVIEW": "0",
|
"ENABLE_STOP_REVIEW": "0",
|
||||||
"SLASH_COMMAND_TOOL_CHAR_BUDGET": "50000"
|
"SLASH_COMMAND_TOOL_CHAR_BUDGET": "50000"
|
||||||
},
|
},
|
||||||
|
"skillOverrides": {
|
||||||
|
"anthropic-skills:deep-research": "off",
|
||||||
|
"built-in-browser": "off",
|
||||||
|
"chrome-browser": "off",
|
||||||
|
"computer-use": "off",
|
||||||
|
"cv-diagnoser": "off",
|
||||||
|
"cv-rewriter": "off",
|
||||||
|
"docs": "off",
|
||||||
|
"docx": "off",
|
||||||
|
"dossier-location": "off",
|
||||||
|
"google-workspace": "off",
|
||||||
|
"import-memory": "off",
|
||||||
|
"morning": "off",
|
||||||
|
"pdf": "off",
|
||||||
|
"pptx": "off",
|
||||||
|
"prompt-engineer": "off",
|
||||||
|
"saas-concil": "off",
|
||||||
|
"skill-creator": "off",
|
||||||
|
"veille-emploi": "off",
|
||||||
|
"xlsx": "off"
|
||||||
|
},
|
||||||
"attribution": {
|
"attribution": {
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"pr": "",
|
"pr": "",
|
||||||
|
|||||||
Reference in new issue
Block a user