> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev.byterover.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenClaw

> Connect OpenClaw to ByteRover V4 with the published skill, authentication, and onboarding prompt.

Use the published ByteRover skill to give OpenClaw access to persistent project memory.

<img src="https://mintcdn.com/demo-a750c123/LcC02bNs7AlzliOm/v4/assets/byterover_x_openclaw.avif?fit=max&auto=format&n=LcC02bNs7AlzliOm&q=85&s=ca5566bb4a61d957c7e4551adea5cdf9" alt="ByteRover and OpenClaw integration" width="760" data-path="v4/assets/byterover_x_openclaw.avif" />

## Setup

<Steps>
  <Step title="Optional step 0: Remove old V3 CLI, connectors, and integrations">
    If this machine still has the old V3 CLI, connectors, OpenClaw integration, or Hermes memory provider installed, remove them before setting up the V4 skill:

    ```bash theme={null}
    curl -fsSL https://www.byterover.dev/uninstall-v3.sh | sh
    ```

    This removes old V3 command-line tools and connectors. It also removes the old OpenClaw integration and Hermes memory provider when they are detected. It does not migrate V3 memory data.
  </Step>

  <Step title="Install the ByteRover skill">
    Run:

    Requires Node.js 20 or newer. Node.js includes npm and npx.

    ```bash theme={null}
    npx skills add campfirein/skills
    ```
  </Step>

  <Step title="Restart OpenClaw">
    Fully quit and reopen OpenClaw so it can load the installed ByteRover skill.
  </Step>

  <Step title="Authenticate with ByteRover">
    Prompt OpenClaw:

    ```text theme={null}
    Authenticate with ByteRover.
    ```

    Open the URL OpenClaw prints, approve the request in your browser, then return to OpenClaw and type:

    ```text theme={null}
    approved
    ```
  </Step>

  <Step title="Start ByteRover onboarding">
    Prompt OpenClaw:

    ```text theme={null}
    onboard with ByteRover
    ```
  </Step>
</Steps>

## Authentication URL flow

OpenClaw may ask you to finish account linking in the browser.

<img src="https://mintcdn.com/demo-a750c123/jPL6wCDtHodEH7ea/images/v4/autonomous-agent-auth-url.svg?fit=max&auto=format&n=jPL6wCDtHodEH7ea&q=85&s=53eab413e3d175016c4675beddba12e4" alt="Agent ByteRover authentication URL flow" width="760" data-path="images/v4/autonomous-agent-auth-url.svg" />

Follow the URL flow exactly as OpenClaw prints it before you start onboarding:

1. Tell OpenClaw to start the authentication flow.
2. Open the URL that OpenClaw prints in your browser.
3. Confirm the browser page before the code expires.
4. Return to OpenClaw and type:

```text theme={null}
approved
```

<Note>
  Use the URL and code printed by your OpenClaw session. Do not copy values from the example image.
</Note>

## If OpenClaw needs a space

During onboarding, OpenClaw may tell you that ByteRover is not configured for the current workspace.

When that happens:

1. Open ByteRover Desktop.
2. Create or select the space for this project.
3. Return to OpenClaw.
4. Prompt OpenClaw again:

```text theme={null}
onboard with ByteRover
```

OpenClaw checks the current project again and continues setup.

## Verify

After onboarding, ask OpenClaw to check ByteRover before starting work:

```text theme={null}
query ByteRover for this project
```

OpenClaw should use ByteRover automatically after setup: query before non-trivial work and record useful knowledge when the work is complete.
