Getting started

SharePoint.md: the file that gives your site a brain

SharePoint.md is the Markdown file that loads every time AI in SharePoint opens on a site. Site URL, library map, naming rules, all in plain language.

Daniel Anderson6 min read

Your SharePoint site can have a brain. One file in the Agent Assets library. Loaded every time AI in SharePoint opens. Written in natural language, written for AI not for humans.

The file is SHAREPOINT.md. It sits at the root of the Agent Assets library on the site. Anything you write in it becomes context that AI in SharePoint pulls into every conversation on the site, automatically, with no prompting.

Think of it as CLAUDE.md for SharePoint. If you have used Claude.md to brief Claude Code on a project, the pattern will feel familiar. The twist is that this file lives on a SharePoint site, governed by SharePoint permissions, and the whole team inherits whatever you write into it.

If you are new to AI in SharePoint, start with what SharePoint AI Skills are. This piece assumes you have the Agent Assets library activated and want to give the AI proper site context.

What goes in SharePoint.md

Anything AI in SharePoint needs to know about this site that it cannot infer from the content. In practice that means:

Density matters more than prose flow. SharePoint.md is read by an AI on every chat. It does not need to be readable by a human at speed. It does need to be unambiguous.

Where SharePoint.md lives

SHAREPOINT.md sits at the root of the Agent Assets library on the site. The filename is uppercase. The library is created when you turn on the Agent Assets site collection feature.

To turn the feature on if it is not already enabled:

  1. Open Site information on the site.
  2. Click View all site settings.
  3. Open Site collection features.
  4. Find Agent Assets at the top of the list and activate it.

The Agent Assets library appears immediately, with Skills and Plans folders inside. SHAREPOINT.md goes in the root, alongside those folders, not inside them.

What it looks like in action

I tested this on a People and Culture site. The site has a Policies library, a Procedures library, a Templates library, a Forms library, and a few lists.

In SHAREPOINT.md I wrote out the library map and a naming convention for policies. The convention was POL-NNN_PolicyName.pdf with sequential numbering.

In the Policies library, the eight existing policies had inconsistent names. Some had spaces, some had underscores, none had the policy number prefix. Standard SharePoint mess.

I opened AI in SharePoint chat and prompted: "according to the naming policy convention, can you please rename all of these policies in this library?"

Before doing anything, the agent loaded SHAREPOINT.md automatically. It found the Policies library by reading the library map. It read the naming convention. It returned with two clarifying questions: should it use sequential numbers, and should it keep the existing file format?

I confirmed sequential numbers and asked it to keep the files as Word documents (the convention specified PDF, but in this case the source files were .docx and I did not want a format change).

The agent renamed all eight policies one by one, following the convention exactly: POL-001_RemoteWork.docx, POL-002_LeavePolicy.docx, and so on. It returned a summary table at the end mapping old names to new names.

None of that required me to re-explain the convention, point at the library, or correct the format mid-stream. SharePoint.md carried all of it.

Why this matters

Without SHAREPOINT.md, every chat on the site starts cold. The AI knows the site exists. It does not know what the site is for, where things live, or what the rules are. Every meaningful request needs setup. "This is the policies library. The naming convention is X. The required metadata fields are Y."

With SHAREPOINT.md, every chat starts warm. The AI already knows. The user can prompt with a one-line instruction and the work proceeds.

The team-level effect is bigger. A single editor writes SHAREPOINT.md once. Everyone with access to the site benefits, every time they open AI in SharePoint chat, without ever knowing the file exists.

How SharePoint.md and Skills fit together

SHAREPOINT.md is the context layer. It tells the AI what the site is, what is in it, and what the rules are. It is always loaded.

Skills are the action layer. They tell the AI how to perform a specific multi-step workflow. They are loaded only when invoked.

Most useful sites will have both. One SHAREPOINT.md at the root of Agent Assets, plus several Skills in the Skills folder. The brain plus the hands.

For where Skills fit in the broader Microsoft AI stack, see the pillar on extending SharePoint AI with Skills. For an end-to-end Skill build, the contract gaps analysis walkthrough covers the pattern.

Where to start this week

Pick the site you spend the most time in. Open Agent Assets. If the library is empty, create SHAREPOINT.md in the root.

Write three sections. The site purpose in two sentences. A library map listing every document library with its path and what it contains. Any naming or metadata rules that apply across the site.

Open AI in SharePoint chat. Ask it something specific that the file should help with. Confirm in the response that the AI used the context. Iterate.

Your site has a brain by the end of the morning. Every conversation after that is faster.

Get the first wave of Skills when the directory opens.

Production-ready Skill Markdown files, tested in real client tenants. Free for the first wave of subscribers.

Frequently asked questions

Answers to the questions we hear most

What is SharePoint.md?

SharePoint.md is a Markdown file you place in the Agent Assets library on a SharePoint site. AI in SharePoint loads it automatically every time the chat panel opens on that site, so anything written in the file is instantly available as context to the AI for the rest of the conversation.

Where does SharePoint.md live?

At /Agent Assets/SHAREPOINT.md on the site, in the root of the Agent Assets library. The filename uses uppercase letters. The Agent Assets library is created when you turn on the Agent Assets site collection feature.

What should I put in SharePoint.md?

Whatever AI in SharePoint needs to know about this site. The site URL, the purpose of the site, a map of every document library with its path and contents, naming conventions, lists, registers, request queues, and any organisational rules that apply on the site.

Should SharePoint.md be written for humans or AI?

Written for AI. Plain language is fine, but the goal is information density, not narrative flow. Repetition and explicit rules help the AI follow instructions consistently.

Does every SharePoint site need its own SharePoint.md?

Yes. The brain is site-scoped. A team site, an HR site, and a project site will all have different content, libraries, and rules, so each needs its own SHAREPOINT.md. There is no tenant-wide brain file.

How does SharePoint.md relate to Skills?

SharePoint.md gives the AI context about the site (what it is, what is in it, the rules). Skills give the AI actions (multi-step workflows that produce a specific output). The two work together. Most useful sites will have one SHAREPOINT.md and several Skills.

Daniel Anderson

Founder, ShiftF5.ai · Microsoft Partner

Microsoft 365 consultant with twenty years in SharePoint, Copilot, and M365 AI enablement. Publisher of sharepointaiskills.com. I write about what actually ships in client tenants.

Connect on LinkedIn →