Install

Tell your AI agent to install ContextQ

Paste this into Claude Code (v2.1.268 or later). It follows the published install contract step by step and stops only where it needs you.

delegation prompt · Claude Code
Install ContextQ for this machine and this repository. Follow https://app.contextq.dev/install.md exactly. Pause only for browser authorization or an ambiguous workspace. Never ask me to paste an API key.

Not on Claude Code? Codex · Cursor · Self-hosted · Manual MCP config

  1. 01

    No key to paste

    Your agent never asks you to paste, type or read out an API key. The key is minted by a one-time approval in your browser and handed straight to Claude Code.

  2. 02

    Checksum before it runs

    The installer is fetched and verified against its published SHA-256 before anything executes. A mismatch stops the install.

  3. 03

    Two stops at most

    The agent pauses only for your browser approval, or if the workspace for this repository is ambiguous. Everything else runs unattended.

Storage

Where the key lives. Claude Code writes the key as plaintext JSON to ~/.claude/.credentials.json (file mode 600). It is not placed in the system keyring, so file permissions are the only protection: anything running as your user can read it, and a home-directory backup or sync will carry it unless excluded. A device-minted key expires after 365 days; renew it with bash install.sh --relink.

Something went wrong? The recovery table in install.md covers partial installs, expired keys and codes, old Claude Code versions and self-hosted TLS failures.