> ## Documentation Index
> Fetch the complete documentation index at: https://circuitcheck.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Command line

> circuitcheck diff, summarize, validate, label, lens, edges, neurons and version.

```bash theme={null}
circuitcheck --help
```

| Command | What it does |
| - | - |
| `circuitcheck summarize GRAPHS... --group NAME --out FILE` | Turn `.pt` or Neuronpedia graph files into a summary group (appends to FILE) |
| `circuitcheck diff FILE --before G --after G [--control-before G --control-after G] [--replication-before G --replication-after G] [--top-k 10] [--min-present 6] [--html P] [--json P]` | Diff two groups |
| `circuitcheck validate --demo` or `--model M --transcoders T --prompt P --features L:F@POS,... --target T --contrast C [--counterfactual P]` | Validate features |
| `circuitcheck label --neuronpedia MODEL/SOURCE --features I,J` or `--records FILE` `[--provider anthropic\|openai] [--model M] [--score detection\|simulation\|both\|none] [--compare] [--export P]` | Label features |
| `circuitcheck lens --demo` or `--model M --transcoders T --features L:F[=DOSE],L:nN+,... [--contexts FILE] [--r-lens hub\|PATH] [--n-random 16] [--dose-scale 1]` | Lens reads against steering, against random units |
| `circuitcheck edges --demo` or `FILE --group G (--catalog P \| --neuron-lens MODEL) [--table edges\|sources] [--unit-map P] [--top N]` | Graph edges against a whole-model catalog, against rewired graphs |
| `circuitcheck neurons validate --demo` or `--model M --prompt P --neurons L:N@POS,... --target T --contrast C [--counterfactual P]` | Validate MLP neurons (no transcoders): switch or readout against neuron controls |
| `circuitcheck neurons label --demo` or `--model M --neurons L:nN+,L:nN- --corpus FILE [--descriptions FILE] [--provider anthropic\|openai] [--llm-model M] [--n-write 0]` | Describe neuron poles and test each description (predict, simulate, ablation damage recovered) |
| `circuitcheck neurons lens --demo` or `--model M --neurons L:nN+,L:nN- [--contexts FILE] [--ctx-len 64] [--skip-first 8] [--n-random 16]` | Each neuron pole's logit- and Jacobian-lens read of ±W\_down against its steering, against random neurons; gate-closed poles flagged |
| `circuitcheck neurons diff --demo` or `--before M --after M --prompts FILE [--control M] [--layers 1,2] [--stat tail_rate\|mean] [--q 99]` | Which neurons fire more or less after training, with the paired swap null |
| `circuitcheck version` | Print the version |

Every command that produces a report takes `--html` and `--json`.

```bash theme={null}
circuitcheck validate --demo --json validate.json
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.