kmo · Command-line vault access

Your recovery plan belongs in the vault.

Save production instructions and secrets as you work with your AI agent. Give your successor a way to recover when you cannot be there. Keep secret values out of the conversation by passing them through files and pipes.

Download for your machine

kmo 0.5.1 · One binary, no runtime to install. Choose your platform and copy the command. It downloads kmo, verifies its SHA-256 checksum, then installs it.

Installs in /usr/local/bin. Your terminal may ask for your sudo password.

Linux · x86_64 (Bash)
(
  set -eu
  kmo_tmp_dir=$(mktemp -d)
  trap 'rm -rf "$kmo_tmp_dir"' EXIT
  cd "$kmo_tmp_dir"
  curl --fail --location --proto '=https' --proto-redir '=https' --show-error \
    --output 'kmo-0.5.1-x86_64-unknown-linux-musl.tgz' \
    'https://keymanout.app/downloads/cli/0.5.1/kmo-0.5.1-x86_64-unknown-linux-musl.tgz'
  printf '%s  %s\n' \
    'e2930add0a21a99b642e5919a54efdc1e9d527aba7d2b0a6e8af4cf3d7980f3e' \
    'kmo-0.5.1-x86_64-unknown-linux-musl.tgz' | sha256sum -c -
  tar -xzf 'kmo-0.5.1-x86_64-unknown-linux-musl.tgz'
  sudo mkdir -p -m 755 /usr/local/bin
  sudo install -m 755 'kmo-0.5.1-x86_64-unknown-linux-musl/kmo' /usr/local/bin/kmo
  /usr/local/bin/kmo --version
)

Manual downloads

macOS · Apple Silicon

M-series Macs

Download .tgz

macOS · Intel

Intel Macs

Download .tgz

Linux · x86_64

Intel / AMD · statically linked

Download .tgz

Linux · ARM64

ARM servers · statically linked

Download .tgz

Windows · x86_64

Intel / AMD · kmo.exe

Download .zip

Verify before you run

Check the archive against the release checksums before extracting it.

Download SHA256SUMS

Upgrade instructions. To uninstall, run kmo logout, then remove the binary.

Sign in, then unlock yourself

Run these commands in your own terminal on the same machine and OS account your agent uses. kmo connects to https://keymanout.app. Approve only codes you started, and select the teams this device needs.

Use write access while documenting production. Successors can omit --scope write for read-only access. Browser unlock works with a security key or passphrase, including over SSH. Never paste your unlock passphrase into chat.

The agent asks you to unlock again when the lease expires. Finish with kmo lock. Revoke a lost device under Account Security → CLI access.

Run in your own terminal
kmo login --scope write
kmo unlock --browser --ttl 15m
kmo status

Teach your agent the vault workflow

The Key Man Out vault skill teaches your agent to ask you to unlock, read runbooks, respect successor approvals, and pass secrets to files or consuming processes without printing their values.

Install from the public GitHub marketplace using the commands shown; no ZIP extraction is needed. Start a new Claude Code session and use /keymanout:vault, or ask Claude to use Key Man Out. Install kmo separately first. If you previously added the local ZIP marketplace, follow the migration steps in the repository README.

Using Codex, Cursor, OpenCode, or another agent? Install the same skill with the open skills installer, which needs Node.js and asks which agents to add it to. It also works for Claude Code if you prefer it to the plugin.

Claude Code: install from the public marketplace
claude plugin marketplace add drgnstn/keymanout-claude
claude plugin install keymanout@keymanout
Any agent: install the skill
npx skills add drgnstn/keymanout-claude@vault

Why we recommend the CLI instead of MCP

The existing Model Context Protocol (MCP) read_secret tool returns the decrypted value as a tool result. That puts it in the agent’s session and may send it to the model provider. Inline secret writes have the same exposure. We do not recommend that integration for workflows that keep secret values out of chat.

The CLI can route plaintext directly to a file, pipe, or a short-lived environment variable in the consuming process. The MCP attachment export tool already returns paths rather than file bytes; MCP itself does not require plaintext results. The skill uses the CLI and installs no MCP server.

The skill provides handling instructions, not an isolation boundary. An agent with shell access can still read local files or an unlocked vault. Keep shell tracing off, avoid tools that log credentials, prefer files or stdin over environment variables, and review the commands your agent runs.

Prepare today. Recover when it matters.

Keep readable procedures in instructions. Put passwords in the encrypted secret field and sensitive configuration in encrypted attachments. Names, websites, instructions, and attachment names are metadata visible to the server and authorized team members, even while locked.

As the sysadmin

Save an existing secret without displaying it (Bash)
kmo create --team ops --name 'Production database recovery' \
  --instructions-file ./runbook.md \
  --secret-file /secure/production-db-password \
  --attach /secure/restore-config.json

Ask your agent to write the runbook and upload existing secret files by path. Assign Successors and Gatekeepers in the web app, then rehearse recovery with your successor’s own account. A CLI upload alone does not assign guardians.

As the successor

Find the runbook and recover a file (Bash)
kmo list --team ops --search 'database'
kmo show 'ops/Production database recovery'
# If access is pending, request it and follow the approval steps:
kmo access request 'ops/Production database recovery'
# After approval and a personal unlock:
kmo attachment get 'ops/Production database recovery' \
  restore-config.json -o /secure/restore-config.json
kmo lock

Sign in with your own account. Your agent can read the guide while locked, request the access you authorize, and follow the existing approval policy. Delete temporary files when done: files saved by CLI redirection or attachment get remain on disk after kmo lock.

File, pipe, and environment variable examples