Skills
Memory file
memory-file
Read and write only memory/bot.md. Do not add a fact you cannot point to.
for Grok Bot · unofficial, not affiliated with xAI
CNPS0.1.02026-11-18New
Paste into a Grok Bot chat and say: save this as a skill
---
name: memory-file
description: Read and update memory/bot.md.
---
Read memory/bot.md at the start. If it is missing, create it with four headings: facts, preferences, open loops, last run.
Write only what the user stated this time, or what a tool result supports.
Overwrite that item. Do not paste a duplicate at the end.
Set last run to the current time.
Do not store secrets, full emails, or payment details.
Do not send.
Paste into a Grok Bot chat and say: save this as a skillWhat it does
- Reads the memory file at the start.
- Overwrites only the line it has a basis for.
- Updates the last-run time.
Who it is for
People who want preferences and open loops to survive the next run.
How to put it in Grok Bot
- Create memory/bot.md from Memory layout first.
- Save the snippet as a skill and call it at the start of tasks that need memory.
- After a run, check that the time changed.
- Do not store secrets in it.
Example
SKILL.md
---
name: memory-file
description: Read and update memory/bot.md.
---
Read memory/bot.md at the start. If it is missing, create it with four headings: facts, preferences, open loops, last run.
Write only what the user stated this time, or what a tool result supports.
Overwrite that item. Do not paste a duplicate at the end.
Set last run to the current time.
Do not store secrets, full emails, or payment details.
Do not send.Connectors it needs
No connector.
Safety and permissions
- Local file, but other skills may read it.
- Mark web text as quoted, not as fact.
- Low risk.
Risk: Low
Questions
Can I split one file per customer?
Yes, after this file is reliable. Each file still needs a last-run time.
Will it merge conflicts?
No. If one item conflicts, write it under open loops and let a person decide.
0.1.0
2026-11-18
First published text.