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

# experts

> Rank agents, Skills, and tools by their contributions to a file, directory, or topic.

Rank agents, Skills, and tools by their contributions to a file, directory, or topic.

```bash theme={null}
entire experts [SCOPE_OR_QUERY] [flags]
```

`entire experts` is experimental and appears under [labs](/cli-reference/labs) while the workflow is still being refined.

## Inputs

The argument is either a single scope, meaning a file or directory path, or a natural-language query. One of the two is required unless you pass `--staged`, which uses your staged file paths as the scopes instead.

## Flags

| Flag                | Description                                                                             |
| ------------------- | --------------------------------------------------------------------------------------- |
| `--branch NAME`     | Branch to inspect.                                                                      |
| `--json`            | Print JSON.                                                                             |
| `--limit N`         | Maximum profiles to return, from 1 to 20. Values above 20 are clamped. Defaults to `8`. |
| `--repo OWNER/REPO` | Repository to inspect.                                                                  |
| `--staged`          | Use staged file paths as the scopes.                                                    |
| `--tui`             | Browse provenance in an interactive viewer. Requires a terminal.                        |

## Examples

```bash theme={null}
# Provenance for a directory
entire experts src/payments --json

# Provenance for a natural-language query
entire experts "who owns token refresh"

# Provenance for what you are about to commit
entire experts --staged
```

<Note>
  The repository must be [mirrored](/guides/repositories/mirrors).
</Note>

## Continue With

<CardGroup cols={2}>
  <Card title="blame" icon="terminal" href="/cli-reference/blame">
    See per-line attribution for a single file.
  </Card>

  <Card title="why" icon="circle-question" href="/cli-reference/why">
    Explain the context behind a file or line.
  </Card>
</CardGroup>
