---
title: "CLAUDE.md vs context.md: Rules and Business Records"
description: "Compare CLAUDE.md vs context.md for business work. Separate instructions, current facts, task briefs, and enforced permissions, then test the scope."
canonical: "https://scalewithsearch.com/articles/context-file-vs-claude-md-business-project"
date: "2026-08-26"
modified: "2026-11-10"
---
## Site navigation

- [Scale With Search](https://scalewithsearch.com/)
- Services
  - Local
    - [All services](https://scalewithsearch.com/services)
    - [AI visibility tracking](https://scalewithsearch.com/services/ai-visibility-tracking)
    - [Google Maps rank tracking](https://scalewithsearch.com/services/google-maps-rank-tracking)
    - [Local SEO](https://scalewithsearch.com/services/local-seo)
    - [Google Business Profile management](https://scalewithsearch.com/services/google-business-profile)
  - Website and search
    - [SEO solutions](https://scalewithsearch.com/seo)
    - [Technical SEO](https://scalewithsearch.com/seo/technical-seo)
    - [On-page and content SEO](https://scalewithsearch.com/seo/on-page-and-content-seo)
    - [Semantic SEO and topical authority](https://scalewithsearch.com/seo/semantic-seo-and-topical-authority)
    - [Custom SEO tools](https://scalewithsearch.com/seo/custom-seo-tools)
    - [Site build](https://scalewithsearch.com/work#site-build)
    - [Whole website fix](https://scalewithsearch.com/work#whole-website-fix)
  - AI functions
    - [AI operations](https://scalewithsearch.com/ai-systems)
  - First step
    - [Working session](https://scalewithsearch.com/audit)
  - Start here
    - [Send your brief](https://scalewithsearch.com/work#send-your-brief)
    - [Example scope](https://scalewithsearch.com/work#review-the-example-scope)
    - [Prices and terms](https://scalewithsearch.com/work#prices-and-terms)
- Industries
  - Agencies
    - [SEO agencies and consultants](https://scalewithsearch.com/for/seo-agencies-and-consultants)
    - [Marketing agencies and freelancers](https://scalewithsearch.com/for/marketing-agencies-and-freelancers)
    - [AI visibility check for SEO agencies](https://scalewithsearch.com/check/seo-agencies-and-consultants)
    - [Marketing and SEO agencies](https://scalewithsearch.com/for/#group-agencies)
  - Browse by business
    - [Trades and field service](https://scalewithsearch.com/for/#group-trades)
    - [Real estate agents and teams](https://scalewithsearch.com/for/real-estate)
    - [Health, wellness, and animal care](https://scalewithsearch.com/for/#group-practices)
    - [Chiropractic and wellness practices](https://scalewithsearch.com/for/chiropractic-and-wellness-practices)
    - [Law, finance, and IT](https://scalewithsearch.com/for/#group-professional)
    - [Machine shops and manufacturers](https://scalewithsearch.com/for/#group-manufacturing)
    - [Restaurants, shops, studios, and nonprofits](https://scalewithsearch.com/for/#group-local-services)
  - [All industries](https://scalewithsearch.com/for/)
- Resources
  - Free tools
    - [AI visibility check](https://scalewithsearch.com/check)
    - [All free tools](https://scalewithsearch.com/tools/)
    - [Free starter kit (.zip)](https://scalewithsearch.com/kit/business-memory-starter-kit.zip)
  - Guides
    - [AI-native library](https://scalewithsearch.com/ai-native)
    - [Industry intelligence](https://scalewithsearch.com/intelligence)
    - [Office job guides](https://scalewithsearch.com/guides/)
    - [Business memory](https://scalewithsearch.com/articles/business-memory-for-ai-agents-guide)
    - [Agent governance](https://scalewithsearch.com/articles/ai-agent-governance-guide-small-business)
    - [Ownership and migration](https://scalewithsearch.com/articles/leaving-vendor-ai-memory-guide)
  - Articles
    - [All articles](https://scalewithsearch.com/articles/)
- About
  - Evidence
    - [Proof](https://scalewithsearch.com/proof)
  - Scale With Search
    - [About](https://scalewithsearch.com/about)
    - [How it works](https://scalewithsearch.com/how-it-works)

# Context File vs CLAUDE.md: Business Facts or Agent Work Rules.

Built from 5 notes in Victor's vault. Drafted with Claude Fable 5 and Claude Fable 5.1, rewritten against Victor's notes with Claude Opus 5.5. Reviewed by Victor on 2026.11.11.

A business puts prices, client status, shell commands, style rules, and private exclusions into one `CLAUDE.md`. Every coding session loads the file. Prices go stale beside stable tool rules. Client details cross into tasks that never needed them. A written warning looks like an enforced permission, and nothing enforces it.

Split the work four ways. `CLAUDE.md` holds short standing instructions about how Claude works in a scope. Context files hold the current business facts a job may need. A task brief holds the job, the source order, the output, the test, and the stop. Permissions and operating-system controls hold the denials that must actually hold.

## CLAUDE.md tells the agent how to work

Claude Code's documentation describes `CLAUDE.md` files as persistent instructions that you write. They work at organization, user, project, and nested scopes. The documentation also says this content is context, not enforced configuration. [Claude Code: Memory](https://code.claude.com/docs/en/memory)

Good standing instructions include:

- repository layout and build command;
- naming and formatting conventions;
- required tests before handoff;
- canonical source directories;
- output and receipt locations;
- broad approval and stopping rules;
- pointers to narrower job briefs.

Do not turn the file into a company encyclopedia. Every standing line competes for attention, and it applies to tasks that never needed it.

The [business CLAUDE.md template](/articles/claude-md-template-business-context) gives a full example with sources, exclusions, outputs, approval, and verification.

## Context files tell the agent what is true

A context file holds maintained facts for one business, client, project, or job. Examples: the current offer, the approved client state, an active decision, a glossary, a service boundary.

My context files follow one fixed shape: what is true now in at most ten dated lines, standing rules with their ruling dates, at most five open items with owners, and a table that points to deeper files. A context file is not a log.

Each consequential file needs an owner, an effective date, a source role, and a correction path. The file should say whether it is current, reference-only, superseded, or synthetic.

Load context only when the job needs it. A global instruction file does not need every client's current price or every project's open blocker.

The [context manifest template](/articles/#cluster-owned-memory)<!-- reading-origin:XSgvYXJ0aWNsZXMvYWktY29udGV4dC1tYW5pZmVzdC10ZW1wbGF0ZSk= --> lets several agents share one structured inventory of sources, roles, scope, load conditions, and exclusions.

## Use a task brief for the recurring job

Neither `CLAUDE.md` nor a general context file defines a recurring result on its own.

The task brief names the job, the reader, the inputs, the source order, the output, the acceptance checks, the approval owner, the stopping point, and the receipt. It can point to the standing instructions and the current context without copying them.

For example, `CLAUDE.md` may require draft-only outside communication. `clients/ACME/current.md` holds the approved client state. `jobs/weekly-update.md` tells the agent to prepare this week's draft from that state and names the exact acceptance list.

When a current fact changes, edit the context record. When the job changes, edit the brief. When a workspace-wide work rule changes, edit `CLAUDE.md`.

Keep a change receipt for each class. An instruction change names the repositories and workflows it affects. A context correction names the fact it replaced and the outputs downstream of it. A brief change names the acceptance behavior that changed. Then one edit cannot quietly change unrelated work.

## Inspect `context-vs-instructions-map.csv`

Route each item by responsibility.

```csv
item,class,scope,authority,load_condition,owner,update_trigger,destination
run_npm_test,work_rule,repository,standing,every_code_change,engineering,toolchain_change,CLAUDE.md
current_offer_price,business_fact,offer,current,quote_job,offer_owner,approved_price_change,context/offers/current.md
client_approval_status,business_fact,client_job,current,active_client_only,account_owner,status_change,clients/CLIENT-ID/current.md
prepare_weekly_update,job_contract,client_job,approved,weekly_update_run,account_owner,workflow_change,jobs/weekly-update.md
deny_production_write,enforced_control,system,policy,all_runs,system_admin,permission_change,.claude/settings.json
```

The last row matters most. A sentence in `CLAUDE.md` can tell the agent to avoid production writes. The actual denial belongs in permission settings, sandboxing, credentials, or tool design.

Do not place secrets in any of these files. Point to an approved secret store without printing the value.

## Keep volatile facts out of standing instructions

Volatile facts make global context go stale. Prices, availability, owners, campaign status, and client decisions change on their own schedules.

Move them into current records. Let `CLAUDE.md` say, "Use the current approved offer from `context/offers/current.md`." The standing rule stays still while the owned source changes through review.

This makes errors easy to trace. If a quote uses an old price, inspect retrieval and the offer record. If the agent skipped the test, inspect the instructions and the harness. If a denied tool ran, inspect the enforced control.

Do not copy the same fact into several instruction files. Copies create hidden precedence disputes.

## Route global, project, task, and client scope

Use the narrowest scope that serves every intended reader.

Organization instructions cover required company conventions. User instructions cover personal preferences that do not weaken organization policy. Project instructions cover one repository. Nested rules cover one subdirectory. Task briefs cover one job. Client context covers one resolved client identity.

Claude Code documents recursive discovery for `CLAUDE.md` and path-scoped rules. When you diagnose scope, run `/memory` to list the instruction files that loaded. Keep each file short and specific.

Resolve the active business and client before you read their context. Do not search every client directory and ask the model to pick.

Treat examples as their own source class. Label them `format_only`, `synthetic`, or `approved`. A polished old example should not supply current facts. If the agent cannot tell whether an example's contents are reusable, the task brief should require a stop.

The [minimum-context guide](/articles/#cluster-owned-memory)<!-- reading-origin:XSgvYXJ0aWNsZXMvd2hhdC1jb250ZXh0LXNob3VsZC1hbi1hZ2VudC1yZWFkKQ== --> shows how to load required sources first and widen only after a grounded miss.

## Run the routing test list

1. Create synthetic global, project, task, and client files. Put a 47-dollar offer in `context/offers/current.md`, standing rules in `CLAUDE.md`, and the quote job in `jobs/quote.md`.
2. Map every item to one responsibility.
3. Start a fresh session at the repository root.
4. Inspect which instruction files loaded.
5. Run the task and cite the current context file.
6. Change the approved price to 52 dollars without editing `CLAUDE.md`.
7. Apply a correction and rerun.
8. Add an archived 47-dollar price. Require the 52-dollar current value, the source path, and the correction ID.
9. Request a production write that the test permission settings deny. Confirm zero writes, not just refusal text.
10. Start from a nested directory and inspect scope.
11. Remove one required context file and expect a blocked receipt.
12. Give the task brief and context to another agent.

The test passes when the changed fact shows up, the standing rules stay the same, the archive is rejected, the denial holds, the missing source stops the run, and the second agent produces the same result.

## Approval and stopping boundary: context file vs CLAUDE.md for business facts

The setup may create synthetic instruction files, context records, task briefs, test permissions, local drafts, corrections, and receipts.

It stops before granting production access, weakening permissions, loading broad client folders, storing secrets, changing organization-managed policy, or applying the template across repositories. The repository owner approves instructions. The business owner approves current facts. The system administrator approves enforced controls.

Some items fit none of the four classes: work rule, current fact, job contract, or enforced control. Leave those items out until their owner and scope are resolved.

## Three public sources on context file vs CLAUDE.md for business facts

- [Claude Code: Memory and CLAUDE.md](https://code.claude.com/docs/en/memory)
- [Claude Code: Permissions](https://code.claude.com/docs/en/permissions)
- [Claude Code: Settings](https://code.claude.com/docs/en/settings)


## Questions about Context File vs CLAUDE.md: Business Facts or Agent Work Rules?

### What should go in CLAUDE.md, and what should stay out?

Put stable agent work rules, project conventions, required commands, and routing instructions in CLAUDE.md. Keep volatile business facts, current status, client records, and task-specific state in maintained context files or briefs that CLAUDE.md can point to when needed.

### Can I keep shared identity and project-specific context in Claude Code?

Use the broad instruction layer only for rules that truly apply across projects, then keep each project's facts and work rules in its own scoped files. Test from the intended working directory to confirm that one changed fact is retrieved from the context source without leaking another project's state.

### Should project status and business facts live in CLAUDE.md?

Keep current status and changing facts out of standing instructions because they become stale and consume the startup context on every task. Store them in a dated context file or task brief, name the update owner, and route the agent to that source only when the job needs it.

## More reading on context file vs CLAUDE.md for business facts

- [CLAUDE.md Template for Business Context: What Claude Code Should Read Before Work](/articles/claude-md-template-business-context)
- [Stop AI from inventing client details with a verified client file and a stop rule](/articles/#cluster-ai-memory)<!-- reading-origin:XSgvYXJ0aWNsZXMvYWkta2VlcHMtaGFsbHVjaW5hdGluZy1teS1kZXRhaWxzKQ== -->
- [Remove the context setup step that makes AI slow down your work](/articles/#cluster-ai-memory)<!-- reading-origin:XSgvYXJ0aWNsZXMvYWktd29ya2Zsb3ctYm90dGxlbmVjayk= -->

----

```text
                  .|########||.                                       .|########||.                                       .|########||.
               |##||.      .||##|.                                 |##||.      .||##|.                                 |##||.      .||##|.
             |#|.              .|#|.                             |#|.              .|#|.                             |#|.              .|#|.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
        .#.                          .#|                    .#.                          .#|                    .#.                          .#|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
      |#             ......             #|                |#             ......             #|                |#             ......             #|
     .#           ||#########|           #|              .#           ||#########|           #|              .#           ||#########|           #|
    .#.         |######||######|.        .#.            .#.         |######||######|.        .#.            .#.         |######||######|.        .#.
    #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#
   ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||
   #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #
 ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||
 #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#
 #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.
.|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||
||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||
#.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#
#    .||####|###########################|.     #    #    .||####|###########################|.     #    #    .||####|###########################|.     #
#      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #
#      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #
#      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #
#      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #
#   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #
#. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#
|| |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||
|| ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||
.# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.
 #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#
 ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||
  #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.
   ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||
    #.        .######|#|#########|        .#            #.        .######|#|#########|        .#            #.        .######|#|#########|        .#
    .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.
     |#           ||########||           #.              |#           ||########||           #.              |#           ||########||           #.
      |#             ......             #|                |#             ......             #|                |#             ......             #|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
        |#.                          .#.                    |#.                          .#.                    |#.                          .#.
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
            .|#|.              .|#|.                            .|#|.              .|#|.                            .|#|.              .|#|.
               |##||.      .||##|                                  |##||.      .||##|                                  |##||.      .||##|
                 .||########||.                                      .||########||.                                      .||########||.

Scale With Search  2026  [scalewithsearch.com](https://scalewithsearch.com)
```
