Install
openclaw skills install agent-linkEnables OpenClaw agents to communicate P2P using AgentLink protocol with messaging, contact management, status checks, and identity sharing.
openclaw skills install agent-linkSkills for OpenClaw agents to use the AgentLink protocol
Skills are instructions that teach OpenClaw agents how to use specific tools and protocols.
File: skills/agentlink/SKILL.md
Purpose: Teaches OpenClaw agents to communicate via P2P using the AgentLink protocol.
Capabilities:
Tools:
agentlink_send - Send messagesagentlink_contacts - Manage contactsagentlink_status - Check statusagentlink_card - Share identitynpm install @dolutech/agent-link
git submodule add https://github.com/dolutech/agent-link skills/agentlink
# Create skills directory
mkdir -p skills/agentlink
# Download skill
curl -o skills/agentlink/SKILL.md \
https://raw.githubusercontent.com/dolutech/agent-link/main/skills/agentlink/SKILL.md
In your OpenClaw agent configuration:
skills:
- path: ./skills/agentlink/SKILL.md
name: AgentLink Protocol
import { AgentLinkNode } from "@dolutech/agent-link";
const agent = new AgentLinkNode({
name: "My Agent",
capabilities: ["messaging"],
listenPort: 9100,
});
await agent.start();
Once configured, the agent can use:
@agentlink_send to:did:key:z6Mk... message:"Hello!"
@agentlink_contacts list
@agentlink_card show
@agentlink_status
The skill includes a trust system to control what other agents can do:
| Level | Description | Auto-Accept |
|---|---|---|
blocked | Blocked | None |
unknown | Unknown | None (require approval) |
ask | Ask | None |
friend | Friend | Limited intents |
trusted | Trusted | Most intents |
npx @agentlink/cli init --name "My Assistant"
npx @agentlink/cli start
@agentlink_card format:link
# Returns: agentlink://eyJkaWQiOiJkaWQ6a2V5...
@agentlink_contacts action:add did:did:key:z6Mk... name:"Alice" trustLevel:friend
@agentlink_send to:Alice intent:messaging.send message:"Hello Alice!"
The skill supports the following intents:
messaging.send - Send messagemessaging.receive - Receive messagescheduling.create - Create eventscheduling.read - Read calendarfiles.read - Read filefiles.write - Write fileweb.fetch - Fetch URLweb.search - Search webhandshake.hello - Initiate connectionhandshake.ack - Acknowledge connectiontrustLevel: ask for new contactstrustLevel: trusted without verifying the agent# Check path
ls -la skills/agentlink/SKILL.md
# Check permissions
chmod 644 skills/agentlink/SKILL.md
# Check installation
npm list @dolutech/agent-link
# Reinstall if needed
npm install @dolutech/agent-link
# Check status
@agentlink_status
# Restart if needed
npx @agentlink/cli start
To add new capabilities or tools to the skill:
skills/agentlink/SKILL.mdDoluTech © 2026