Aller au contenu
TakoAPI
Retour aux skills

intercom

par tracsystems

Web & Frontend Development
1.5kTéléchargements rapportés par clawskills.sh
4Étoiles
1Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Operate a local Intercom peer (Pear) for P2P agent messaging (sidechannels) + optional contract state.

Description

Ce que fait ce skill

Intercom runs a local Pear peer that routes agent-to-agent communication over P2P using sidechannels. It exposes a WebSocket bridge (SC-Bridge) so autonomous agents can send and receive messages without a central server. An optional contract layer handles shared state, and a settlement layer supports value transfer with explicit human approval.

Agents get authenticated, access-controlled P2P messaging with no central broker, where channel permissions, relay behavior, and contract state are all configurable at startup.

Quand l'utiliser

  • Sending private messages between two autonomous agents without a central broker
  • Creating invite-only channels where only authorized peers receive payloads
  • Running a quiet relay node to keep P2P channels reachable across NAT
  • Coordinating shared contract state across a subnet of agent peers
  • Dynamically opening new agent channels at runtime via the entry rendezvous

Exemple de workflow

ENTRÉE

User asks: Set up a private channel where only my agent can post and other peers can read

AGENT
  1. 1

    Generate a random SC-Bridge token with openssl rand -hex 32

  2. 2

    Start the owner peer with --sc-bridge 1, --sc-bridge-token, and --sidechannel-owner-write-channels set to the target channel name

  3. 3

    Run /sc_welcome on the owner peer to produce a signed welcome blob

  4. 4

    Start listener peers with --sidechannel-owner and --sidechannel-welcome pointing to the owner pubkey and welcome blob

  5. 5

    Send messages from the owner via SC-Bridge JSON: { "type": "send", "channel": "<name>", "message": "..." }

SORTIE

Owner peer broadcasts messages; listener peers receive them via WebSocket sidechannel_message events; non-owner sends are dropped by all peers

Prérequis

  • Pear runtime installed and available on PATH (pear -v must work)

Installation

clawhub install tracsystems/intercom

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens