What is Terminal Mode, and how do I connect Claude Code or ChatGPT Codex to run my business from my computer?

Modified on Sun, 11 Oct at 7:28 AM

Terminal Mode connects the AI app you already use on your own computer to your KM Hub workspace, so you can say what you want in plain words and it works in your real pipeline. This article explains what it is, how to connect Claude Code or Codex (ChatGPT), and what it can and cannot do.

What Terminal Mode is

Instead of clicking through KM Hub, you tell your AI app things like "what needs me today" or "who have I gone quiet on since June". It reads your pipeline and works in it. The thinking runs in your own AI app on your own subscription, so it does not use your KM Hub allowance.

What you need

  • Codex (ChatGPT): Codex, signed in with your ChatGPT plan.
  • Claude Code: a Claude subscription. If Claude Code is not on the computer yet, the setup installs it for you.
  • Cursor (with Grok) and Grok Build are also on the list. If you are unsure, pick Not sure - connect what I have.

Connect it

  1. In the left sidebar open AI Team, then Terminal Mode.
  2. Under Which AI app will you use? pick your app.
  3. Under Turn it on, check that the tab matches your computer (Windows, macOS or Linux), then click the download button for it, such as Download for Windows. You do not need to open a terminal or copy a key.
  4. Double-click the file. On a Mac click Continue, then Install. The password it asks for is the one you use to unlock the Mac, not your Apple ID.
  5. A window opens and shows a short code, and your browser opens an approval page. Type the code and click Approve.

If Windows says Smart App Control has blocked this app, there is no Run anyway button. Click I would rather paste a command, click Copy, paste it into Windows PowerShell with Ctrl+V and press Enter.

If you closed the window before approving, click Approve a computer on the same page. Use it again for a second computer, and pick which workspace that computer gets.

Using it

Open your AI app and type /kmhub-briefing in Claude Code, or $kmhub-briefing in Codex. Or just say "what needs me today".

What it can and cannot do

  • It can read your pipeline and do the work in it, such as drafting replies, finding quiet leads and preparing quotes.
  • It cannot send anything. Every message it writes lands in your approval queue and waits for you.
  • It can propose facts about your business. Confirming or rejecting those facts is a protected step: it shows you the exact facts and needs your yes. You can also do it yourself in KM Hub under Settings > Account > Business Knowledge.

Cost and disconnecting

KM Hub does not meter the thinking. Work that uses KM Hub services, such as images, transcription, lead-finding and event scans, is charged the same as in the app. The page shows Terminal Mode this month so you can see the numbers.

To disconnect a computer, go to Settings, then Connect, then Developer & API, and revoke the entry named Terminal Mode.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article