/keeper-setup:keeper-setupfrom keeper-setup
Installs and configures Keeper CLI tools (KSM CLI and Commander) for secrets management, vault access, and PAM operations. Guides through authentication, profile initialization, and troubleshooting.
Ships in keeper-setup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
keeper:// URIs used by ksm exec and ksm interpolate (see keeper-secrets skill for usage)Keeper provides two CLI tools. Install what you need:
| Tool | Package | Purpose |
|---|---|---|
KSM CLI (ksm) | keeper-secrets-manager-cli | Machine secrets retrieval & injection |
Commander (keeper) | keepercommander | Admin, vault management, PAM, sessions |
pip install …) so you consume the published packages with version pins in your own dependency files. That is the default path for these tools.pip install from a clone, confirm the remote URL and publisher match Keeper’s official documentation; use release tags or checksums published on the release page when you need extra assurance.Follow the guide references/smk-installation-guide.md for installing Self managed keeper.
# With OS-native keyring (recommended for workstations)
pip install keeper-secrets-manager-cli[keyring]
# Without keyring (for containers, CI/CD, headless)
pip install keeper-secrets-manager-cli
# Verify
ksm version
Binary installers (no Python required) are published for Windows, macOS, and Linux on the official Keeper-Security/secrets-manager GitHub Releases page linked from Secrets Manager CLI documentation. Download only from that release page; verify checksums or signatures when the release provides them.
pip install keepercommander
# Optional: install from a local clone of the official repository (verify remote and use a tagged release)
git clone https://github.com/Keeper-Security/Commander.git
cd Commander
git checkout <release-tag>
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt && pip install -e .
# Verify
keeper version
You need a One-Time Access Token from a KSM Application. If you don't have one, your Keeper admin can create it via the Vault UI or Commander (see keeper-admin skill).
Provide the token via environment variable so it is not passed as a --token
argument (which can show up in shell history and process listings). Official docs:
Profile command / init.
# Prerequisite: export KSM_CLI_TOKEN in this shell from Vault or Commander output (see Keeper profile docs). Never paste token values into chat or committed files.
ksm profile init
# Optional: unset KSM_CLI_TOKEN when finished in this shell.
ksm secret list # Verify access
In CI or secret managers, inject the same variable without placing the value on the command line. For containers, see also KSM_TOKEN / KSM_INI_DIR behavior in the Keeper Secrets Manager CLI documentation.
keeper shell
# Enter your email, master password, and 2FA code
# Then enable persistent login:
My Vault> this-device register
My Vault> this-device persistent-login ON
| Region | Host | Token Prefix |
|---|---|---|
| US | keepersecurity.com | US: |
| EU | keepersecurity.eu | EU: |
| AU | keepersecurity.com.au | AU: |
| JP | keepersecurity.jp | JP: |
| CA | keepersecurity.ca | CA: |
| US Gov | govcloud.keepersecurity.us | GOV: |
| Issue | Fix |
|---|---|
| "Not authenticated" | Re-run ksm profile init after setting KSM_CLI_TOKEN from a new Client Device token |
| "Token expired" | Generate a new Client Device in Commander or Vault UI |
| IP lock errors | Use --unlock-ip when creating the client, or init from the locked IP |
| Keyring not available | Install with [keyring] extra or use --ini-file flag |
| Python version error | KSM CLI requires Python 3.10+, Commander requires 3.10+ |
| Permission denied on keeper.ini | File should be 0600; check with ls -la keeper.ini |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub keeper-security/keeper-agent-kit --plugin keeper-setupOther plugins' skills for the same job