Skip to content

Lesson 19 of 24

Master Claude AI Hierarchy: Global, Project & Subfolder Settings Explained | Abdul Wahab

About this lesson

In this lesson of the Agentic AI Course, Abdul Wahab breaks down the hierarchy of settings within the Claude environment. Understanding where to place your configuration files is crucial for maintaining organized, conflict-free AI workflows, especially when moving between different projects or working within complex sub-directories . Key Highlights of This Tutorial: The Three Levels of Settings: Learn how to manage Claude at the Global, Project, and Sub-directory (File) levels to ensure your AI agent has the right context at the right time . Global Settings (Root Level): Discover how to install skills and configurations in your root .claude folder (typically located in C:/Users/[Username] on Windows) so they are automatically available for every project you ever start . Project & Subfolder Level: How to create specialized claude.md and agents.md files for specific project folders or sub-directories like /front-end and /back-end to provide targeted, technical instructions . The Priority Rule (Nearest Instruction Wins): Understand the "logic" of Claude—why it prioritizes the instructions closest to its current directory. If Global settings say "Use TypeScript" but a subfolder's claude.md says "Use Python," Claude will follow the subfolder's command . Conflict Prevention: Learn how to organize common instructions at the top level while keeping specialized features isolated in their respective folders to avoid instruction clashes . Team Collaboration: Why hierarchical settings are essential for professional teams where different developers might be managing different parts of a project (e.g., Database vs. UI) with different requirements . Advanced User Settings: A guide to exploring the settings.json file in your root folder to further customize your global Claude experience . By the end of this video, you will be able to architect complex project structures where Claude intelligently adapts its coding preferences and behavior based on exactly where you are working in your codebase. Homework: Locate your global .claude folder in your user directory, explore your settings.json, and practice setting different coding preferences in two separate sub-directories to observe how Claude prioritizes the "nearest" instructions .