Install the CLI

clavitor-cli is a single program. It talks to your vault over an encrypted channel and decrypts credential-encrypted fields on your machine. It cannot decrypt identity-encrypted fields.

Download

Get the binary for your platform from Downloads. Builds are published for Linux (amd64, arm64), macOS (Intel, Apple Silicon), Windows (amd64) and FreeBSD (amd64). A SHA256SUMS file sits next to them.

On Linux, for example:

sha256sum -c SHA256SUMS --ignore-missing
chmod +x clavitor-cli-linux-amd64
mv clavitor-cli-linux-amd64 ~/.local/bin/clavitor-cli
clavitor-cli version

Any directory on your PATH works. One installed copy serves every agent on the machine.

On macOS and Windows the download is an archive: one folder with the program and the two libraries of its FIPS crypto module. Unpack it, keep the three files together in one folder, and put that folder on your PATH. On macOS, for example:

tar -xzf clavitor-cli-darwin-arm64.tar.gz
mv clavitor-cli-darwin-arm64 ~/.local/clavitor-cli
export PATH="$HOME/.local/clavitor-cli:$PATH"
clavitor-cli version

Enroll

The CLI acts as a client of your vault: an identity with its own scopes, IP allow-list and read quota. Create the client in the vault first. Agent setup has the full walkthrough. In short: in the vault, go to Clients, click + New client, and choose type CLI. The vault shows two values, once:

  • the blob: sealed, safe to paste anywhere, including on a command line;
  • the key: the only secret. Never put it on a command line.

Then, on the machine where the CLI runs:

clavitor-cli init '<blob>'

Paste the blob between the quotes. Line breaks or spaces the paste adds do no harm; the CLI drops them. Then type or paste the key at the Enrollment key: prompt. The key is not echoed.

Don't paste the blob at a prompt: a terminal keeps at most 4,095 characters of a typed line, and a blob is longer. Run clavitor-cli init with no blob in a terminal and it tells you so.

For a non-interactive setup, pipe the blob and the key as two lines:

printf '%s\n%s\n' "$BLOB" "$KEY" | clavitor-cli init

On success the CLI prints Enrolled. with the vault, vault ID, agent and config path.

Where the config lives

init writes one file, $XDG_CONFIG_HOME/clavitor/config, or ~/.config/clavitor/config when XDG_CONFIG_HOME is unset. It is written with mode 0600. There is no environment variable to point the CLI somewhere else.

The file holds the agent's credential key. Its encryption only obscures it. What protects it is file permissions, so treat the file as a secret.

init refuses to overwrite an existing config. To enroll again, delete the file first:

rm ~/.config/clavitor/config
clavitor-cli init '<blob>'

Check it works

clavitor-cli find github

find prints the exact titles of matching entries the client can reach (titles and types only, never values). See get to read a value.

Commands

CommandWhat it does
init [blob]Enroll from a blob and key.
find <name>List exact titles that match a name.
get <title>Read an entry, or one field of it. More
render <file>Fill clavitor:// references in a file. More
put <type> <title>Create an entry. More
delete <title>Delete an entry.
auditRead the vault's audit trail.
note, memoryText entries with their own subcommands.
skill print, skill installThe instructions file for AI agents. More
version, helpVersion and help.

clavitor-cli help lists everything. Most commands also take --help (put, note and memory do not). Every command exits 0 on success. On failure it exits non-zero and prints an error on stderr, usually starting with a stable code such as CV-2000.