Nometabelline
MateriaFor coding agents
Classekept up to date

For coding agents · kept up to date · started 8 November 2026

Working on tabelline, for agents

What a coding agent needs to change tabelline: how to set up, the commands it will run, where things are, and the rules of the repository. People new to the code can read it too.

The rules below are read from AGENTS.md when this page is built, so they are always the ones in the repository. A short map of the site for language models is at llms.txt. An agent using tabelline (not changing it) reads the whole API in one Markdown file, api.md, or as data, api.json: the Reference, as plain text. Two skills come with the repository.

Start here

In a fresh checkout or sandbox, run the setup first. It installs what is missing (Nim, atlas, libpcre3) and the pinned dependencies, and it is safe to run again:

sh tools/setup.sh

Then these are the commands an agent runs, in the order a change needs them:

The commands
what it does
nim r tests/all.nimruns the tests
nim r tools/specexamples.nimruns every example in the specs and checks its output
nim r tools/specexamples.nim --updaterewrites the outputs after a change is built (--changes adds open changes)
nim r tools/drift.nimchecks that no page adds HTML, styles or colours (--update lowers the baseline)
nim r -d:release docs/all.nimbuilds every page into docs/ (the HTML is not committed)
nim r book/bookbuild.nimbuilds the book into docs/book/ (only the chapters that changed)
nim r tools/preview.nimcopies the built pages to ../tabelline-preview, for an artifact to show Pietro

Where things are

The rules, from AGENTS.md

Notes for coding agents (and people) changing this repository. How tabelline behaves is in openspec/specs/ (rendered at specs/); how it is laid out is in README.md. This file holds the working rules that are easy to miss.

Behaviour lives in the specs

Code

Setup

Pages

The book

Skills

Previews and PRs

Skills, for agents that use tabelline

A skill is a short Markdown file an agent reads before a task. Two are in the repository, in skills/, and the post Skills for tabelline tells how they were made and tested.

In Claude Code they install as one plugin: add this repository as a marketplace, then install the plugin from it.

/plugin marketplace add pietroppeter/tabelline
/plugin install tabelline@tabelline

Any other agent can be pointed at the two files. Their Nim examples run against the code (nim r tools/skillexamples.nim, in CI), and each skill has eval cases in evals/, graded by nim r tools/skillevals.nim <case> <run folder>.

How it is built

docs/agents.nim reads AGENTS.md from the repository when the pages are built, drops its title and turns its ## sections into ###, so the rules on this page are the file's. It also writes docs/llms.txt from the list of pages below it in the same file; CI publishes it at the root of the site.