Unclear Which value of CLAUDE_CODE_WOBBLY_TOUCAN stops the clean-up is not stated.
When Claude Code is idle, a background clean-up routine now deletes leftover plugin marketplace downloads: backup folders ending in .bak or .backup that are more than 14 days old. A plugin marketplace is a catalogue you add to find and install plugins from.
It leaves things alone in these cases:
- links and junctions (shortcuts pointing elsewhere)
- folders still in use
- when the list of added marketplaces can't be read, in which case it tries again in a later session
- while Claude Code's other retention clean-up is paused
It can be stopped with the environment variable CLAUDE_CODE_WOBBLY_TOUCAN or by a feature flag Anthropic controls remotely. When it removes folders, it records how many it removed and from where.
This deletes files inside your plugin marketplaces folder. If you keep anything in backup folders there, copy it elsewhere or set CLAUDE_CODE_WOBBLY_TOUCAN.
Which value of `CLAUDE_CODE_WOBBLY_TOUCAN` stops the clean-up is not stated.