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

# Installation

> Install the ZebraTruth compliance skill in your LLM agent

# Installation

## Claude Code

Two steps inside the Claude Code session — both are required, in order:

**Step 1.** Register the ZebraTruth AI Labs marketplace (only needed once per machine):

```
/plugin marketplace add dafstar76/zebratruth-ai-labs
```

**Step 2.** Install the compliance plugin:

```
/plugin install zebratruth-compliance@zebratruth-ai-labs
```

Verify the install:

```
/plugin list
```

You should see `zebratruth-compliance` in the output.

Then set your API key in the shell that launches Claude Code (the env var is read at session start):

```bash theme={null}
export ZEBRATRUTH_API_KEY=zt_live_your_key_here
```

If Claude Code is already running, restart the session so it picks up the env var.

### Autonomous-agent install (agent driving Claude Code on a customer's behalf)

Run these two slash commands sequentially via your agent's command-execution interface, then ensure `ZEBRATRUTH_API_KEY` is in the environment before Claude Code starts:

```
/plugin marketplace add dafstar76/zebratruth-ai-labs
/plugin install zebratruth-compliance@zebratruth-ai-labs
```

The marketplace-add step is required — skipping it produces `Marketplace 'zebratruth-ai-labs' not found`.

## OpenClaw

```bash theme={null}
openclaw skills install zebratruth-compliance
openclaw config set env.vars.ZEBRATRUTH_API_KEY "zt_live_your_key_here"
openclaw gateway restart
```

## Manual Integration

For any LLM platform (or autonomous agent) that supports markdown injection:

1. Download [SKILL.md](https://raw.githubusercontent.com/dafstar76/zebratruth-ai-labs/master/skills/zebratruth-compliance/SKILL.md) — this is the **raw** URL, suitable for both browser download and `curl`/`wget`:
   ```bash theme={null}
   curl -O https://raw.githubusercontent.com/dafstar76/zebratruth-ai-labs/master/skills/zebratruth-compliance/SKILL.md
   ```
2. Include it in the LLM's system prompt or context
3. Set `ZEBRATRUTH_API_KEY` in the environment

The LLM will automatically learn how to authenticate, run checks, and interpret results.

The 9 workflow documents listed below live alongside `SKILL.md` under the same directory pattern, so an agent that needs one can fetch it on demand:

```bash theme={null}
curl -O https://raw.githubusercontent.com/dafstar76/zebratruth-ai-labs/master/skills/zebratruth-compliance/workflows/{workflow-name}.md
```

## Workflow Documents

The SKILL.md references 9 workflow documents for detailed procedures. These are loaded by the LLM on demand — you don't need to include them all upfront:

| Workflow                      | Purpose               |
| ----------------------------- | --------------------- |
| `content-compliance-check.md` | Full check procedure  |
| `image-rights-clearance.md`   | Image-specific checks |
| `streaming-integration.md`    | SSE consumption       |
| `async-webhook-execution.md`  | Submit-then-poll      |
| `individual-agents.md`        | Per-agent invocation  |
| `interpreting-reports.md`     | Scores & decisions    |
| `embedding-annotations.md`    | Map to UI             |
| `cost-and-credits.md`         | Budget management     |
| `debugging.md`                | Logs, traces, replay  |
