zoidsh

Tenet — Git skill for Claude Code

Git community

The review gate for code that agents write: rules in plain language, judged on every commit.

How to install Tenet

This entry records only its repository, not the path inside it, so there is no exact command to give. Open zoidsh/tenet and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tenet does

The review gate for code that agents write: rules in plain language, judged on every commit.

Alternatives in Git

  • Cpp — Commit, review, push, pull request 512 ★
  • Dashclaw Postcommit — Post-commit verification wave — dispatch gate-runner, drift-auditor, and 297 ★
  • GitCommit — You are a commit message generator 250 ★

README

tenet

**Your agents read AGENTS.md. Then they ignore it. tenet makes them fix it before you ever see the diff.**

[![CI](https://github.com/zoidsh/tenet/actions/workflows/ci.yml/badge.svg)](https://github.com/zoidsh/tenet/actions/workflows/ci.yml)

*Pre-release: the tenet format, the flags and the output are not stable, and any release can change them, so pin the version you install with `TENET_VERSION`.*

tenet is the review gate for code that agents write. Your AGENTS.md says what a comment is for and that a failure is raised rather than hidden; agents break those rules anyway, and nobody reads every line of a large diff. You write each tenet once in plain language in `tenet.yml` and every commit is judged against it, fast enough that the agent fixes its own findings before you see the diff.

TypeSafe's jev model answers each rule with a calibrated probability, so a tenet is a pass-or-fail cutoff rather than a review comment to skim. On this repository a staged change took 1.1 s and cost $0.0022; a 2,062-line diff took 1.5 s and $0.0036, against a measured 50.3 s and $0.0535 for one Claude Haiku 4.5 call over the same diff and 121.4 s and $0.1943 for Sonnet 5, so about 34x faster and 15x cheaper than Haiku and about 81x faster and 54x cheaper than Sonnet. The tables are under Benchmarks.

Install

Homebrew, on macOS and on Linux:

brew install zoidsh/tap/tenet

npm, which carries the binary for your platform as an optional dependency and runs no install script:

npm install -g @zoidsh/tenet
npx @zoidsh/tenet

As a devDependency, so everyone working on the repository gets the same tenet:

npm install --save-dev @zoidsh/tenet

The installer script, which puts the binary in `~/.local/bin` and never asks for sudo:

curl -fsSL https://raw.githubusercontent.com/zoidsh/tenet/main/install.sh | sh

From source, which needs a Go toolchain:

go install github.com/zoidsh/tenet/cmd/tenet@latest

Every release tarball, and