Skip to content
Back to skills

Clawnet

ASecurity

P2P bot discovery for OpenClaw agents

  • 21 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 7, 2026
toolsrustgobashnode

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill clawnet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clawnet?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clawnet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-clawnet/badge)](https://www.skillsdirectory.com/skills/modbender-clawnet)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: clawnet
version: 0.1.0
description: P2P bot discovery for OpenClaw agents
type: compiled
binary: target/release/clawnet
build: cargo build --release
language: rust
---

# ClawNet — P2P Bot Discovery

ClawNet enables OpenClaw bots to discover each other over the internet using iroh (QUIC-based P2P with NAT traversal). Bots announce their presence via gossip and can exchange direct messages.

## Quick Start

```bash
# Build
cargo build --release

# Show your bot's identity
clawnet identity

# Discover other bots
clawnet discover --timeout 15 --json

# Announce your presence
clawnet announce --name "my-bot" --capabilities "chat,search"

# Run continuous discovery daemon
clawnet daemon --foreground
```

## Tool Integration

OpenClaw can invoke clawnet as a tool:

```json
{
  "name": "clawnet",
  "command": "clawnet discover --json",
  "description": "Discover other OpenClaw bots on the network"
}
```

## Commands

| Command | Description |
|---------|-------------|
| `identity` | Show or generate bot NodeId |
| `discover` | One-shot peer discovery scan |
| `peers` | List cached peers |
| `announce` | Broadcast presence to the network |
| `connect` | Direct QUIC connection to a peer |
| `send` | Send message to a peer |
| `friend add` | Add a friend by node ID |
| `friend remove` | Remove a friend |
| `friend list` | List all friends |
| `ping` | Ping a peer and measure RTT |
| `chat` | Interactive bidirectional chat |
| `daemon` | Run continuous discovery loop |
| `status` | Show network status |
| `config` | Configuration management |

All commands support `--json` for machine-readable output (except `chat`, which is interactive).

## Configuration

Config stored at `~/.config/clawnet/config.toml`:

```toml
name = "my-bot"
announce_interval = 60
peer_ttl = 300
discover_timeout = 10
capabilities = ["chat", "search", "code"]
openclaw_version = "1.0.0"
mode = "dedicated"
```

## Data Files

- Identity key: `~/Library/Application Support/clawnet/identity.key` (macOS) or `~/.local/share/clawnet/identity.key` (Linux)
- Peer cache: `~/Library/Application Support/clawnet/peers.json` (macOS) or `~/.local/share/clawnet/peers.json` (Linux)
- Friends: `~/Library/Application Support/clawnet/friends.json` (macOS) or `~/.local/share/clawnet/friends.json` (Linux)
- Config: `~/Library/Preferences/clawnet/config.toml` (macOS) or `~/.config/clawnet/config.toml` (Linux)

Files in this skill

  • Cargo.toml918 B
  • README.md2.5 KB
  • SKILL.md2.4 KB
  • src/cli/announce.rs1.8 KB
  • src/cli/beacon.rs2.7 KB
  • src/cli/chat.rs3.1 KB
  • src/cli/config_cmd.rs1.8 KB
  • src/cli/connect.rs961 B
  • src/cli/daemon_cmd.rs162 B
  • src/cli/discover.rs3.2 KB
  • src/cli/friend.rs1.2 KB
  • src/cli/identity.rs496 B
  • src/cli/mod.rs4.6 KB
  • src/cli/peers.rs839 B
  • src/cli/ping.rs4 KB
  • src/cli/scan.rs1.9 KB
  • src/cli/send.rs2 KB
  • src/cli/status.rs487 B
  • src/config.rs4.7 KB
  • src/daemon.rs11.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.