Claude Code Memory Hierarchy · @path Imports · CLAUDE.local.md Splitter · Unlimited Offline Auditor

CLAUDE.md Generator & Unlimited Client-Side Auditor

Build a structured CLAUDE.md + untracked CLAUDE.local.md pair using Claude Code's native @path/to/doc.md import syntax—or paste your existing CLAUDE.md to score it from 0–100 and auto-strip vague token bloat and leaked local paths.

1. Generate from Preset or Audit Existing CLAUDE.md Unlimited Local Audits

Quick Stack Presets

2. Audit Report & Generated Files Audit Score: 100 / 100

    # CLAUDE.md — nextjs-web-app
    Generated CLAUDE.local.md (Keep out of Git for personal URLs/paths)
    # CLAUDE.local.md (Personal untracked overrides)

    0–100 CLAUDE.md Audit Rubric & The Truth About @path Imports

    • 5-Dimension Scoring Rubric (100 pts): Our deterministic auditor grades 1. Token Budget & Length (≤150 lines / 20 pts), 2. Modularity & @path Imports (20 pts), 3. Falsifiable Commands vs. Vague Fluff (20 pts), 4. Scope Discipline (CLAUDE.md vs gitignored CLAUDE.local.md) (20 pts), and 5. Secret & Stale-Path Sanitization (20 pts).
    • Why @path Imports Do NOT Save Launch Tokens: Using @docs/architecture.md inside CLAUDE.md keeps your root file human-readable, but Claude Code expands @path imports into the active context at session launch. To actually avoid loading domain rules on every turn, move path-specific rules into .claude/rules/*.md (with paths: ["src/api/**"] frontmatter) or on-demand SKILL.md files.