Skip to content

chore(agent): turn off unused Claude Code plugins - #4468

Merged
dan-petty merged 2 commits into
mainfrom
chore/4461-turn-off-unused-claude-code-plugins
Nov 11, 2026
Merged

dan-petty merged 2 commits into
mainfrom
chore/4461-turn-off-unused-claude-code-plugins

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Turn off the cloudflare, mcp-server-dev and playwright plugins in the project Claude Code settings and in the template that devops devcontainer init writes. Each Claude Code request loaded their skill listing and the playwright MCP tool names, about 150M tokens in the week to 2026-11-11, and that week had no calls to them. A person who needs one of these plugins turns it on in .claude/settings.local.json, which has priority over the project file.

Closes #4461

Change: openspec/changes/archive/2026-11-11-4461-turn-off-unused-claude-code-plugins/

Set the cloudflare, mcp-server-dev and playwright plugins to false in the project Claude Code settings and in the template that devops devcontainer init writes. The three plugins had no calls in the measured week, but each request loaded their skills and MCP tool names.
@dan-petty dan-petty added type/chore Type chore: maintenance, such as a dependency update scope/agent AI agent instructions, skills and agent tooling labels Nov 11, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Proof

This is a data change, not new behavior (AGENTS.md rule 4, docs/TESTING.md line 62), so it adds no test. The commands below prove it.

JSON read of the committed file on this branch:

$ python3 -c 'import json; print(json.dumps(json.load(open(".claude/settings.json"))["enabledPlugins"], indent=2))'
{
  "mattpocock-skills@claude-plugins-official": true,
  "playwright@claude-plugins-official": false,
  "mcp-server-dev@claude-plugins-official": false,
  "cloudflare@claude-plugins-official": false,
  "pydantic-ai@claude-plugins-official": true,
  "grafana-mcp@claude-plugins-official": true
}

The template must change with the file. With the new .claude/settings.json and the template of origin/main, test_init_scaffolds_claude_settings_matching_the_repository_settings failed (1 failed). With both files changed:

$ uv run devops ci test tests/commands/test_devcontainer.py tests/core/test_third_party_telemetry.py
128 passed in 60.34s
$ uv run devops openspec check
OpenSpec check passed.

devops ci fail-to-pass --base origin/main: 0 failed on base (0 failed and 0 passed in no changed test files; 0 errored). This pull request is a chore, not a fix, and it changes no test file, so no test can fail on the base.

Local full CI did not run: another agent held .data/agent/ci.lock for more than 50 minutes. The GitHub checks are the gate.

Premise

  • The Claude Code settings reference gives enabledPlugins the scope "Any file" and a Boolean for each plugin. The precedence is managed, command line, project local, shared project, user. So false in .claude/settings.json turns the plugins off, and .claude/settings.local.json can turn one on again for one person.
  • ~/.claude/settings.json and .claude/settings.local.json turn on none of the three plugins. Only the project file turned them on.
  • No document, test or other generator lists the plugins. git grep -n -E 'claude-plugins-official|enabledPlugins' origin/main found only the two changed files.

Steps for a person

  • Turn off the claude.ai Docs connector in the claude.ai settings. It is an account setting, not a file of this repository, so this pull request does not change it.
  • Another possibility: the key "disableClaudeAiConnectors": true in .claude/settings.json stops Claude Code from fetching claude.ai connectors in this repository. It turns off all claude.ai connectors, not only Docs, so this pull request does not add it. The owner decides.
  • After the merge, start a new Claude Code session. Plugin settings load at session start. Make sure that /plugin shows cloudflare, mcp-server-dev and playwright as off.

@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 03:16
@dan-petty
dan-petty enabled auto-merge (squash) November 11, 2026 03:16
@dan-petty
dan-petty merged commit ff2b3a3 into main Nov 11, 2026
32 checks passed
@dan-petty
dan-petty deleted the chore/4461-turn-off-unused-claude-code-plugins branch November 11, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/agent AI agent instructions, skills and agent tooling type/chore Type chore: maintenance, such as a dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(agent): turn off unused Claude Code plugins

1 participant