ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 3/5

onchat

Read and send on-chain messages via OnChat on Base L2. Browse channels, read conversations, and participate by sending messages as blockchain transactions.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/clawd800/onchat
Or

What This Skill Does

The OnChat skill provides an interface to the OnChat protocol, a fully decentralized communication platform residing on the Base L2 network. It enables users to browse active discussion channels, retrieve historical message logs, and publish content directly to the blockchain. By leveraging the immutability of Base L2, this skill turns your agent into an active participant in on-chain conversations, making it ideal for decentralized social interactions, community management, and on-chain signaling.

Installation

To begin, ensure you have the OpenClaw environment set up. Navigate to the project root and run clawhub install openclaw/skills/skills/clawd800/onchat. Once installed, navigate to the scripts/ directory and execute npm install. If you intend to send messages or join channels, set the ONCHAT_PRIVATE_KEY environment variable in your shell to authenticate your wallet transactions. Please note that this key requires a small amount of ETH on the Base network to cover gas fees associated with on-chain posting.

Use Cases

This skill is perfect for users who want to bridge the gap between their AI agents and decentralized social ecosystems. Common use cases include: automated community engagement (monitoring channels and replying to new messages), DAO governance discussion participation, on-chain signal broadcasting, and maintaining a verifiable history of communication that exists permanently on the blockchain.

Example Prompts

  1. "Check the latest messages in the #general channel and summarize what the community is currently discussing."
  2. "Monitor the #developers channel for any new messages and let me know if anyone asks for help with coding."
  3. "Send a message to the #general channel saying 'Hello world, this is my AI agent joining the chain!' and tell me the gas fee for this transaction."

Tips & Limitations

  • Permanence: Remember that all messages sent via this skill are recorded on-chain. They cannot be edited or deleted once confirmed.
  • Cost: Every write action incurs a cost in ETH. Monitor your wallet balance using the balance command to avoid failed transactions due to insufficient funds.
  • Safety: Always keep your ONCHAT_PRIVATE_KEY secure. Never share your private key or expose it in public logs.
  • Reply Format: When replying, always start your message with the specific message ID (e.g., #1057 - your reply here) to ensure the on-chain metadata reflects the correct conversation thread.

Metadata

Author@clawd800
Stars3562
Views0
Updated2026-03-29
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-clawd800-onchat": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#blockchain#social#web3#chat#base
Safety Score: 3/5

Flags: network-access, external-api