One quality gate
codeknife check runs ten static blades and the loosening guard in parallel. Errors and warnings fail the run; info findings do not.
curl -fsSL https://raw.githubusercontent.com/robertguss/codeknife/main/scripts/install.sh | bashPrebuilt binaries exist for Linux x86_64 and macOS on Apple silicon. On other platforms the script builds from source with Cargo. See Installation for release archives, Homebrew and source builds.
cd your-repocodeknife checkcodeknife check needs no configuration file. It parses the repository, runs the static blades, and exits 0 (pass), 1 (fail) or 2 (error). The Quickstart walks through a first run, a fix, and a baseline.
codeknife check runs ten static blades and the loosening guard in parallel. Errors and warnings fail the run; info findings do not.
codeknife.baseline records the findings a repository already has, so the gate fails only on findings that are new or worse.
Raised thresholds, disabled blades, new excludes, a grown baseline and new suppression comments are compared with git and fail the gate.
Loosening Guard →Comments, architecture, clones, dead code, slop, security, tests and CRAP, mutation testing, churn, blast radius, dependencies, docs drift and an HTML map.
Rule Catalogue →codeknife fix plans text edits from parse trees for a fixed set of rules. It is a dry run until you pass –write.
codeknife mutate changes covered code in the functions you pick and reports the mutants your tests did not catch.
A compact Agent output format, ranked work orders, target dossiers, a reuse search, and codeknife mcp with seven tools.
codeknife hook claude and codeknife hook cursor deny agent tool calls that would edit the gate’s files or skip git hooks.
Human, Agent, JSON, SARIF 2.1.0 and Markdown output, plus a 0 to 100 health score with a recorded trend.
Output Formats & Exit Codes →