---
title: A tool isn't connected
description: What to do when setup shows a warning next to a tool, or your agent's prompts never reach Hindsight.
sidebar:
  order: 3
---

## What you see

- Setup's tools step shows a **!** and "I couldn't connect this one by myself" next to a tool. Hover over that line to see the reason.
- A tool you use isn't listed at all. It's under "Not installed on this computer".
- You've used an agent for a while, and `events` in `hindsight-daemon status` hasn't moved. (See [troubleshooting](/docs/troubleshooting#ask-the-tracker) for the command.)

Setup tries each failed tool three times, two seconds apart, before it gives up and shows the warning. A tool that is still connecting shows a spinner.

## Ask each tool what happened

Run the connect command. It's safe to repeat: it changes only what's missing, and says what it did to each tool, one line each. The [install page](/docs/getting-started/install#run-the-command-line-tool) shows how to reach the command on your system.

```text
hindsight-daemon connect
```

You can also use Settings > Setup > **Run setup again**, which shows the same results with a tick or a warning per tool. The app's last run is kept in `connect.log` in the [data folder](/docs/troubleshooting#the-log-files).

The command ends each line with what happened. Here's what each one means and what to do.

| Line says | What to do |
| --- | --- |
| `not installed` | Hindsight didn't find the tool. For Claude Code and Codex, that means their folder (`~/.claude`, `~/.codex`) doesn't exist yet, so run the tool once. Hindsight connects again the next time the app starts, or right now if you run setup again. |
| `<file> is not valid JSON (…); left it alone` | The tool's settings file has a mistake, such as a stray comma, and Hindsight won't edit a file it can't read. Fix the file, then run `connect` again. `is not a JSON object` means the file holds something else, like a list. |
| `skipped: …/plugins/hindsight holds another plugin; left it alone` | OpenCode already has something at that path that isn't Hindsight's. Move it, then connect again. |
| `skipped: … is a link you made; left it alone` | The path is a symbolic link, which Hindsight treats as yours. Remove it if you want Hindsight to manage the plugin. |
| ``skipped: can't find its `code` command`` | Hindsight couldn't find the editor's command-line tool (`code`, `cursor` or `antigravity-ide`) on your `PATH` or in the usual install places. Make the command available, then connect again. |
| `skipped: pass --vscode-extension <file.vsix> …` | You ran `connect` by hand without the extension file. Add `--vscode-extension` with the path to `hindsight-vscode.vsix` from your install folder. |
| `failed: no extension package at …` | The `.vsix` path you gave doesn't exist. |
| `failed: … exited with …` or `did not finish in time` | The editor's own `--install-extension` command failed, or took over two minutes. Close the editor and try again. |

VS Code, Cursor and Antigravity share the last four lines, since they all take the same extension.

## Codex runs nothing until you trust it

For Codex, `connect` reports `connected: hooks added to …; trust them in Codex (Settings > Hooks, or /hooks)`, and that last part is not optional. Codex skips a hook until you trust it, and Hindsight can't see from outside whether you have. Setup counts Codex as connected once the hooks are in the file.

If Codex prompts don't show up, open Codex, trust Hindsight's hooks, and send another prompt.

## Zed needs its extension

For Zed, `connect` writes the path of the tracker where the Hindsight extension looks for it. If the extension isn't installed in Zed yet, the line reads `daemon path already written; add the Hindsight extension in Zed`. Add it in Zed's extensions. Zed's own agent needs nothing: Hindsight reads its saved threads.

## Check a hook by hand

If a tool says it's connected but nothing arrives:

1. Open the tool's file and look for `hindsight-daemon`. For Claude Code, search `~/.claude/settings.json` (or `$CLAUDE_CONFIG_DIR/settings.json`) for `hindsight-daemon emit`. The command in it should name a file that exists. If you moved or reinstalled Hindsight, run `connect` again so the hooks point at the right copy.
2. Open `emit.log` in the [data folder](/docs/troubleshooting#the-log-files). Every hook that failed leaves a line starting `emit error:`. No file means no hook has failed.
3. Use the agent and run `hindsight-daemon status` again. `events` should go up.

Each tool's own page under [editors and agents](/docs/tools) has what's specific to it.
