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

# Overview

> Top-level Strata commands, help, version output, and exit-code conventions.

The `strata` command initializes policy, checks repositories, explains rules,
maps call flow, and installs generated agent guidance.

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

```text theme={null}
Usage: strata {init,check,rule,map,skills} ...

Commands:
  init    Initialize Strata configuration for a repository.
  check   Evaluate repository architecture rules.
  rule    Show details for one rule.
  map     Render a downstream project call map.
  skills  Generate and install agent guidance.
```

## Commands

| Command                        | Purpose                                               |
| ------------------------------ | ----------------------------------------------------- |
| [`strata init`](/cli/init)     | Detect a repository and write starting configuration. |
| [`strata check`](/cli/check)   | Evaluate blocking rules and optional warnings.        |
| [`strata rule`](/cli/rule)     | Inspect one core or custom rule.                      |
| [`strata map`](/cli/map)       | Render a downstream project call tree.                |
| [`strata skills`](/cli/skills) | Generate, install, and verify project agent guidance. |

Run `strata <command> --help` for command-specific options.

## Version

Both help forms exit `0`:

```bash theme={null}
strata --help
strata -h
```

Print the installed package version with:

```bash theme={null}
strata --version
```

```text theme={null}
strata 0.4.0
```

The PyPI distribution is `stratalint`, while the installed command is `strata`.

## Exit codes

Commands generally use `0` for success and `2` for usage, configuration, or setup
errors. `strata check` uses `1` for blocking faults, and
`strata skills update --check` uses `1` when generated files need an update. See
each command page for its complete contract.
