vaultcontext

Installation
SKILL.md

VaultContext

Use the executable vaultcontext launcher included beside this file. It requires uv and Linux or macOS Unix sockets; uv manages Python and dependencies. Invoke it by absolute path or copy it onto PATH. The public GitHub repository needs no GitHub account or access token. The launcher pins the packaged client to a full Git commit and works when copied alone; its dependencies come from public PyPI. There is no skill lockfile, so transitive dependency resolution can vary. Installation does not authenticate or unlock a vault.

When upgrading from vc, lock existing sessions with the old launcher before installing vaultcontext; remove only the old VaultContext launcher and update scripts. No compatibility alias is provided. Unlocking afterward is an explicit user action, never part of installation.

Read workflows for login, local unlock, files, sharing, rotation and exports. Schema explains the authenticated SQL/REST boundary; the client package bundles the schema checked by check.

Identity and trust

Configure VAULTCONTEXT_URL and VAULTCONTEXT_USER_EMAIL. Authenticate as an ordinary users account, never an operator. Run vaultcontext login for Google sign-in. The CLI does not support password login. Google sign-in and cryptographic unlock are separate. Passphrases are entered by the user in an interactive terminal; never request them in chat, put them in arguments/environment variables, pipe them into stdin, or retrieve credentials from other files.

Encrypted identity private keys persist only on the server. unlock downloads/decrypts them in process memory and starts a same-user local Unix socket session, expiring after 15 minutes by default. The session uses a fresh interpreter from the same package environment, with verified keys passed only through private inherited IPC and a readiness handshake. Lock sessions before clearing uv's cache. Unlock, lock and logout recover verified stale sockets; unsafe paths or ambiguous failures remain errors. There is no recovery key and no persistent local private-key cache. Losing the passphrase without an unlocked session or enrolled macOS Keychain credential loses access. The unlocked execution host and any agent running as that OS user are trusted; Python memory and host swap cannot guarantee erasure.

Reuse an existing unlocked session across commands and tasks. Do not run lock or logout as routine cleanup or merely because a task finished. Lock when the user requests it, or before replacing the client or clearing its runtime cache. Otherwise, let the configured lifetime expire. The lifetime is fixed from unlock, not an idle timeout; activity does not extend it. The user can choose unlock --timeout 3600 for up to one hour.

The application token is saved with mode 0600 in $XDG_STATE_HOME/vaultcontext/ (default ~/.local/state/vaultcontext/), or in VAULTCONTEXT_SESSION_DIR when set, so clearing ~/.cache does not sign you out; a token left in ~/.cache/vaultcontext/ by an older client is moved there on first use, and logout removes both. It never holds keys or passphrases; never paste authentication output.

Optional macOS Keychain enrollment stores the passphrase locally with user-presence protection, never an identity bundle. Have the user run vaultcontext keychain-enroll in their private interactive terminal after installing the signed native helper. vaultcontext unlock --keychain retrieves it internally after Touch ID or macOS credential authentication; agents must never extract or display the stored secret. It fails without silent terminal fallback. Default vaultcontext unlock continues to prompt. Authentication approves opening the session, not individual file reads. lock and logout retain enrollment; vaultcontext keychain-forget removes the current server/account credential and requires login. After a passphrase change, enroll again with the new passphrase or forget the stale credential. See workflows.

Installs
2
First Seen
Oct 10, 2026