Claude Foundations

The foundational layer of a Claude Code setup, indexed as one system: five slots — entrypoint, reference context, standing directives, procedures, capability — the repos that own each, and the order to adopt them in.

About This Project

Claude-Foundations is a documentation index for a Claude Code configuration layer, covering the files and behaviours Claude loads before any specific task is known. It organises its components into five slots: an entrypoint file (~/.claude/CLAUDE.md), reference context stored on demand, standing directives kept resident, procedures (SOPs), and capability access. Each slot is owned by a separate repository, and the index records which repository is current for each slot, which earlier attempts it supersedes, and the order in which the components are intended to be adopted. The central approach is to replace an eagerly loaded bulk of context with a lean always-on pointer plus on-demand retrieval, so that the always-loaded budget is reserved for rules that must be obeyed while lookup material is fetched only when a task requires it. The index also documents a layer map linking file paths on disk to the component that governs them.

The repositories use Markdown-based context files, a split between directives and lookups, and assembly tooling that builds directive blocks from one file per habit. The capability slot relies on a search-and-read substrate rather than installing large plugin libraries, which the index reports reduces per-session plugin listing from roughly 122k tokens to about 1.1k in the author's own setup. Maintenance tooling covers repository-level CLAUDE.md files and drift auditing. The README is a snapshot dated 2026-08-12 and states that lineage between repositories is inferred by the author rather than declared in the repositories themselves.

The project is aimed at developers who use Claude Code heavily across many projects and want to control how much context is consumed on every turn. It may also suit those designing personal agent configurations who need a worked example of splitting always-on rules from on-demand reference material.

Project Details

Explore More Projects