Introduction
Getting started
Valinor is a CI-native quality-governance product with two halves. It installs a building methodology into every coding agent in your repo — so your agents research before planning, plan before executing, verify before asserting, and ship through a strict review gate — and it lets the repository declare the quality bar it must meet — verifiable documentation and code claims, branch-protection rules, an LLM-review rubric suite, and a whole-repo audit — then enforces that bar in CI, deterministically and fail-closed.
Your agent, leveled up
The first thing you notice adopting Valinor: every coding agent inherits a senior-engineer building methodology.
Installation
Install Valinor, adopt the doctrine, and run your first gate in minutes.
Governance overview
The layered governance model and the standards Valinor enforces.
CLI reference
Every valinor command — what it checks and when to reach for it.
The configuration is config-as-code that lives in the repo it governs, so the standard travels with the code and can't silently drift. Valinor is consumer #0 of its own gates — it is governed by the very claims, rubrics, and workflows it ships.
Quick start
Add Valinor to a repository, adopt its portable doctrine, and verify the repo against the quality bar it declares. The whole loop is three commands.
Run via npx — no install
The consumer path for every repo (Node or not) is npx with the full package name — no package.json dependency. Valinor requires Node 24+ on the machine running it, and a one-time ~/.npmrc registry mapping — see Installation.
npx --yes @cmbrcreative/valinor@latest --help
Adopt the doctrine and scaffold the gates
valinor init propagates Valinor's versioned doctrine into your repo's AGENTS.md ≡ CLAUDE.md and scaffolds the minimum to run the gates — a governance.config.yml, a starter claims.yml, a starter README.md, a .greptile/config.json rubric library, and a CI workflow:
npx --yes @cmbrcreative/valinor@latest init . # adopt the doctrine + scaffold into this repo
npx --yes @cmbrcreative/valinor@latest init . --dry-run # preview the plan, write nothing
init is safe to re-run: it re-inlines the current doctrine in place and leaves your existing config files untouched, so pulling a doctrine update never clobbers your custom claims or rules.
Run your first gate
From your repo root, verify the repo satisfies every claim declared in claims.yml:
npx --yes @cmbrcreative/valinor@latest claims-verify
A passing run prints one ✓ line per claim and a final claims-verify: N claims true.
What gets checked, offline vs. online
The file / grep / token / files-identical claim checks are sub-second and offline-safe. Only the GitHub checks (branch-protection-check, repo-settings-check) call the GitHub API and need a token — see the CLI reference.
Where to go next
- Want the headline value prop? Read Your agent, leveled up — the methodology every agent in the repo inherits.
- New to the toolchain? Start with Installation for the full setup walkthrough.
- Want the whole command surface? See the CLI reference.
- Curious how the enforcement layers fit together? Read the Governance overview.
- Hit an error? Check the FAQ & troubleshooting.
For contributors working inside the Valinor repository, the in-repo developer guide goes deeper on the build, the gate scripts, and the contribution flow.

