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

@clawpilot-app/link

v1.3.7

Published

ClawPilot Link daemon and CLI for connecting local OpenClaw through ClawPilot Relay

Readme

ClawPilot Link

ClawPilot Link is the local daemon and CLI that connects a local OpenClaw instance to ClawPilot Relay.

Requirements

  • Node.js 22.14.0 or newer
  • An OpenClaw setup that already works on the same machine

Install

npm install -g @clawpilot-app/link

ClawPilot Link follows OpenClaw's runtime baseline. If your Node.js version is older than 22.14.0, the install step will stop early and ask you to upgrade first.

Installing the package only adds the clawlink command to your computer. It does not start the Link service yet.

How to use

First-time setup

  1. Install the package.
  2. Run clawlink pair.
  3. The first time you run clawlink pair, Link will ask which language you want to use from now on.
  4. If Link cannot finish finding OpenClaw on its own, follow the prompt and give it either:
    • the openclaw.json path, or
    • the OpenClaw URL plus token/password
  5. Scan the QR code with ClawPilot App.
    • On Windows, Link may open a clean SVG QR image outside the terminal because some console fonts can distort text-mode QR output.
  6. Wait for the pairing to finish.

By default, a successful clawlink pair will also start ClawPilot Link in the background, so you usually do not need to run a second command right away. After pairing succeeds, Link will also ask whether you want it to start automatically when this computer signs in.

Daily use

  • If Link is already paired and running, just open ClawPilot App and use your gateway.
  • If you rebooted the computer or stopped Link earlier, run clawlink start to bring it back online.
  • If something does not work, run clawlink status first, then clawlink doctor for a guided check.

Common commands

clawlink help
clawlink version
clawlink pair
clawlink start
clawlink status
clawlink doctor
clawlink restart
clawlink stop
clawlink autostart on
clawlink autostart off
clawlink uninstall --yes

clawlink help

Lists the common commands in one place with plain-language explanations. This is the best starting point if you forget which command to use and just want Link to tell you what each command is for.

clawlink version

Shows the currently installed ClawPilot Link version number. This is useful right after npm install -g when you want to confirm the update really landed on this computer.

clawlink pair

Use this the first time you set up this computer. On the very first interactive pairing run, Link asks which language you want to keep using on this computer and saves that choice before moving on. After that, before showing the QR code, Link checks whether it can already reach a working OpenClaw setup. If it can reach OpenClaw but still cannot read openclaw.json, it will ask for that path. If OpenClaw is still not reachable, it will ask for the OpenClaw URL plus token/password manually.

Once that check is complete, clawlink pair creates a pairing QR code, waits for ClawPilot App to scan it, saves this computer's Link credentials, installs the helper skill, and then starts the Link service in the background. On Windows, Link now also writes a clean SVG copy of the QR code and tries to open it automatically so the QR is not affected by terminal font rendering.

If this computer is already paired, clawlink pair will not create a second Link. It will simply show a new QR code so another phone or tablet can join the same Link.

clawlink start

Starts the Link service in the background and immediately tries to connect. Use this when the computer has already been paired, but the background service is not currently running, such as after a reboot or after you stopped it manually.

If you already upgraded the npm package and an older Link daemon is still running in the background, clawlink start now refreshes that old daemon automatically so this computer switches to the new version.

clawlink status

Shows the current Link status in a simple human-readable format, including the installed version, the version currently running in the background, whether OpenClaw was found, whether local network direct access is ready, whether you need to run clawlink restart after an update, and a plain-language summary of how ClawPilot App will connect right now.

clawlink doctor

Runs a fuller health check. This is the best command to use when Link cannot connect, when local network direct access is unavailable, or when you want clear fix suggestions before asking for help.

clawlink restart

Restarts the background Link service. This is useful right after updating the npm package, after changing config, or after fixing a local issue like a port conflict.

clawlink stop

Stops the background Link service on this computer.

clawlink autostart on

Installs an OS-level auto-start entry so Link can come back automatically after the next sign-in. This uses LaunchAgent on macOS, a user systemd service on Linux, and Task Scheduler on Windows when available.

On Linux, this is meant for Link running on the host OS. If OpenClaw is inside Docker, that is still fine as long as Docker publishes the OpenClaw port back to the host and Link itself is installed on the host. If Link is running inside Docker or another container, use Docker's own restart policy instead of clawlink autostart on.

clawlink autostart off

Removes the auto-start entry that clawlink autostart on created earlier.

clawlink uninstall --yes

Stops the Link service, removes the auto-start entry, and prepares this computer for removing the npm package. After this finishes, if you still want to remove the package itself, run:

npm uninstall -g @clawpilot-app/link

If you also want to clear this computer's local Link data at the same time, add --unpair:

clawlink uninstall --yes --unpair

Update

npm install -g @clawpilot-app/link@latest
clawlink restart

If Link was already running during the npm update, the install step will try to print a reminder. Even if you miss that reminder, clawlink start will now also refresh an old background daemon automatically.

The npm package name is @clawpilot-app/link.