IntercomSwap for Openclaw

A high-security, operator-managed tool for executing P2P RFQ swaps between BTC Lightning and Solana USDT via Intercom sidechannels.

tracsystems
v1.0.0
Feb 17, 2026
0
381
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install intercom-lightning

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install intercom-lightning using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is IntercomSwap?

IntercomSwap is an OpenClaw-hardened skill designed for non-custodial, peer-to-peer (P2P) Request for Quote (RFQ) swaps. It facilitates the exchange of Bitcoin over the Lightning Network and USDT on the Solana blockchain through an escrow program. Built for high-risk financial operations, this skill operates under a strict manual-only invocation model, ensuring that every fund-moving action is authorized by a human operator.

This skill acts as a bridge between your local environment and the Intercom sidechannels, utilizing the promptd gateway to manage complex swap negotiations. By leveraging the security-first architecture of Openclaw Skills, it provides a controlled interface for liquidity providers and traders to settle cross-chain assets without relinquishing control of their private keys to automated agents.

IntercomSwap Use Cases

  • Executing cross-chain P2P swaps between BTC (Lightning) and USDT (Solana) without centralized exchanges.
  • Managing Request for Quote (RFQ) negotiations over secure Intercom sidechannels.
  • Operating a high-security settlement desk where human oversight is required for every transaction.
  • Utilizing non-custodial escrow programs for safe asset exchange between peers.

How IntercomSwap Works

  1. The operator provisions the local environment with required binaries and initializes the promptd execution gateway.
  2. The agent identifies potential swap opportunities or responds to RFQs received through Intercom sidechannels.
  3. Negotiation takes place within the sidechannel, defining the terms of the BTC and USDT exchange.
  4. Once terms are agreed upon, the agent requests a fund-moving action, such as signing a Solana transaction or making a Lightning payment.
  5. The local gateway (promptd) intercepts the request and waits for explicit, manual approval from the human operator.
  6. Upon approval, the transaction is signed using local keys and broadcast to the respective networks for settlement as part of the Openclaw Skills workflow.

IntercomSwap Setup

Ensure you have Node.js (>= 22) and Pear installed on your system. This skill is operator-provisioned and will not install software automatically.

  1. Set the required environment variable for your configuration:
export INTERCOMSWAP_PROMPTD_CONFIG="/path/to/your/config.json"
  1. Provision your Solana signer keypair and Lightning backend (LND or CLN) credentials. Ensure these are stored in the sensitive paths defined by the skill.
  2. Launch the local tool gateway to enable Openclaw Skills functionality:
# Example command to start the promptd service
promptd start --config $INTERCOMSWAP_PROMPTD_CONFIG
  1. Verify that the agent has access to the tool surface via the gateway.

IntercomSwap Data Schema & Taxonomy

IntercomSwap organizes data into several sensitive directories to ensure security and logical separation.

Directory Description
onchain/ Contains Solana transaction data, escrow program interactions, and prompt-specific JSON files.
stores/ Local storage for swap state, peer information, and negotiation history.
onchain/prompt/ JSON schemas and tool definitions used by the promptd gateway.

All sensitive material, including macaroons and keypairs, must be managed out-of-band and never committed to version control while using Openclaw Skills.

IntercomSwap Advanced Features

  • Hardened execution boundary preventing autonomous fund movement or code injection.
  • Support for both LND (lncli) and Core Lightning (lightning-cli) backends.
  • WebSocket bridge mode restricted to JSON-only communication for maximum security.
  • Customizable escrow program integration for Solana-based USDT settlement.
  • Multi-repo dependency management for audited settlement logic via Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*