ai-agent-memory
Copilot instructions8 starsChanged 4 months agoMITView on GitHub
Read these files for full context: A compounding cross-project knowledge base lives at ~/projects/memory (%USERPROFILE%\projects\memory on Windows; resolve ~ to your home dir). Consult it reflexively before answering about clients, domains, patterns, tools, colleagues, or past work — do not answer from memory when the wiki has the answer. - Read the top matching page(s) in full before you answer. - Compact catalog / router: ~/projects/memory/index.md (per-category summaries in ~/projects/memory/wiki/{category}/_index.md). - When you learn something durable about this project or…
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- demo-project/CLAUDE.mdCLAUDE.md
- project-template/CLAUDE.mdCLAUDE.md
- close-weekSkill
- end-sessionSkill
- ingestSkill
- lintSkill
- new-engagementSkill
- plan-weekSkill
- project-statusSkill
- querySkill
- review-sessionsSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Read these files for full context:
- Very specific: line 11
Use @workspace to give Copilot full project context
- Distinctive: line 13
Use Copilot Edits (Ctrl+Shift+I) for multi-file changes
- Distinctive: line 14
Run tests manually — Copilot cannot execute them
- Very specific: line 15
When corrected, update the project wiki page at ~/projects/memory/wiki/projects/ai-agent-memory.md
- Distinctive: line 31
Read the top matching page(s) in full before you answer.
- Very specific: line 34
When you learn something durable about this project or client, ask the user to run ingest in the memory repo so it compounds for future …
≈ “Common” is an estimate: at least 1 in 5 of the 3,779 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions
Read these files for full context:
AGENT.md— Project instructions, workflow rules, architecture, key paths~/projects/memory/wiki/projects/ai-agent-memory.md— Project wiki page (lessons, decisions)~/projects/memory/agent-config/workflow.md— Global workflow rules
Copilot-Specific Tips
- Use
@workspaceto give Copilot full project context - Pin
AGENT.mdin chat for persistent context - Use Copilot Edits (Ctrl+Shift+I) for multi-file changes
- Run tests manually — Copilot cannot execute them
- When corrected, update the project wiki page at
~/projects/memory/wiki/projects/ai-agent-memory.md
Shared knowledge base (memory wiki)
A compounding cross-project knowledge base lives at ~/projects/memory
(%USERPROFILE%\projects\memory on Windows; resolve ~ to your home dir).
Consult it reflexively before answering about clients, domains, patterns,
tools, colleagues, or past work — do not answer from memory when the wiki
has the answer.
# from ANY repo — resolves the wiki root from the script's own location
python ~/projects/memory/scripts/wiki-search.py <terms> # ranked hits
python ~/projects/memory/scripts/wiki-search.py <terms> --full # + Summary- Read the top matching page(s) in full before you answer.
- Compact catalog / router:
~/projects/memory/index.md(per-category summaries in~/projects/memory/wiki/{category}/_index.md). - When you learn something durable about this project or client, ask the user to
run
ingestin the memory repo so it compounds for future sessions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

