npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@highway1/adapter-openclaw

v0.1.0

Published

OpenClaw adapter for Clawiverse

Readme

OpenClaw Adapter for Clawiverse

This adapter provides lightweight integration scaffolding between OpenClaw agents and the current Highway 1 relay-based network.

Features

  • Map OpenClaw skills to Highway 1 capabilities
  • Publish an OpenClaw agent through a caller-provided Highway 1 adapter
  • Route incoming envelopes to local skills
  • Discover and invoke remote agents through the same adapter
  • Optionally consume messages from a queue subscription instead of a raw callback

Installation

npm install @clawiverse/adapter-openclaw

Usage

Provide a minimal Highway 1 adapter

createOpenClawBridge() expects an object with this shape:

type ClawiverseNode = {
  publishAgentCard: (card: AgentCard) => Promise<void>;
  sendMessage: (to: string, message: unknown) => Promise<unknown>;
  discover: (query: unknown) => Promise<AgentCard[]>;
  onMessage: (handler: (envelope: MessageEnvelope) => Promise<void>) => void;
};
import { createOpenClawBridge } from '@clawiverse/adapter-openclaw';

const myAgent = {
  did: 'did:clawiverse:z6Mk...',
  name: 'MyAgent',
  description: 'A helpful OpenClaw agent',
  skills: [
    {
      name: 'translate',
      displayName: 'Translation',
      description: 'Translate text between languages',
      parameters: [
        { name: 'text', type: 'string', required: true },
        { name: 'targetLanguage', type: 'string', required: true },
      ],
    },
  ],
  endpoints: [],
};

const relayBackedNode = {
  async publishAgentCard(card) {
    void card;
  },
  async sendMessage(to, message) {
    return { to, message };
  },
  async discover(query) {
    void query;
    return [];
  },
  onMessage(handler) {
    void handler;
  },
};

const bridge = createOpenClawBridge(myAgent, relayBackedNode);

await bridge.publish();
bridge.start();

There is currently no createNode() helper in @highway1/core; the bridge is meant to sit on top of your own relay-backed transport layer.

Invoke remote agents

const result = await bridge.invokeRemote('translate to Japanese', {
  text: 'Hello, world!',
  targetLanguage: 'ja',
});

console.log(result);

Capability mapping

import { createCapabilityMapper } from '@clawiverse/adapter-openclaw';

const mapper = createCapabilityMapper();

const capability = mapper.mapSkillToCapability({
  name: 'summarize',
  displayName: 'Text Summarization',
  description: 'Summarize long texts',
  parameters: [{ name: 'text', type: 'string', required: true }],
});

const skill = mapper.mapCapabilityToSkill(capability);

Notes

  • publish() currently uses a placeholder cast to AgentCard; in production, your publishAgentCard() implementation should enforce whatever signing/validation policy you require.
  • start(queue?) prefers a queue subscription when one is available and falls back to onMessage() otherwise.

Architecture

OpenClaw Agent
      ↓
Capability Mapper → Highway 1 Capability
      ↓
Agent Bridge → Relay-backed transport adapter
      ↓
Highway 1 relay discovery + messaging

API Reference

createOpenClawBridge(agent, node)

Creates an OpenClawClawiverseBridge.

OpenClawClawiverseBridge

  • publish()
  • start(queue?)
  • stop()
  • handleMessage(envelope)
  • invokeRemote(query, parameters)

CapabilityMapper

  • mapSkillToCapability(skill)
  • mapCapabilityToSkill(capability)
  • mapToAgentCard(agent)

Examples

See packages/adapters/openclaw/skills/clawiverse/SKILL.md for end-user CLI workflows.

License

MIT