# See your results with /leoprevent:stats

Ask your coding agent what LeoPrevent flagged in your work and what was fixed, by period, repository or team.

`/leoprevent:stats` summarises your own LeoPrevent activity inside your coding agent: turns, reviews, the flaws LeoPrevent flagged and what was fixed, and the most recent flaws.

## Run it

**Claude Code**

```text
/leoprevent:stats
```

**GitHub Copilot**

```text
/leoprevent stats
```

**Codex**

Ask Codex to run the installed plugin's `bin/leoprevent-plugin stats` and summarise it.

Add what you want in plain words, such as "in the last 7 days", "in my-repo" or "the team". Your agent turns that into the right options.

## What you can ask for

- A period other than the default 30 days, up to 365.
- One repository.
- More than the 10 most recent flaws, up to 100.
- The whole team, if you are an admin on the account.

## How to read it

- **New** flaws were written during the turn; **Existing** flaws were already in the code. See [New and existing flaws](https://help.leotrace.io/new-and-existing-flaws/).
- **Caught** counts every flaw detected, new and existing. Fixes are counted separately.
- A repository grade of `n/a` means too few reviews to grade, not a bad grade.

The command reads the same figures as your dashboard. It sends no code and no prompt.

Source: https://help.leotrace.io/leoprevent-stats/ (updated 2026-11-19)
