# Maintenance

> Retention, installation upgrades, completions, and skill installation.

## Retention

```bash
librarium cleanup --dry-run
```

`runs.keep_days` defaults to unset. Preview retention before deleting completed Runs. Keep stored progress while research is in progress; removing it does not cancel upstream work. Your application owns privacy and retention policy.

## Upgrade

```bash
librarium upgrade
librarium --version
```

Upgrade follows an existing installation channel. Preserve config backups and follow [v1 migration](/docs/upgrading-to-v2).

## Completions and skill

```bash
librarium completions zsh
librarium install-skill --force
```

Skill installation uses the exact bundled instructions without a provider call. It does not upgrade the CLI. Review a forced replacement of existing local skill text before applying it. Amp global skill publication is separate from a local installer.
