{"version":"2.1.78","anchor":"plugin-persistent-data-directories","canonical_anchor":"plugin-persistent-data-directories","heading":"Plugin Persistent Data Directories","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.78\/e\/plugin-persistent-data-directories","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.78","markdown":"### Plugin Persistent Data Directories\n\n**What**\n\nPlugins now get a dedicated persistent data directory at `~\/.claude\/plugins\/data\/{id}\/`, accessible via the `CLAUDE_PLUGIN_DATA` environment variable and the `${CLAUDE_PLUGIN_DATA}` template in plugin configs.\n\n**Details**\n\n- Each plugin receives its own data directory, created automatically\n- The directory persists across plugin updates and sessions\n- On plugin uninstall, users are prompted: \"Delete it along with the plugin?\" with the data directory path shown\n- Use `--keep-data` flag with uninstall to preserve the data directory\n\n**Evidence**\n\nPlugin data path helper (search for `\"CLAUDE_PLUGIN_DATA\"`) \u2014 new env var injected into plugin processes; `--keep-data` CLI option (search for `\"--keep-data\"`)"}