Split Claude MD Pattern

Demo/pattern for creating a home CLAUDE.md optimised for context handling

About This Project

Split-Claude-MD-Pattern is a documentation and template project that describes how to organise Claude Code's persistent user-level configuration file, ~/.claude/CLAUDE.md, as a compact entrypoint of roughly 30 to 50 lines. Detailed information such as hardware, network topology, development tooling, contacts, and troubleshooting notes is moved into topic-specific Markdown files within a ~/.claude/context/ directory, which Claude reads on demand when a task requires them. The project explains that Claude Code loads user-level CLAUDE.md files into every session and combines them additively with directory- and project-level files, so a monolithic user file consumes context window space irrelevant to most sessions. It also recommends using only ~/.claude/CLAUDE.md rather than ~/CLAUDE.md to avoid overlapping user-level contexts.

The repository includes a complete demo directory built around a fictional persona, providing an example entrypoint file and eight context files covering areas such as system environment, development environment, file organisation, MCP usage, media tools, contacts, and authentication and security. The adaptation steps are simple: copy the demo files into the Claude configuration directory, replace the synthetic data with personal details, and add or remove context files to suit a given workflow. The project is part of a broader index of Claude Code resources maintained by its author.

The pattern is most relevant to developers and power users of Claude Code who maintain extensive persistent configuration and want to limit the context consumed in every session. It may also interest those managing multiple projects across different directories, where project-level and user-level instructions interact, and anyone seeking a structured starting point for organising personal Claude Code memory.

Project Details

Explore More Projects