Source: GitHub (MIT)
The Problem at the Table
I love Oath: New Foundations. It is also a game where someone asks “wait, what happens to my facedown advisers if I lose this raid?” and the table stops while a player searches the rulebook and another recites a guess from memory.
I wanted to ask that question on my phone and get an answer with the rule number attached, so anyone who doubts it can check. Not an answer from an AI’s general memory of Oath, which mostly describes the original game and is wrong about New Foundations in many small ways. An answer from the current rules.
So I built oath-nf-rules-reference. It turns the publisher’s own rules and card data into two files you load into a Claude or ChatGPT project.
What It Builds
Buried Giant Studios publishes its rules library and card library from two public GitHub repositories. The rules are a numbered tree in YAML, with official FAQ and errata in separate files keyed by rule number. That is close to ideal source material: structured, current, and maintained by the people who make the game.
The repo’s scripts read that data and write two Markdown files:

Putting the errata under the rule matters more than it sounds. An assistant that finds rule 7.8.2 finds the correction to 7.8.2 in the same place.
Why the Repo Contains No Rules
The repo does not ship those two files. It ships the scripts that build them.
Neither of the publisher’s content repositories has a licence that permits redistribution, and the card site says plainly that its text is copyright Buried Giant Studios. Their READMEs invite you to fork and run the site code, which is a different thing from republishing the game. So the repo holds only my own scripts and commentary, and each person builds the reference files on their own machine, from the publisher’s repositories directly. The built files are git-ignored.
It costs the user two commands, and it means I am not handing out someone else’s rulebook.
Setup
You need git, make, and Python.
git clone https://github.com/nathanfox/oath-nf-rules-reference.git
cd oath-nf-rules-reference
pip install -r requirements.txt
make
make downloads the publisher’s rules and card text (about 12 MB; the 1.3 GB of card images is skipped), builds the two files into build/, and checks them. The versions are pinned, so everyone gets the same output; make fetch-latest build check picks up new errata when the publisher adds them.
Then, for Claude:
Create a project on claude.ai.
Upload the two files from
build/.Paste in the project instructions.
Open the project in the Claude app on your phone.
The repo has step-by-step guides for both Claude and ChatGPT.
The Instructions Do Half the Work
The files alone are not enough. Without guidance, an assistant will happily blend in what it remembers of the original Oath. The project instructions are short, and each paragraph exists to prevent a specific failure:
Answer only from the files, and say so when they don’t cover something. This stops the assistant filling gaps from memory.
Assume the standard game unless asked about the solo modes. Chapters 17 to 33 restate campaigns and the chronicle for the Clockwork Servant and Queen of Shadows. Mixed into a normal answer, they are wrong.
Cite rule numbers, and mention any erratum or FAQ on a rule you cite. This makes every answer checkable.
Admit what the card data lacks. The publisher’s card data has each card’s text and three stats. It has no costs and no icons. The assistant is told to say that instead of guessing.
Treat old card FAQ with suspicion. Much of the per-card FAQ was written for the base game and mentions things New Foundations removed.
What It’s Like to Use
I ask: How many warbands do I get when I muster?
You gain one warband on your board, plus another for each faceup adviser you have matching the suit of the card you placed the favor on (7.4.2).
I ask what a card costs, and it quotes the card’s text and tells me the data has no costs, so check the card. I ask a question that only makes sense in the original game, and it tells me that rule does not exist in New Foundations and points to what replaced it. I ask how to set up the box, and it says that is in a booklet the files do not include.
That last kind of answer is the one I care about most. A rules reference that invents a confident answer when it does not know is worse than no reference.
Testing It
The repo includes a set of example questions with the rule numbers a good answer should cite. They are chosen to probe different things: a plain lookup, a rule with an erratum, a rule with an FAQ, a card with missing data, a question that tempts the assistant toward the base game, and one whose honest answer is “not in these files.”
I ran twelve of them against my own Claude project, each in a fresh chat. All twelve came back correct, with real rule numbers and accurate card quotes. The answers were longer than I wanted at the table, so I tightened two sentences of the instructions and re-ran five; they got shorter and still reported the erratum and the FAQ where those existed.
Twelve questions is a check that the setup works, not proof that it never errs. I expect the weak spots to be long multi-step chronicle questions and anything that depends on a card’s cost.
What It Can’t Answer
Card costs and icons. They are printed on the cards and absent from the data.
Worked examples and diagrams. Those live only in the printed rulebook.
Box setup. That is in a separate booklet.
Built with Claude Code
Like most of my recent projects, I built this with Claude Code. The session started somewhere else entirely: I had saved the rules web page and wanted to know whether the saved file contained the rules. It did not. That led to converting the PDF rulebook, then to noticing the publisher’s GitHub repositories, which made everything before it unnecessary. The source data had been sitting there in a better format than anything I was extracting.
The repo also ended up with two documents that came out of my own curiosity along the way: a comparison of the rules and the cards between the original Oath and New Foundations.
Try It
If you play Oath: New Foundations and have a Claude or ChatGPT account, setup takes a few minutes. If you find a question it gets wrong, open an issue with the question and the answer; that is the most useful bug report this project can get.
This is an unofficial fan project, not affiliated with Buried Giant Studios.
Source: GitHub (MIT)

