Skip to content

Install ​

Get a second opinion on your code or plan, inside your coding assistant, using the model subscriptions you already have.

Before you start ​

Use Node.js 24+ on Linux or macOS. Before your first review, both your coding assistant (for example Claude Code) and the provider you will consult (for example Codex) must be installed and signed in. Ask LLM configures their connection; it does not install providers or sign you in. If a provider CLI such as Codex has never been signed in on this machine, sign in first and rerun setup. See authentication if either account is not ready.

Install and connect ​

Run in your terminal:

bash
npm i -g @ask-llm/mcp && ask-llm setup

Choose your coding assistant, inspect the preview, and confirm the changes. Then start a new session and ask for a review.

Setup discovers hosts separately from providers and asks you to confirm each detected host and workflow. Review the command or file preview, confirm your assistant's registration and workflows, and decline the others. Setup works at user scope, preserves unrelated entries, and prints backup locations and restart instructions. Pairing remains off.

Follow any manual guidance in the output before continuing. Existing Codex registrations require manual inspection because the host's inventory does not prove user-scope ownership. Antigravity needs the printed workflow-copy step. OpenCode registration is tested with fixtures only. See host compatibility and migration.

Start a new session in your project or restart your assistant, then ask for your first review.

Preview without changing anything ​

bash
ask-llm setup --dry-run

To target just one assistant, use ask-llm setup --host claude (or another host ID). Running setup again preserves compatible registrations and refreshes changed workflows.

If no supported assistant is found, use manual configuration. If setup fails, run ask-llm doctor and use troubleshooting.

Released under the MIT License.