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

# Platform support

> See how SelfTune connects to Claude Code, Codex, OpenCode, OpenClaw, and Pi.

SelfTune supports multiple agent harnesses through platform-specific discovery,
history import, and optional live hooks. The SelfTune agent skill remains the
same product interface across platforms.

| Platform    | Skill installation | Existing history | Live integration    |
| ----------- | ------------------ | ---------------- | ------------------- |
| Claude Code | Supported          | Supported        | Hooks               |
| Codex       | Supported          | Supported        | Harness adapter     |
| OpenCode    | Supported          | Supported        | Harness adapter     |
| OpenClaw    | Supported          | Supported        | Scheduled ingestion |
| Pi          | Supported          | Supported        | Harness adapter     |

Support does not mean every platform exposes identical events. SelfTune should
report which evidence sources it connected and which health dimensions remain
unavailable.

## Detect the current environment

Ask your agent:

```text theme={null}
Inspect this environment and tell me which SelfTune platform adapter applies.
Show which histories, skills, and live integrations are available. Do not
install hooks or import history until I approve those changes.
```

Or run the local health check:

```bash theme={null}
npx selftune@latest doctor
```

## Multiple harnesses

You can connect more than one supported harness. Keep evidence provenance so a
result from one harness is not silently treated as equivalent to another.
Install only the integrations you use and can review.

Detect installed harnesses instead of asking the user to choose from memory.
Report supported discovery, history, and live-integration capabilities for each
detected harness. Request approval before installing hooks or importing
history. Preserve the harness identifier on collected evidence.
