Add the context files
A git-managed project needs one complete context tree in the repository. Usually, you pull the context Cassis already created and commit it.
If the project already has context
-
Install the Cassis CLI and set
CASSIS_API_KEY. -
From the repository checkout, pull the current context:
cassis context pull --project <project-id>This creates the
cassis/directory, includingproject.yml, the context files, and the generatedAGENTS.mdmodeling guide.project.ymlbinds later commands to the project. -
Validate the files:
cassis context fmt cassis context check -
Review the diff, then commit the complete
cassis/directory.
If you are starting from scratch
Run the context bootstrap kit on the stack you already have. It drafts a first tree from what your warehouse schema, dbt models, dashboards, query history and docs already declare, keeps the evidence behind every claim, and stops at four checkpoints where your team decides: the scope, the domain grouping, the metrics, and the questions the sources could not answer. What it writes is a cassis/ directory you review and commit like any other change.
The kit is a standalone repository, not part of the Cassis CLI. It versions on its own, we expect to fold it into the CLI as it settles, and until then the fastest way past anything it gets wrong is to tell us.
To hand-author instead, copy the cassis/ directory from the minimal example into the repository and update it for your warehouse. Either way, validate before committing:
cassis context fmt
cassis context check
Commit the result when it passes. The modeling guide explains how people and coding agents should structure the content, while the schema reference defines every field.
Keep only context files under the configured cassis/ path. An import treats that directory as the complete context: adding a file adds an object, and deleting a file deletes it.