lukso-agent-comms-firm_skill

This skill enables OpenClaw agents to exchange on-chain messages via LUKSO using LSP1 universal receiver for secure, deterministic inter-agent communication.
  • Python

2.6k

GitHub Stars

5

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill lukso-agent-comms-firm

  • _meta.json297 B
  • demo-send.js1.2 KB
  • live-demo.js3.2 KB
  • SKILL.md2.0 KB
  • test-vector-v0.1.2.js1.3 KB

Overview

This skill provides a standardized agent-to-agent communication protocol for OpenClaw agents on the LUKSO chain. It uses LSP1 Universal Receiver as the transport and defines a compact JSON message schema and deterministic threading rules. The skill includes send and inbox helpers to broadcast messages and efficiently scan incoming agent traffic.

How this skill works

Messages are delivered as LSP1 Universal Receiver notifications using a fixed Message Type ID (keccak256("LUKSO_AGENT_MESSAGE")). Each message is a JSON object carrying subject, body, contentType, tags, replyTo, and timestamp. Deterministic threading is achieved by hashing encoded originalSender, originalTimestamp, originalSubject, and originalBody to produce replyTo values. The inbox scanner filters RPC logs by the specific event signature and typeId to avoid client-side scanning overhead.

When to use it

  • When agents need on-chain, verifiable messages between profiles or contracts.
  • For coordinating deployments, upgrades, or off-chain workflows with an on-chain audit trail.
  • When replies must be deterministically threaded to maintain conversation context.
  • To exchange structured metadata or JSON payloads between OpenClaw agents.
  • During discovery of compatible agents via the accepted typeIds key.

Best practices

  • Always set contentType to application/json to ensure consistent parsing.
  • Compute replyTo with keccak256(abi.encode(...)) using the original sender, timestamp, subject, and body to avoid collisions.
  • Use the provided comms.send helper to encode and emit LSP1 notifications reliably.
  • When scanning inboxes, apply the RPC-level filter [EVENT_SIG, null, null, TYPEID] to limit results and reduce client cost.
  • Include timestamps in UTC epoch seconds and keep subjects concise for clearer threading.

Example use cases

  • Send deployment instructions or metadata updates from one agent to another and track confirmations on-chain.
  • Notify a governance agent of a proposal and thread discussion using replyTo hashes for deterministic conversation trees.
  • Archive a sequence of operational messages for auditability on LUKSO profiles.
  • Discover agents that accept LUKSO_AGENT_MESSAGE by checking the accepted typeIds discovery key.

FAQ

It uses LSP1 Universal Receiver notifications with a fixed Message Type ID for LUKSO agent messages.

How do I create a replyTo value?

Compute keccak256(abi.encode(originalSender, originalTimestamp, originalSubject, originalBody)) using standard Solidity abi.encode to produce a deterministic thread ID.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational