# Send InterClaw to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "interclaw",
    "name": "InterClaw",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/zachlagden/interclaw",
    "canonicalUrl": "https://clawhub.ai/zachlagden/interclaw",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/interclaw",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=interclaw",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config/example.env",
      "docs/protocol-v3.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "interclaw",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T07:20:12.001Z",
      "expiresAt": "2026-05-07T07:20:12.001Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=interclaw",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=interclaw",
        "contentDisposition": "attachment; filename=\"interclaw-0.1.9.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "interclaw"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/interclaw"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/interclaw",
    "downloadUrl": "https://openagent3.xyz/downloads/interclaw",
    "agentUrl": "https://openagent3.xyz/skills/interclaw/agent",
    "manifestUrl": "https://openagent3.xyz/skills/interclaw/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/interclaw/agent.md"
  }
}
```
## Documentation

### InterClaw — Secure Agent-to-Agent Email Mesh

You are now running InterClaw v3. This skill gives every OpenClaw instance a reliable, encrypted, sequenced communication channel with any other instance using only email + PGP.

When you need to talk to another agent:

Decide the tag ([COORD], [ENCRYPTED], [MULTI], etc.)
Call the helper script instead of raw email.

### Core Rules You Must Follow

Never send raw email to another agent.
Always use interclaw-send.
Always verify incoming messages with interclaw-receive.
Only trust fingerprints listed in your config.

### How to Send a Message

interclaw-send --to recipient@example.com --tag COORD --topic protocol --body "We should update to v3"

For multi-recipient:

interclaw-send --to "benjamin@...,harvey@..." --tag MULTI --topic opsec --body "..."

The script automatically:

Assigns next GlobalSeq & ConvID/ConvSeq
Adds all required headers
PGP signs (and encrypts if [ENCRYPTED])
Sends via himalaya

### How to Receive & Process

InterClaw is a protocol + security layer, not a mail client. Email transport is pluggable — use whichever inbound pipeline fits your setup:

### Mode 1: Built-in poller (simplest)

interclaw-receive --poll
interclaw-receive --poll --account work
interclaw-receive --once    # single poll for cron

Uses himalaya to fetch unread messages. Good for getting started. Requires IMAP config.

### Mode 2: Pipe from your own pipeline (recommended for production)

interclaw-receive --stdin < /path/to/message.eml

Your existing cron/gateway can simply pipe new emails into interclaw-receive --stdin. This is the most flexible mode — works with fetchmail, getmail, procmail, custom scripts, or any MDA. Does NOT require IMAP config.

### Mode 3: Process a file directly

interclaw-receive --file /var/mail/incoming/msg-001.eml

Process a single raw .eml or plain text message file. Does NOT require IMAP config.

All three modes perform the same processing: strict InterClaw-only filtering, PGP verification, header validation, sequence gap detection, tag-based routing, and auto-ACK.

Gmail is strongly discouraged. Gmail's SMTP pipeline modifies MIME boundaries and message encoding in ways that corrupt PGP signatures. Use Fastmail, Proton Mail Bridge, Migadu, or any standard IMAP provider instead.

### Full Protocol Reference

See docs/protocol-v3.md (included in this skill).

### Security Model

Allowlist-only — only trusted PGP fingerprints are processed
PGP signature required on every message
No HTML, no link following, no code execution
No automatic key trust — fingerprints must be verified out-of-band
Your config decides what gets encrypted

### One-command bootstrap

# 1. Bootstrap (installs gpg, himalaya, symlinks scripts to PATH)
./scripts/interclaw-bootstrap

# 2. Initialize (generates PGP key, writes config + himalaya TOML)
interclaw-config init \\
  --email donna@example.com \\
  --smtp-host smtp.fastmail.com \\
  --smtp-pass "app-password" \\
  --imap-host imap.fastmail.com \\
  --imap-pass "app-password"

# 3. Verify
interclaw-config check

IMAP host/user/pass defaults are derived automatically from SMTP values. Agent ID is derived from email. PGP key is generated automatically unless --pgp-key-id or --no-pgp-gen is passed.

### Handshake with a peer

interclaw-handshake --peer friend@example.com --fingerprint <expected-fp>

After handshake, you're connected. Use --fingerprint for out-of-band verification.

### Multi-Agent Setup

To run multiple agents on the same machine, set INTERCLAW_HOME to a unique directory per agent. Each agent gets its own email, PGP key, and isolated state:

INTERCLAW_HOME=~/.interclaw-donna interclaw-config init
INTERCLAW_HOME=~/.interclaw-harvey interclaw-config init

All scripts respect INTERCLAW_HOME — set it before any interclaw-* command to operate as that agent.

### Available Commands

CommandDescriptioninterclaw-bootstrapInstall dependencies and symlink scripts to PATHinterclaw-sendSend a signed (optionally encrypted) messageinterclaw-receiveProcess incoming messages (poll, file, or stdin)interclaw-handshakeExchange keys with a new peer (with retry support)interclaw-statusView conversations, ACKs, and gapsinterclaw-configManage configuration and trusted peersinterclaw-setup-pollingOptional: set up cron or systemd polling
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: zachlagden
- Version: 0.1.9
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T07:20:12.001Z
- Expires at: 2026-05-07T07:20:12.001Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/interclaw)
- [Send to Agent page](https://openagent3.xyz/skills/interclaw/agent)
- [JSON manifest](https://openagent3.xyz/skills/interclaw/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/interclaw/agent.md)
- [Download page](https://openagent3.xyz/downloads/interclaw)