---
name: treeship
description: Set up Treeship session receipts for this agent. Detects your environment and takes the right setup path automatically.
version: 0.9.3
author: Zerker Labs
homepage: https://treeship.dev
---

# Treeship

Treeship turns every AI agent session into a portable, signed receipt. Local-first. Cryptographically verifiable. The receipt is yours, not ours.

Detect your environment and follow the correct setup path.

## If you are Claude Code

```
claude plugin marketplace add zerkerlabs/treeship
claude plugin install treeship@treeship
```

Done. Every subsequent Claude Code session in a project with a `.treeship/` directory auto-records to a portable, signed receipt via the plugin's SessionStart / PostToolUse / SessionEnd hooks.

## If you are OpenClaw

```
openclaw skills install zerkerlabs/treeship
```

Done.

## If you are Hermes

```
hermes skills install zerkerlabs/treeship
```

Done.

## If you support MCP servers

Add this to your MCP configuration:

```json
{
  "mcpServers": {
    "treeship": {
      "command": "npx",
      "args": ["-y", "@treeship/mcp"],
      "env": {
        "TREESHIP_ACTOR": "agent://your-agent-name",
        "TREESHIP_HUB_ENDPOINT": "https://api.treeship.dev"
      }
    }
  }
}
```

Restart your agent.

## If you support AgentSkills / SKILL.md

```
curl -fsSL treeship.dev/SKILL.md -o ~/.skills/treeship/SKILL.md
```

## If none of the above

```
curl -fsSL treeship.dev/setup | sh
```

This runs the one-liner that installs the CLI, runs `treeship init`, and instruments any AI agents it can detect.

---

After setup, start your first session:

```
treeship session start
```

When done with any task:

```
treeship session close --headline "<what the agent accomplished>"
treeship session report
```

The URL printed by `treeship session report` is the **session report** — a human-readable page containing the cryptographic **receipt**. Share it with anyone. They can verify the embedded receipt themselves with:

```
treeship verify <url>
```

Verification is offline, requires no account, and does not phone home.

Source: <https://github.com/zerkerlabs/treeship> · Apache 2.0
