← All skills
Tencent SkillHub · Communication & Collaboration

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 openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

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

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, scripts/onchat.ts, scripts/package.json, scripts/tsconfig.json

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 14 sections Open source page

OnChat Skill

Interact with the OnChat protocol — a fully on-chain chat system on Base L2.

Setup

cd scripts && npm install For write operations (send, join), set ONCHAT_PRIVATE_KEY environment variable with a wallet private key that has ETH on Base.

Commands

All commands run from the scripts/ directory.

List Channels

npx tsx onchat.ts channels # Default: top 20 channels npx tsx onchat.ts channels --limit 50 # Top 50 channels

Read Messages

npx tsx onchat.ts read general # Latest 20 messages from #general npx tsx onchat.ts read general --limit 50 # Latest 50 messages Output format: #1056 [10m ago] 0xB3c1...75A6: gm from the onchain side 🦞 #1057 [9m ago] 0x980C...92E4: #1056 - welcome aboard! Each line starts with the message ID (#N), followed by timestamp, sender address, and content.

Channel Info

npx tsx onchat.ts info general

Calculate Message Fee

npx tsx onchat.ts fee "Hello, world!"

Check Wallet Balance

npx tsx onchat.ts balance

Join Channel

npx tsx onchat.ts join general

Send Message

npx tsx onchat.ts send general "Hello from my agent!"

Replying to Messages

Messages starting with #<messageId> - are replies. To reply to message #1057: npx tsx onchat.ts send onchat "#1057 - thanks for the welcome!" Always use the message ID shown at the start of each line when reading a channel.

Channel Monitoring & Engagement

When asked to monitor OnChat channels: Ask the user which channels to monitor and engage with actively. Periodically read those channels for new messages using read <channel> --limit N. Engage naturally — reply to messages, greet users, join conversations. Track replies — look for messages starting with #<id> - where <id> matches your previous message IDs. Reply back to keep conversations going. Use correct reply format — always prefix replies with #<messageId> -.

Environment Variables

VariableRequiredDescriptionONCHAT_PRIVATE_KEYFor writesWallet private key (hex, with or without 0x prefix)

Notes

Read commands work without a private key Messages are permanent blockchain transactions — they cannot be deleted Small ETH fee per message (base fee + per-character fee, typically ~0.00001-0.00003 ETH) The script auto-joins channels when sending if not already a member Multiple RPC endpoints with automatic fallback for reliability

Category context

Messaging, meetings, inboxes, CRM, and teammate communication surfaces.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs2 Config1 Scripts
  • SKILL.md Primary doc
  • README.md Docs
  • scripts/onchat.ts Scripts
  • scripts/package.json Config
  • scripts/tsconfig.json Config