Persistent Memory for Football Data
Inspired by Andrej Karpathy
Persistent. Linked. Compounding.
CLAUDE.md — co-evolved rules. The conventions the agent follows.Wire Claude Code or Codex so the vault is available from any folder, in any session.
~/.claude/settings.json or ~/.codex/config.toml grants the agent access to the vault folder.~/.claude/CLAUDE.md or ~/.codex/AGENTS.md tells every session the vault exists.<vault>/CLAUDE.md or <vault>/AGENTS.md points to the durable wiki conventions.{
"permissions": {
"additionalDirectories": [
"/path/to/your/wiki"
]
}
}
Every Claude Code session can now read and write inside that folder — regardless of which directory you launched from.
# Persistent Football Knowledge Vault
Path: /path/to/your/wiki/Football Knowledge Vault
Schema: /path/to/your/wiki/CLAUDE.md
When the user mentions "the vault", wants to ingest a
football source, or names a provider (SkillCorner,
StatsBomb, OPTA, Wyscout, ...) — engage with this
vault and read its CLAUDE.md for full conventions.
Loads into every session. The keywords become Claude's auto-triggers.
The schema document tells Claude how to behave inside the vault.
Update it when reality teaches you something new.
Codex uses global AGENTS.md for awareness and config.toml for persistent writable roots.
writable_roots so workspace-write sessions can use it from unrelated folders.# Persistent extra directory for workspace-write sessions
[sandbox_workspace_write]
writable_roots = ['C:\Users\Tiago\Wiki Knowledge']
This is the Codex config equivalent of Claude Code's additionalDirectories. One-off sessions can also use codex --add-dir "C:\Users\Tiago\Wiki Knowledge".
# Global Persistent Context
Vault: C:\Users\Tiago\Wiki Knowledge\Football Knowledge Vault
Manual: C:\Users\Tiago\Wiki Knowledge\codex.md
Index: ...\Football Knowledge Vault\index.md
When Tiago mentions "the vault", "ingest", SkillCorner,
StatsBomb, OPTA, Wyscout, IMPECT, Catapult, VALD,
or tracking/event/physical data — read codex.md,
then read the vault index, then search with rg.
Codex reads this global file before work starts, even when launched from another project.
# AGENTS.md
This directory is Tiago's persistent football knowledge
vault workspace.
Before answering vault questions:
1. Read codex.md.
2. Read Football Knowledge Vault/index.md.
3. Search the vault with rg.
4. Do not ask the user to resend local vault content.
When Codex starts inside the vault, this file points it to the detailed schema in codex.md.
Tiago Monteiro · Football Data Scientist
Twelve Day Conference · 2026