# Claude Code Memory Review: CLAUDE.md, Rules, Imports

> Source: <https://aiskills402.com/skills/claude-code-memory-review>
> Published: 2026-11-26 18:57:14+00:00

**Recommendation:** Audit CLAUDE.md imports for missing targets, wrong-folder relative paths and quoted or spaced paths, and move @imports out of path-scoped rules since they load at session start regardless.
More in the playbook "Working with AI coding agents": <https://wpnews.pro/playbooks/coding-agents>

Reviews a pasted Claude Code memory setup (a folder tree plus CLAUDE.md, CLAUDE.local.md, files under .claude/rules/, imported files, AGENTS.md and an auto-memory MEMORY.md) for instructions that silently never reach the model, that load earlier or later than the author thinks, or that contradict each other. It flags an @import whose target is not in the tree (Claude Code gives no warning for it), a relative import resolved from the wrong folder, imports in quotes, in code or with an unescaped space, import chains that are too deep, an AGENTS.md next to a CLAUDE.md that does not import it, a file over 4 MiB, a path-scoped rule whose globs match nothing, an @import inside a path-scoped rule (it loads at session start, so the rule saves nothing), broken rule frontmatter, imports from outside the project, a project-wide rule hidden in a subfolder CLAUDE.md, files far over 200 lines, an auto-memory index cut at 200 lines or 25 KB, stale file paths, opposite instructions in two loaded files and the Next.js agent block that next dev keeps writing back. Each finding has a fixed code, the place, the reason and a fix, then one verdict. Use to review Claude Code memory, check CLAUDE.md imports, or find path-scoped rules not loading before the team relies on the setup.
