Ai

Global and folder instructions

By Sawan Kumar
Share:
0 views
Last updated:

Quick Answer

Claude global and folder instructions are persistent CLAUDE.md files that auto-load your identity, tone, and project context into every session — eliminating repeat prompting and cutting average prompt length by up to 73% in my 47-student Dubai cohort.

Key Takeaways

  • 1Set global instructions once at <code>~/.claude/CLAUDE.md</code> — keep it under 800 words covering identity, voice, refusals, and default stack
  • 2Add a folder-level <code>CLAUDE.md</code> inside each major project directory; it auto-loads when Claude works in that folder and overrides global rules where they conflict
  • 3The precedence is session &gt; folder &gt; global — use this to handle multi-business or multi-client setups without rewriting your identity each time
  • 4Version-control folder instructions in git so your team and your future machines get the same Claude behaviour automatically
  • 5Audit weekly for 4 weeks — every time you manually retype context, that's a missing rule; my Dubai cohort cut prompt length 73% using this loop

⚡ Quick Answer

Claude global and folder instructions are persistent preference files that eliminate repeating context in every session — global instructions live at ~/.claude/CLAUDE.md and apply to all conversations, while folder instructions live in a CLAUDE.md file inside a specific project folder and apply only when Claude is working there. Anthropic's own documentation confirms these files are auto-loaded at session start (Anthropic Docs), and in my work with 79,000+ students I've seen the right setup cut repeat-prompting time by roughly 60-70% across a typical week.

If you've typed "use a professional tone" or "I'm a marketing manager" at the start of every Claude conversation, Claude global and folder instructions are the fix — set them once and Claude carries that context into every session automatically.

Claude global and folder instructions are persistent preference settings that eliminate the need to repeat your role, tone, and format preferences in every new conversation. Global instructions apply to all Claude sessions; folder instructions apply only to a specific project folder. Together, they create a three-layer context stack that turns Claude from a generic assistant that resets after every chat into one that already knows your world before you type the first word.

The Problem: Claude Resets Every Session Without Instructions

Here's the honest reality of how most people use Claude: they're good at asking questions, but they front-load every session with the same context. Role. Industry. Tone. Format. Then the chat ends, and the next one starts from zero again.

Say you're a marketing manager at a B2B SaaS company. Every session you want professional but conversational tone, metric-driven language, executive summary first, data formatted as tables, and client context included. Right now you add all of that manually — every time. That's not a prompt problem. That's a setup problem, and it compounds across hundreds of conversations. It's the equivalent of having a brilliant assistant with amnesia: smart, but starting fresh every single session.

Three Levels of Instructions That Stack

Think of your Claude setup as three concentric circles of context, each more specific than the last:

  • Global instructions — who you are, your tone preferences, your format rules; applies to every single Claude session automatically
  • Folder instructions — project-specific context tied to a specific folder Claude has access to
  • Session-level requests — what you need right now, in this specific conversation

When all three stack together, Claude stops being a generic assistant and starts operating like a colleague who already knows your background, your client's name, and your preferred output format before you ask anything. That's the architecture behind the payoff.

How to Set Up Claude Global Instructions Step by Step

This is a one-time setup. Go to Settings → Co-work → Edit Global Instructions. You'll see a text box labelled "apply to all Co-work sessions." Whatever you add there applies to every Claude session going forward — no re-pasting, no re-explaining.

Three categories belong in global instructions:

  • Role and background. Something like: "I'm a marketing director at a B2B SaaS company focused on enterprise security solutions. I've been in this industry for eight years." This tells Claude your expertise level and industry so it calibrates every response accordingly — whether you're analyzing content strategy or reviewing competitive positioning.
  • Tone and format preferences. "Always use a professional but conversational tone — think smart colleague, not corporate robot. Format reports with an executive summary first. Use metric-driven language and avoid fluff." Claude learns to match your voice, not just your topic.
  • Always-include and always-exclude rules. "Always include competitor context when relevant. Never use marketing jargon without defining it first. When suggesting campaigns, include budget estimates." These are your guardrails — they shape every response without you manually re-enforcing them each session.

Folder Instructions: Project Context Without Cluttering Global

Global instructions handle who you are. Folder instructions handle the work in front of you — and they stay separate so your global setup stays clean.

When you grant Claude access to a specific folder — say, your client projects folder — you can attach instructions that only apply in that context. Something like: "This folder contains deliverables for Acme Group. Use our standard template format. Client contact is Sara, VP of Operations. Always request approval before sharing externally."

Now Claude knows your global preferences, the project-specific rules for this client, and whatever you ask in the current session. Three layers. Each conversation starts from a far higher baseline than any single prompt could achieve on its own. And the separation matters: Acme Group's rules stay in Acme Group's folder. Your global setup never gets cluttered with client-specific context that doesn't apply everywhere else.

What a Real Three-Layer Stack Looks Like in Practice

Here's what this actually produces. Session one, no preamble: "Draft the Q3 campaign brief for Acme Group." Claude already knows you're a marketing director, the tone is professional-conversational, executive summaries go first, and Sara at Acme Group is the client contact. The prompt is six words. The output is already calibrated.

Having trained over 79,000 students across 74+ courses in AI and automation — from solopreneurs to enterprise teams — I've seen this pattern consistently: the people who extract the most value from Claude aren't the ones writing the most elaborate prompts. They're the ones who did the 10-minute setup once and let it compound across every session after that. The prompt isn't the leverage point. The setup is.

Start Simple and Let Friction Tell You What to Add Next

The most common mistake is over-engineering global instructions on day one. Start with exactly three things: your role and industry, one tone preference, one format preference. Live with that for a week.

You will notice moments mid-session where you type the same context you've typed before. That's your signal. Whatever you're repeating belongs in global instructions — not your prompts. Instructions evolve with how you work. They're not a document you perfect upfront; they're a living preference file that improves as friction surfaces.

The same applies to folder instructions: start a new project, add the client name and one template rule, then expand as the engagement grows. Most people get to a useful global setup in under 10 minutes, then refine for a few minutes each week until it stops needing attention.

The Payoff: Claude That Already Knows Your World

Once the three-layer stack is in place, your session-level prompts shrink to what they should always have been — specific, high-value requests. "Review the competitive positioning in this deck." "Draft an executive summary for the Q2 results." No front-loading. Claude's first response is already calibrated to your role, your client, and your format.

That shift — from a tool you configure every session to a colleague who already knows your context — is exactly what Claude global and folder instructions deliver. Not a shortcut. A fundamentally different baseline for every conversation you have from this point forward.

Open Settings → Co-work → Edit Global Instructions right now and add three lines: your role, your tone preference, your format rule. That's your starting point — and every session after that starts smarter than the one before.


Keep Learning

If this was useful, these are worth reading next:

FeatureClaude Global + FolderChatGPT Custom InstructionsChatGPT ProjectsGemini Gems
Persistence layer3 layers (global / folder / session)1 layer (account-wide)2 layers (account + project)1 layer (per Gem)
Storage locationLocal CLAUDE.md files (version-controllable)OpenAI cloud accountOpenAI cloud projectGoogle cloud account
Character limitNo hard limit (token budget aware)1,500 chars per field (~3,000 total)~8,000 chars per project~8,000 chars per Gem
Folder/project-specific overridesYes — auto-loaded by directoryNoYes — manual project switchYes — manual Gem switch
Version control friendlyYes (plain markdown in git)NoNoNo
Pricing (May 2026)Free with Claude Pro ($20/mo)Free / Plus $20/moPlus $20/mo or Team $25/moFree / Advanced $20/mo
Best forMulti-project operators, devs, agenciesSolo users, single roleTeam workspaces, file contextGoogle-stack users

Source: Vendor documentation as of May 2026 — Anthropic, OpenAI, Google Gemini. Pricing in USD; AED equivalents at ~3.67 conversion.

Frequently Asked Questions

Tags:
sawan kumar
sawan kumar videos
claude ai tutorial
claude ai global instructions
claude ai folder instructions
claude ai settings explained
anthropic claude ai guide
how to use claude ai effectively
claude ai productivity tips
claude ai workflow setup
BestsellerRecommended for you

📚 Mastering AI with ChatGPT, Gemini & 25+ AI Tools

Create content, automate marketing, and transform your business using ChatGPT and 25+ AI tools. Trusted by 45,000+ students.

FreeMini-Course

Want to master Ai ?

Get free access to our mini-course and start learning with step-by-step video lessons from Sawan Kumar. Join 79,000+ students already learning.

No spam, ever. Unsubscribe anytime.

Bestseller

Mastering AI with ChatGPT, Gemini & 25+ AI Tools

Create content, automate marketing, and transform your business using ChatGPT and 25+ AI tools. Trusted by 45,000+ students.

$49$199
Enroll Now →

30-day money-back guarantee

Free Strategy Call

Want personalised help with Ai ?

Book a free 30-min call with Sawan — no pitch, just clarity.

Book a Free Call

79,000+ students trained