claude-code-plugins: Settings file for Claude Code

.claude/settings.json

claude-code-plugins is a settings file for Claude Code from melodic-software/claude-code-plugins. Its token cost is not measured, scanned B, original, MIT.

A Claude Code settings file that configures a command to run when a session starts or resumes, along with environment values, enabled plugins, and worktree behavior.

In plain words
What is it for?
Use it to configure Claude Code startup actions, environment variables, enabled plugins, and the base reference used for worktrees.
Why use it?
It centralizes session and project automation settings so Claude Code can apply them consistently. The listed startup hook runs the project's cloud bootstrap script.

Settings file for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: reads .claude/ paths.

This is melodic-software/claude-code-plugins's own configuration. It tells Claude Code how to work on claude-code-plugins itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-plugins configures →

One of 3 entries in settings.json upstream. Installing this one merges just its entry into your config; the other 2 are separate, each on its own page.

Reuse

Borrowing it

Nothing to install: this file belongs to melodic-software/claude-code-plugins. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/melodic-software/claude-code-plugins/main/.claude/settings.json
Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-code-plugins

README.md
[![agentmods](https://agentmods.dev/badge/settings/melodic-software/claude-code-plugins/settings/github.svg)](https://agentmods.dev/settings/melodic-software/claude-code-plugins/settings)
Your own site
<a href="https://agentmods.dev/settings/melodic-software/claude-code-plugins/settings"><img src="https://agentmods.dev/badge/settings/melodic-software/claude-code-plugins/settings/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-code-plugins

Your own site · 80×15
<a href="https://agentmods.dev/settings/melodic-software/claude-code-plugins/settings"><img src="https://agentmods.dev/badge/settings/melodic-software/claude-code-plugins/settings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade B, and why

claude-code-plugins scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

"Read(./.claude/settings.local.json)",
.claude/settings.json · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

{
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
  "autoMemoryEnabled": false,
  "permissions": {
    "allow": [
      "mcp__claude-code-remote__add_repo",
      "mcp__claude-code-remote__get_event",
      "mcp__claude-code-remote__get_session",
      "mcp__claude-code-remote__get_trigger",
      "mcp__claude-code-remote__list_environments",
      "mcp__claude-code-remote__list_events",
      "mcp__claude-code-remote__list_repos",
      "mcp__claude-code-remote__list_sessions",
      "mcp__claude-code-remote__list_triggers",
      "mcp__claude-code-remote__read_documentation",
      "mcp__claude-code-remote__register_repo_root",
      "mcp__claude-code-remote__set_session_tags",
      "mcp__claude-code-remote__set_session_title",
      "mcp__claude-code-remote__subscribe_pr_activity",
      "mcp__claude-code-remote__unsubscribe_pr_activity"
    ],
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(./secrets/**)",
      "Read(./.claude/settings.local.json)",
      "Read(**/*.key)",
      "Read(**/*.pem)",
      "Read(**/id_rsa)"
    ]
  },
  "env": {
    "CLAUDE_CODE_DISABLE_AUTO_MEMORY": "1",
    "HOOK_TELEMETRY_SINK": ".claude/hooks/hook-telemetry-sink.sh"
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "if": "Bash(git push *)",
            "command": "if git -C \"$CLAUDE_PROJECT_DIR\" diff --quiet \"$(git -C \"$CLAUDE_PROJECT_DIR\" merge-base HEAD refs/remotes/origin/main 2>/dev/null)\" -- .claude/hooks/check-affected-pre-push.sh lib/hook-utils.sh 2>/dev/null; then bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/check-affected-pre-push.sh\"; fi"
          }
        ]
      }
    ],
    "SessionStart": [
      {
        "matcher": "startup|resume",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/cloud-bootstrap.sh\""
          }
        ]
      }
    ]
  },
 

Read the full file on GitHub · 83 lines

Same file

What else settings.json configures

This page is one entry in a file that holds 3. Installing the file brings all of them; each is measured and scanned on its own page.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -8 lines e1fb575e7fa0
  2. 4d ago Changed · +13 lines dfb7b72573f7
  3. 5d ago Changed 6ebcadd7fcef
  4. 9d ago Changed · +18 lines d109c4c91437
  5. 12d ago Changed · +4 lines c9cf4ada55c7
  6. 13d ago Changed · +3 lines 0f9460a9e2ed
  7. 14d ago Changed · +1 lines b7162a4eaaa4
  8. 16d ago Changed · +1 lines 7b626049cff3
  9. 17d ago Changed · +1 lines 62ebed2107e5
  10. 18d ago First seen · 50 lines scan B de3c4e597be0

Subscribe to this mod's changes

claude-code-plugins is a settings file published in the GitHub repository melodic-software/claude-code-plugins (25 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.