> ## Documentation Index
> Fetch the complete documentation index at: https://eispatch.framewire.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install EISPATCH for Google Antigravity, OpenAI Codex, OpenCode, or Claude Code. Covers requirements, options, verification, updating, and uninstallation.

Install EISPATCH by cloning the repository and running the installer for your coding agent. Each installer sets up hooks, skills, and MCP server entries so EISPATCH can intercept, compose, and dispatch prompts.

## Requirements

* Node.js **20.0.0** or later
* **git**
* One supported coding agent installed

## Clone the repository

```bash theme={null}
git clone https://github.com/FrameScope/eispatch.git
cd eispatch
```

No npm install is needed. EISPATCH has zero dependencies.

## Install for your host

> [tab] Antigravity
>
> **Option A: Global plugin**
>
> ```bash theme={null}
> node scripts/install-antigravity.mjs
> ```
>
> This writes the plugin to `~/.gemini/config/plugins/eispatch/`.
>
> **Option B: Workspace plugin** Open the cloned repo folder as an Antigravity workspace. Antigravity auto-discovers `.agents/plugins/eispatch/`.
>
> To remove the workspace plugin later, delete that directory.

> [tab] Codex
>
> ```bash theme={null}
> node scripts/install-codex.mjs
> ```
>
> This installs into `~/.codex/`:
>
> * Adds `mcp_servers.eispatch` to `config.toml`
> * Registers the `UserPromptSubmit` hook
> * Installs the skill to `~/.agents/skills/eispatch/`

> [tab] OpenCode
>
> > [!WARNING]
> >
> > OpenCode support is experimental in v1.1.0. It is verified with the adapter harness; native end-to-end verification is pending.
>
> ```bash theme={null}
> node scripts/install-opencode.mjs
> ```
>
> This writes:
>
> * `~/.config/opencode/plugins/eispatch.mjs`
> * `~/.config/opencode/skills/eispatch/SKILL.md`

> [tab] Claude Code
>
> ```bash theme={null}
> node scripts/install-claude-code.mjs
> ```
>
> This installs into your Claude Code configuration:
>
> * Copies the skill to `~/.claude/skills/eispatch/SKILL.md`
> * Adds `mcpServers.eispatch` to `~/.claude.json`
> * Merges a `hooks.UserPromptSubmit` entry into `~/.claude/settings.json`
>
> The installer supports `--target <dir>` to install into an alternate home directory. After installation, it runs the check automatically and prints `PASS: Claude Code EISPATCH integration verified (...)`.
>
> Common check errors include:
>
> * "Missing Claude Code installation file: ..."
> * "Claude Code .claude.json missing valid mcpServers.eispatch entry."
> * "Claude Code settings.json missing EISPATCH UserPromptSubmit hook."

## Verify the installation

Every installer supports `--check`. Run it after installing to confirm all files and config entries are correct:

```bash theme={null}
node scripts/install-<host>.mjs --check
```

Run the end-to-end verification harness:

```bash theme={null}
node demo/verify-e2e.mjs
```

Or use the npm script:

```bash theme={null}
npm run verify
```

## Keep the repo in place

> [!TIP]
>
> Installers reference absolute paths inside the cloned repository. Keep the repo in its original location after installing. If you move it, re-run the installer so the paths stay valid.

## Updating EISPATCH

To update to the latest version:

```bash theme={null}
git pull
node scripts/install-<host>.mjs
```

Re-running the installer updates existing entries and adds any new ones. This is the recommended practice after pulling changes.

## Uninstalling

Every installer supports `--uninstall`, which removes only EISPATCH-owned entries.

```bash theme={null}
node scripts/install-<host>.mjs --uninstall
```

For Antigravity, uninstalling the workspace plugin means deleting `.agents/plugins/eispatch/` from the repo.

To uninstall all hosts, run `--uninstall` for each host you installed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.