claude_mem_configTier 1 · 70% confidence

ai-agents-claude-mem-config-claude-mem-creates-claude-md-files-in-every-direct-181e619a

agent: ai_agents

When does this happen?

IF Claude-mem creates CLAUDE.md files in every directory where files are read or modified, causing filesystem pollution and conflicts with project-specific CLAUDE.md files.

How others solved it

THEN Set the environment variable CLAUDE_MEM_FOLDER_INDEX_ENABLED to 'false' to disable automatic generation of CLAUDE.md files in subdirectories. This prevents filesystem pollution and eliminates the need for complex gitignore patterns to exclude auto-generated files. If the setting is not yet available, apply a workaround by early-returning from the E4 function in worker-service.cjs, but note this patch will be overwritten on plugin updates.

export CLAUDE_MEM_FOLDER_INDEX_ENABLED=false

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics