The whole hunk
from line 615, old and new numbered
/
lines
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 615
615615Use these placeholders to reference hook scripts relative to the project or plugin root, regardless of the working directory when the hook runs:
616616
617617* `${CLAUDE_PROJECT_DIR}`: the project root where the session started. Claude Code also sets this variable in the environment of [stdio MCP servers](/docs/en/mcp#option-3-add-a-local-stdio-server) and plugin LSP servers.
618* `${CLAUDE_PLUGIN_ROOT}`: the plugin's installation directory, for scripts bundled with a [plugin](/docs/en/plugins). Changes on each plugin update.
618* `${CLAUDE_PLUGIN_ROOT}`: the plugin's installation directory, for scripts bundled with a [plugin](/docs/en/plugins). See [plugin environment variables](/docs/en/plugins-reference#environment-variables) for how the path behaves across updates.
619619* `${CLAUDE_PLUGIN_DATA}`: the plugin's [persistent data directory](/docs/en/plugins-reference#persistent-data-directory), for dependencies and state that should survive plugin updates.
620620
621621<Note>
from line 2713
27132713| `user_settings` | `~/.claude/settings.json` changes |
27142714| `project_settings` | `.claude/settings.json` changes |
27152715| `local_settings` | `.claude/settings.local.json` changes |
2716| `policy_settings` | `managed-settings.json` or a file in `managed-settings.d/` changes |
2717| `skills` | A skill file in `.claude/skills/` chan
2716| `policy_settings` | `managed-settings.json` or a file i