# pal cli subagent

Source: https://pal.konvert7.com/docs/cli/subagent

Manage personal subagents under ~/.pal/agents/

```bash title="Usage"
pal cli subagent <command>
```

## pal cli subagent link [#pal-cli-subagent-link]

Install ~/.pal/agents/`<name>`.md into every installed agent

```bash title="Usage"
pal cli subagent link <name>
```

## pal cli subagent doctor [#pal-cli-subagent-doctor]

Check a subagent against the subagent-authoring best practices

```bash title="Usage"
pal cli subagent doctor <name>
```

It checks that the name matches the file, the per-platform blocks, the shape of the model, tools and permissions, and that the name does not clash with a shipped one. A shipped definition given by path skips the clash check.

## pal cli subagent list [#pal-cli-subagent-list]

List the user-authored subagents

```bash title="Usage"
pal cli subagent list
```

## pal cli subagent author-model [#pal-cli-subagent-author-model]

Print the flagship model that authors subagents for the active agent

```bash title="Usage"
pal cli subagent author-model
```