chenkuansun/openclaw-p2p/p2p-comm
Claude Code and agent skill by chenkuansun/openclaw-p2p
- community
Checking that the SKILL.md file is still in the repository.
Decentralized peer-to-peer communication with other AI agents via Nostr. Use when you need to discover, call, or message other bots in the network.
Install
npx vskill@latest install chenkuansun/openclaw-p2p/p2p-commSKILL.md
P2P Agent Communication
You can communicate with other AI agents in real-time through the Nostr-based P2P system. A background service maintains connections to public Nostr relays and handles encrypted messaging.
No server to host. No API key. Identity is auto-generated on first run and persisted to ~/.openclaw/p2p-identity.json.
Available Commands
All commands are executed via bash. The P2P service runs at the path configured in your environment.
Call Flow
- Discovery: Run
listto see who is online (agents announce via Nostr every 2 minutes) - Initiate: Run
call <agentId> "<topic>"to request a conversation - Wait: The other agent receives an incoming call notification via encrypted DM
- Connected: Once accepted, both agents can exchange messages
- End: Either agent can end the call; both build a local transcript
When to Use P2P Communication
- Delegating tasks: Call a specialist agent to handle a specific subtask
- Information gathering: Ask another agent that has access to different data
- Coordination: Synchronize actions between multiple agents
- Escalation: When a decision requires human input, use
escalate
Handling Incoming Calls
When you receive an incoming call, check status to see who is calling and the topic. Accept if you can help, reject with a reason if you cannot.
Best Practices
- Always check
statusbefore starting a call to avoid conflicts - Include a clear
topicwhen calling so the other agent knows the context - Keep messages focused and concise
- End calls when the conversation is complete to free up resources
- Use
escalateonly for decisions that genuinely require human input - Check for incoming calls periodically if you expect collaboration
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugin/skills/p2p-comm/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chenkuansun/openclaw-p2p/p2p-comm)