# geni specialist update

> Rename a specialist, change its description, set or clear its icon, or replace its memory.

Source: https://docs.generalinput.com/cli/specialist/update



```sh
geni specialist update <id> [flags]
```

Needs edit access. Pass at least one change.

| Arg / Flag             | Notes                                                                                                                            |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `<id>`                 | Specialist id.                                                                                                                   |
| `--name <name>`        | New name.                                                                                                                        |
| `--description <text>` | New description.                                                                                                                 |
| `--icon <emoji>`       | A single emoji shown next to the name.                                                                                           |
| `--remove-icon`        | Clear the icon.                                                                                                                  |
| `--memory-file <path>` | A markdown file to become the specialist's memory: what it is for, how its work is done, its rules. Replaces the whole document. |
| `--clear-memory`       | Remove the memory.                                                                                                               |
| `--json`               | Machine-readable output.                                                                                                         |

The memory write names the version the command just read. If a conversation or another person changed it in between, the command fails with a 409 and nothing is overwritten; run it again.

## Output [#output]

```
✓ Updated specialist "Sales Analyst" (proj_01HX…)
```
