---
name: overdrive
description: Connect Overdrive, which watches your coding agents live and catches forgotten rules, context drift, and stalled runs, and send it questions about them. Use when the user types /overdrive, asks to set up or connect Overdrive, wants to verify the hook or link their computer, wants to toggle prompt capture, or asks why an agent forgot a rule, ran out of context, or stalled.
---

# Overdrive

Overdrive is the MCP server at https://mcp.useoverdrive.ai/mcp (site useoverdrive.ai). It is not overdrive.sh or any other
product named Overdrive. This skill sets up Overdrive (MCP, hook, computer link, and verification). Every
answer and fix comes from the Overdrive tools once they are connected, never from this file.

It watches your coding tasks across Claude Code, Cursor, and Codex and catches:

- **Memory**: rules your agents keep forgetting, and why (a rule that only lived in a chat, one lost in a long
  instructions file, or one pushed out of a long session).
- **Context rot**: where quality drops as sessions fill up, and when to start a fresh one.
- **Live guard**: real-time nudges when an agent drifts from your repo's rules, plus one-click stop or course-correct from Slack or your dashboard.

It finds the fix and applies it through your own agent after one yes.

## Which app am I in?

Settle this first, then follow only that app's part of step 2.

- **cursor-agent** is the terminal CLI. The **Cursor app** is the editor. In cursor-agent, run
  `cursor-agent mcp login overdrive` yourself; do not show the user the app's Settings steps.
- **Codex CLI** runs in a terminal. The **Codex app** is inside the ChatGPT desktop app. Both read
  `~/.codex/config.toml`, so the same steps add Overdrive to both.
- **Claude Code** runs in a terminal or in the Claude desktop app's Code tab. The **Claude app chat** (web,
  desktop chat, phone) is a different app and can't add connectors itself.

Rules for every app: do only the steps on this page. Do not install overdrive-connect, run pipx, or run any other
installer during this setup.

## 1. Already connected?

If the Overdrive tools (such as `ask` and `route_task`) are in your tool list, do step 2a and step 2b, then go to step 3.

## 2. Connect it

Find the app you are running in and follow only its part. Nobody pastes a key, token or email into the chat:
the browser sign-in is all it takes. The `X-Overdrive-Source` header only says the install came from this
skill; it holds no key or secret.

### Claude Code (terminal or the Claude desktop app's Code tab)

Run `claude mcp get overdrive`. If it finds no server named overdrive, run this yourself (it adds Overdrive
for every folder):

```
claude mcp add --scope user --transport http overdrive https://mcp.useoverdrive.ai/mcp --header "X-Overdrive-Source: skill-claude-code"
```

If the user also wants the live stop-guard plugin hooks bundled in Claude Code, run:

```
claude plugin install overdrive --marketplace https://mcp.useoverdrive.ai/claude-plugin/marketplace.json
```

Then tell the user, in one short message: "Overdrive is added. Start a new session, type /mcp, pick
overdrive, and tap Allow in your browser. Then type /overdrive again." If you ran the plugin install, add one
more line to that message: "So the stop guard keeps itself up to date, turn on auto-update once: /plugin,
Marketplaces, overdrive, Enable auto-update." Claude Code keeps it off for this plugin until the user turns it
on, and only the user can. In the Claude desktop app's Code tab,
/mcp may open Plugins with no sign-in option. If so, tell the user to connect Overdrive from the session's
Connectors panel instead. In the Claude desktop app, also say: when Claude asks to use an Overdrive tool, pick
Always allow. Then stop.

### Cursor (app or cursor-agent)

Read `~/.cursor/mcp.json`. If it has no server named overdrive, add this entry under `mcpServers`, keeping
every server already there (create the file as `{"mcpServers": {...}}` if it doesn't exist):

```
{"overdrive": {"url": "https://mcp.useoverdrive.ai/mcp", "headers": {"X-Overdrive-Source": "skill-cursor"}}}
```

Then tell the user, in one short message: "Overdrive is added. Open Cursor Settings, MCP, and click Connect
next to overdrive, then tap Allow in your browser. Then type /overdrive again." In cursor-agent, run
`cursor-agent mcp login overdrive` yourself instead; the user taps Allow. If `cursor-agent mcp list` doesn't show it connected,
run the login once more. If the Overdrive tools are in your tool list after that, go on to step 2a; otherwise
tell the user to type /overdrive again, and stop.

### Codex (CLI or app)

Run `codex mcp list`. If it has no server named overdrive, run this yourself. It is the same line the connect
page shows, and it adds Overdrive for every folder:

```
codex mcp add overdrive --url https://mcp.useoverdrive.ai/mcp
```

Then add this one line under `[mcp_servers.overdrive]` in `~/.codex/config.toml`. It only says the install came
from this skill:

```
http_headers = { "X-Overdrive-Source" = "skill-codex" }
```

If the `codex` command isn't there (some Codex app setups), add this to the end of `~/.codex/config.toml`
instead, which is the same server with that line already in it:

```
[mcp_servers.overdrive]
url = "https://mcp.useoverdrive.ai/mcp"
http_headers = { "X-Overdrive-Source" = "skill-codex" }
```

Then run `codex mcp login overdrive` yourself if the browser didn't open; the user taps Allow.

Codex skips MCP server instructions, so it needs one line in `~/.codex/AGENTS.md` to log each coding task and
to send questions about the user's agents to Overdrive. That changes the user's own rules file, so ask first:
show the line below, say it goes in `~/.codex/AGENTS.md` and covers every folder, and run it only after their yes.

```
printf '\n%s\n' 'At the start of every coding task (work on code or files, even a one-line edit), call the Overdrive route_task tool once and show its brief. When the task ends, call report_task with that route_id, the outcome, the model you ran on, and tool_failures (every tool call that came back as an error, even if a retry worked). For any question about my AI agents and how I work with them (usage, models, plans and how close I am to plan limits, cost, agent health, failures, workflow, what I should change, or what to fix or do next with my agents), call the Overdrive ask tool first, instead of reviewing code, searching docs or answering from this app alone. A question is not a coding task, so it gets no route_task. Overdrive is the MCP server at https://mcp.useoverdrive.ai/mcp.' >> ~/.codex/AGENTS.md
```

Then tell the user, in one short message: "Overdrive is added. Start a new Codex session so its tools load, then
type /overdrive again." Then stop.

### The Claude app (web, desktop chat, phone)

A chat can't add a connector itself. Give the user this link, and stop: https://mcp.useoverdrive.ai/connect?utm_source=skill-claude-ai
They pick Claude, add the connector, tap Connect and Allow, then set Overdrive's read-only tools to
Always allow.

### Any other app

Give the user this link and stop: https://mcp.useoverdrive.ai/connect

## 2a. Show the account

Apps from the same vendor can share one Overdrive connector: Claude Code can use the one connected in the
Claude app, and Codex can use the one connected in ChatGPT. That is normal and saves a sign-in, so keep it.
The only thing to catch is a shared connector signed into a different Overdrive account than the user expects.

Right after connecting (and in step 1 when already connected), call `ask` with the user's question (or read
`overdrive_account` from any Overdrive tool result) and say in one line: "This app is on Overdrive account
<masked account>." Do not ask a question and do not wait; go on to step 2b. Only if the user says it is not
their account, or named a different email earlier, tell them how to switch this one app:

- **Claude Code**: if the tools come from the claude.ai connector, disconnect Overdrive in claude.ai
  (Settings, Connectors) and connect it again with the other email. If `claude mcp list` shows both a claude.ai Overdrive
  connector and a local `overdrive` server, say that tasks can split between them, and after the user says yes, remove the local one
  with `claude mcp remove overdrive -s user`.
- **Claude Code plugin** (tools named `mcp__plugin_overdrive_overdrive__…`): Claude Code keeps one sign-in for it,
  shared by every session on this computer. The user picks plugin:overdrive:overdrive in Claude Code's MCP menu and
  signs in again with the other email; say that this moves every open Claude Code session on this computer too.
- **Codex app**: if the tools come from the ChatGPT account's own connector, disconnect Overdrive in ChatGPT's
  connector settings and connect it again with the other email.
- **Codex CLI**: run `codex mcp logout overdrive`, then `codex mcp login overdrive` and sign in with the other email.
- **Cursor**: disconnect Overdrive in Cursor Settings, MCP, and connect it again with the other email.

## 2b. Verify hook and computer link

Skip this step in the Claude web/mobile chat (which has no local hooks).

In **Cursor** or **Codex**, if the stop-guard hook is not yet installed, ask the user for a yes, then install it:

- Cursor: `mkdir -p -m 700 ~/.overdrive && curl -fsSL https://mcp.useoverdrive.ai/hooks/v/b01bfd68f37afce3a932508df6c86ef08163a381a5b20699a7608869f8e869f3/stop-guard-hook.py -o ~/.overdrive/stop-guard-hook.py && python3 -c "import hashlib,os,sys;p=os.path.expanduser(sys.argv[1]);ok=hashlib.sha256(open(p,'rb').read()).hexdigest()==sys.argv[2];ok or (os.remove(p),print('Overdrive: the downloaded hook did not match its checksum, so it was not installed.',file=sys.stderr));sys.exit(0 if ok else 1)" ~/.overdrive/stop-guard-hook.py b01bfd68f37afce3a932508df6c86ef08163a381a5b20699a7608869f8e869f3 && python3 ~/.overdrive/stop-guard-hook.py install cursor`
- Codex: `mkdir -p -m 700 ~/.overdrive && curl -fsSL https://mcp.useoverdrive.ai/hooks/v/b01bfd68f37afce3a932508df6c86ef08163a381a5b20699a7608869f8e869f3/stop-guard-hook.py -o ~/.overdrive/stop-guard-hook.py && python3 -c "import hashlib,os,sys;p=os.path.expanduser(sys.argv[1]);ok=hashlib.sha256(open(p,'rb').read()).hexdigest()==sys.argv[2];ok or (os.remove(p),print('Overdrive: the downloaded hook did not match its checksum, so it was not installed.',file=sys.stderr));sys.exit(0 if ok else 1)" ~/.overdrive/stop-guard-hook.py b01bfd68f37afce3a932508df6c86ef08163a381a5b20699a7608869f8e869f3 && python3 ~/.overdrive/stop-guard-hook.py install codex`

Then run the setup doctor to verify the hook, server reachability, and computer link end-to-end:

```
python3 ~/.overdrive/stop-guard-hook.py doctor
```

If `doctor` fails, read its output and fix the exact step it names:
- If it prints a link URL (`https://mcp.useoverdrive.ai/link?c=...`), show that link to the user so they can click it once to link this computer to their account, then re-run `doctor` until it passes.
- If it reports a missing hook entry or unreachable server, report the exact failure — do not silently skip setup errors.

## 3. First answer

Call the Overdrive `ask` tool with the user's own question. If they didn't ask one, use
"How are my agents doing?". Show its answer as it comes back and offer the one fix it names.

From then on Overdrive works on its own: the hooks record tasks automatically (or each coding task calls
`route_task` at the start and `report_task` at the end when hooks are not installed).

## Local prompt capture & questions later

- **Local prompt capture**: stays on your computer (never sent to Overdrive). Turn it off or on anytime — say "turn prompt capture off" (or "on") in chat, run `python3 ~/.overdrive/stop-guard-hook.py capture status` (or `capture off` / `capture on`), or toggle it at https://mcp.useoverdrive.ai/app.
- **Questions**: any question about the user's own agents (forgotten rules, context drift, stalls, failing tools, what to change) goes to the Overdrive `ask` tool. Fixes go through `apply_fix` after the user's yes.
- **Feedback & dashboard**: report bugs or rough edges with `send_feedback`, or open the dashboard at https://mcp.useoverdrive.ai/app.
