Agent skill

Ocean Chat

by LeoYeAI in LeoYeAI/openclaw-master-skills

OceanBus SDK lighthouse — try agent-to-agent messaging in 5 minutes.

MITAuto-check passedFrontend & Design

Install Ocean Chat

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill ocean-chat -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills ocean-chat --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ocean-chat .claude/skills/ocean-chat && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ocean-chat
GitHub stars
2.2k
Token cost
~1.9k tokens
SKILL.md length
702 words
Files
8
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

OceanBus SDK lighthouse — try agent-to-agent messaging in 5 minutes.

  • Works in 3 steps: Register on OceanBus → Exchange and add contacts → Verify
  • Tasks that involve Web performance
  • SKILL.md covers What This Skill Does, User Onboarding, Showcase: Agent Meetup… and Beyond Meetups, plus 5 more sections
  • Runs JavaScript scripts from its folder; calls node and npm

What it does

Ocean Chat is an agent skill from LeoYeAI/openclaw-master-skills. OceanBus SDK lighthouse — try agent-to-agent messaging in 5 minutes. Your AI agent gets a global address, sends encrypted P2P messages, and negotiates meetups with other agents. Zero deployment, just npm install.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files (for example `.clawhub/origin.json`, `_meta.json` and `chat.js`).

It sits in Frontend & Design, covering Web performance. It works with npm. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • Tasks that involve Web performance

Example prompts

  • “/ocean-chat”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Register on OceanBus
  2. Exchange and add contacts
  3. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • npmjs.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ocean Chat loads about 1.9k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 702 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 702 words, ~1,894 tokens.

Download SKILL.mdSave it as .claude/skills/ocean-chat/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
ocean-chat
description
OceanBus SDK lighthouse — try agent-to-agent messaging in 5 minutes. Your AI agent gets a global address, sends encrypted P2P messages, and negotiates meetups with other agents. Zero deployment, just npm install.
version
1.0.0

Ocean Chat — OceanBus SDK Lighthouse

The fastest way to experience what the OceanBus SDK enables: give your AI agent a global identity and P2P messaging in 5 minutes. No server, no same WiFi, just the OceanBus network.

This skill is the official lighthouse demo for npm install oceanbus. It shows the SDK's core capability — agent-to-agent communication with zero infrastructure — through a concrete, end-to-end scenario.

What This Skill Does

Each OpenClaw agent registers on OceanBus and gets a permanent global address (OpenID). Agents exchange addresses, then send end-to-end encrypted messages to each other through the OceanBus network.

Showcase: Two agents negotiate the best meetup location. One proposes, the other counters, they reach agreement in 3 rounds. But the underlying P2P channel supports any agent-to-agent conversation with any number of participants.

User Onboarding

Guide the user through these steps on first use:

Step 1: Register on OceanBus
node chat.js setup

Read the OpenID from stdout. Tell the user: "Your OceanBus address is ready. Share this with anyone you want your agent to talk to."

Step 2: Exchange and add contacts

All participants register and exchange OpenIDs (via chat, email, or any channel). Then each person adds the others:

node chat.js add <name> <their-OpenID>

Example: node chat.js add Alice <Alice-OpenID>

Step 3: Verify
node chat.js contacts

Confirm all parties are saved before starting conversations.


Showcase: Agent Meetup Negotiation

This is the built-in demo scenario. When the user says "set up a meeting with Alice's agent" or any meetup request, follow this protocol.

Message Protocol

Use structured prefixes so agents recognize the negotiation stage:

PrefixMeaningWhen to use
【会面请求】Initiate negotiationUser asks to meet someone
【会面建议】Propose a specific placeResponding to a request, or counter-proposing
【会面确认】Accept the proposalDeal done
Initiator (your user wants to meet someone)
  1. Check contacts: node chat.js contacts to confirm the person is saved.
  2. Ask for preferences: "Where are you? Any preferences for the meetup?" If user doesn't specify, ask explicitly before proceeding.
  3. Send the request:
    node chat.js send <name> "【会面请求】Hi! Let's find a place to meet. I'm in <area>, prefer <preference>. What works for you?"
  4. Tell user: "Request sent to <name>'s agent. I'll let you know when they reply."
Receiver (checking messages, sees a request)

When user says "check messages" and a 【会面请求】 appears:

  1. Read the request: note sender's location and preferences.
  2. Ask your user: "<Name>'s agent wants to meet. They're in <area>. Where are you? Any preferences?"
  3. Propose a concrete place:
    node chat.js send <name> "【会面建议】地点: <specific place> | 理由: <why it works for both>"
    Be specific: "Building X, 2F Starbucks" not "downtown".
Receiving a suggestion 【会面建议】
  1. Evaluate: is the place reasonable?
    • Convenient transit?
    • Roughly midway?
    • A sit-down venue (cafe, tea house), not a street corner?
  2. If acceptable → send confirmation.
  3. If not → send a counter-suggestion with reasons:
    node chat.js send <name> "【会面建议】地点: <alternative> | 理由: <why the previous doesn't work, why this is better>"
Show full SKILL.md (274 more words)Show less
Receiving confirmation 【会面确认】

Negotiation complete. Report to your user:

📋 Meetup Negotiation Report

📍 Result: Agreed with <name>'s agent
   Place: <final place>
   Transit: <transit info>

🔄 Process (N rounds):
   ① You initiated: "<summary>"
   ② <name> suggested: <their proposal> (<reason>)
   ③ You confirmed: ✅ agreed

💡 Assessment: <brief evaluation>
Negotiation Rules
  • Max 3 rounds. If no agreement, tell user: "Couldn't reach automatic agreement. Suggest coordinating directly."
  • Be specific: always propose a concrete venue, not a neighborhood.
  • Consider: transit access, midway location, sit-down venue.
  • Good faith: the goal is mutual agreement, not winning.

Beyond Meetups

The P2P channel supports any agent conversation. For example:

  • Group poll: "Ask everyone which date works for the dinner"
  • Coordination: "Tell Bob's agent I'll be 15 minutes late"
  • Status sync: "Check if Charlie's agent has finished the task"

The OceanBus SDK (v0.1.7, 900+ weekly downloads) provides the full stack: identity, encrypted messaging, yellow pages discovery, and reputation queries. This skill demonstrates the entry point.


Command Reference

node chat.js setup                       Register on OceanBus
node chat.js whoami                      Show your OpenID
node chat.js add <name> <OpenID>         Save a contact
node chat.js contacts                    List contacts
node chat.js send <name|OpenID> <msg>    Send a message
node chat.js check                       Check for new messages

Important: OpenID Asymmetry

Your receiving address (shared via whoami) and the sender ID seen in incoming messages are different values. This is OceanBus security design, not a bug.

  • Share: your receiving address → node chat.js whoami
  • Add friend: use their shared receiving address → node chat.js add <name> <their-OpenID>
  • Send: use saved contact name → node chat.js send <name> <msg>
  • Reply: always use saved contacts, never the raw from_openid in messages

Troubleshooting

IssueSolution
"Not registered yet"Run node chat.js setup
"Cannot reach OceanBus network"Check internet connection
Friend didn't receive messageThey must run node chat.js check
Contact not in address booknode chat.js add <name> <OpenID>
Forgot OpenIDnode chat.js whoami
Start freshDelete ~/.oceanbus-chat/ and re-run setup
Message shows raw ID, not nameNormal — reply with saved contact name

Verification

Two terminals, same or different machines:

Terminal A (Alice)                        Terminal B (Bob)
─────────────────                        ────────────────
node chat.js setup                        node chat.js setup
node chat.js add Bob <Bob_OpenID>         node chat.js add Alice <Alice_OpenID>
node chat.js send Bob "【会面请求】         node chat.js check
  I'm in Chaoyang, near Line 1"           node chat.js send Alice "【会面建议】
                                            地点: Guomao Starbucks | 理由: midway, Line 1 direct"
node chat.js check                        node chat.js check
node chat.js send Bob "【会面确认】          → ✅ agreement reached
  地点: Guomao Starbucks"

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files in skills/ocean-chat of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • .clawhub/origin.json
  • _meta.json
  • chat.js
  • config.example.yaml
  • package-lock.json
  • package.json
  • test-meeting.js

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Ocean Chat next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ocean Chat compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ocean Chat this skillLeoYeAI/openclaw-master-skills2.2k—~1.9kAutomated safety check: PassMIT
Compare Array Bundle SizePostHog/posthog-js628—~599Automated safety check: PassCustom licence
Reduce Bundle Sizekcsujeet/ilamy-calendar351—~2.9kAutomated safety check: PassMIT
Dependency Auditagulli/atlas-agents579—~477Automated safety check: PassMIT
npm Package Comparatortinyfish-io/tinyfish-cookbook2.2k—~2kAutomated safety check: PassMIT
Prism Auditjeremylongshore/tons-of-skills-marketplace2.8k—~1.4kAutomated safety check: NotesMIT

Similar skills

  • Compare Array Bundle Size

    PostHog/posthog-js

    Official

    Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.

    628 GitHub stars~599 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Reduce Bundle Size

    kcsujeet/ilamy-calendar

    Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.

    351 GitHub stars~2.9k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Dependency Audit

    agulli/atlas-agents

    Audit project dependencies for vulnerabilities, license issues, and bloat.

    579 GitHub stars~477 tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • npm Package Comparator

    tinyfish-io/tinyfish-cookbook

    Compare two or more npm packages side by side using live data — downloads, bundle size, GitHub stars, last update, known vulnerabilities, and community sentiment.

    2.2k GitHub stars~2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Prism Audit

    jeremylongshore/tons-of-skills-marketplace

    Frontend audit — bundle size, dependencies, accessibility, performance, component quality.

    2.8k GitHub stars~1.4k tokensUpdated yesterday
    Frontend & DesignAuto-check: notes
  • Develop Extension

    PostHog/posthog-js

    Official

    Author a new PostHog browser extension, or port a posthog-js v1 extension, against the @posthog/browser-common Client/Extension contract.

    628 GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,235 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Ocean Chat

What does Ocean Chat do?

OceanBus SDK lighthouse — try agent-to-agent messaging in 5 minutes. Ocean Chat is an agent skill from LeoYeAI/openclaw-master-skills. OceanBus SDK lighthouse — try agent-to-agent messaging in 5 minutes.

When should I use Ocean Chat?

Ocean Chat fits situations like: tasks that involve Web performance.

How do I install Ocean Chat in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill ocean-chat -a claude-code`. Or copy the skill folder (skills/ocean-chat in LeoYeAI/openclaw-master-skills) into .claude/skills/ocean-chat in your project. Claude Code loads it when a task matches its description.

How do I install Ocean Chat in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill ocean-chat -a codex`. Or copy the skill folder (skills/ocean-chat in LeoYeAI/openclaw-master-skills) into .agents/skills/ocean-chat in your project. Codex loads it when a task matches its description.

Can I use Ocean Chat in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill ocean-chat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ocean-chat, .gemini/skills/ocean-chat, .github/skills/ocean-chat and .opencode/skills/ocean-chat in your project.

What does Ocean Chat need to run?

Going by SKILL.md and its folder, Ocean Chat needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and npm). Our summary lists: Node.js.

Does Ocean Chat access the network?

SKILL.md names 2 domains. As links in the text: npmjs.com and github.com. This is read from the text; nothing was executed.

Is Ocean Chat safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ocean Chat use?

Ocean Chat is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ocean Chat use?

About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ocean Chat?

Skills that share tags, products or a category with Ocean Chat: Compare Array Bundle Size (PostHog/posthog-js, 628 stars), Reduce Bundle Size (kcsujeet/ilamy-calendar, 351 stars), Dependency Audit (agulli/atlas-agents, 579 stars) and npm Package Comparator (tinyfish-io/tinyfish-cookbook, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ocean Chat?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,160 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.