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

openclaw-phone

v0.1.10

Published

OpenClaw plugin for AndroidAutoGLM executor nodes

Readme

AndroidAutoGLM OpenClaw Plugin

This plugin lets the official OpenClaw app dispatch full Android phone tasks to an AndroidAutoGLM executor.

It supports 2 transport modes:

  • gateway: direct OpenClaw Gateway node invocation
  • relay: account + pairing-code mode for multi-user deployment

What it adds

  • Tool: android_phone_task
  • Tool: android_phone_status
  • Tool: android_phone_stop
  • Command: /android-phone

The Android app stays responsible for the full local execution loop:

  1. Receive one complete task
  2. Run the existing AndroidAutoGLM task planner + executor
  3. Return progress and a final summary

Install

Option 1: install from npm

openclaw plugins install openclaw-phone

This only installs the plugin package. For the full first-run pairing flow, use the npx command below.

Option 1.5: one command via npx

npx openclaw-phone

This command is the recommended first-run path. It downloads the npm package temporarily, installs or repairs the local plugin install, writes the relay config, prints a 6-digit pairing code, waits for the Android app to bind, updates the binding token, and then restarts the OpenClaw gateway.

Option 2: install from a local checkout

openclaw plugins install /path/to/AndroidAutoGLM/androidautoglm --link

Option 3: pack then install as a tgz

cd androidautoglm
npm install
npm run pack:plugin
openclaw plugins install ./androidautoglm-0.1.0.tgz

Option 4: install from a GitHub Release asset

curl -L -o /tmp/androidautoglm-X.Y.Z.tgz \
  https://github.com/wxl482/OpenClaw-Link-AutoGLM/releases/download/plugin-vX.Y.Z/androidautoglm-X.Y.Z.tgz
openclaw plugins install /tmp/androidautoglm-X.Y.Z.tgz

openclaw plugins install does not currently accept remote https://... URLs directly. Download the archive first, then install the local .tgz file.

If you want a Feishu-style customer installer, chain install and setup:

openclaw plugins install /tmp/androidautoglm-latest.tgz
npx openclaw-phone -- --no-install

If you still want openclaw channels add --channel openclaw-phone for manual debugging on OpenClaw 2026.3.13, seed the plugin catalog first:

bash register-channel-catalog.sh

Option 5: install from the public relay download endpoint

curl -L -o /tmp/androidautoglm-latest.tgz \
  https://relay.youseeyou.cloud/downloads/androidautoglm-latest.tgz
openclaw plugins install /tmp/androidautoglm-latest.tgz

Option 6: one-command installer

curl -fsSL https://relay.youseeyou.cloud/downloads/install-androidautoglm.sh | bash

The installer registers the local plugin catalog entry first. In compatibility mode it then downloads the latest plugin package, installs it, immediately starts the pairing flow, and finally tries to restart the OpenClaw gateway.

Optional checksum:

curl -fsS https://relay.youseeyou.cloud/downloads/androidautoglm-latest.tgz.sha256
shasum -a 256 /tmp/androidautoglm-latest.tgz

The package intentionally only ships:

  • index.js
  • setup-entry.js
  • openclaw.plugin.json
  • README.md

Recommended production mode: relay

Relay mode is the path intended for shared/public deployment:

  • AndroidAutoGLM phone executors authenticate with an account access token
  • each OpenClaw instance gets a stable controllerId
  • the plugin creates a 6-digit pairing code
  • the Android app claims the code
  • the server marks that OpenClaw as the account's active controller
  • latest pairing wins

Plugin config example

{
  "transport": "relay",
  "relayUrl": "wss://relay.youseeyou.cloud/ws",
  "defaultNode": "android-12345678"
}

The standard plugin pairing flow does not require customers to know a global relay secret. The Android app should keep using only the account accessToken.

If you deliberately run a hardened relay that still protects unbound controller WebSocket sessions with a server token, you may add:

{
  "relayServerToken": {
    "source": "env",
    "id": "ANDROIDAUTOGLM_RELAY_SERVER_TOKEN"
  }
}

That token should stay on the OpenClaw side only.

First-time pairing flow

Recommended user flow:

  1. Run npx openclaw-phone.
  2. Start the Node relay server from remote-server/ and expose it as https://relay.youseeyou.cloud.
  3. The terminal prints a 6-digit pairing code and keeps waiting.
  4. In the Android app:
    • open Settings > Remote Control
    • paste the account access token
    • save
    • enter the 6-digit pairing code
    • tap Bind OpenClaw
  5. After the phone confirms pairing, the terminal continues automatically, stores the binding token, and restarts the gateway.

The guided setup path still works from the OpenClaw onboarding/channel UI because this package ships a setup-entry.js, but the direct npx installer is more reliable for customer-facing first runs.

Manual fallback is still available after the plugin is loaded:

/android-phone pair

If you want to force a manual sync first, /android-phone bind is still available, but it is no longer required for the normal user flow.

For production you typically only need:

  • transport: "relay"
  • relayUrl: "wss://relay.youseeyou.cloud/ws"

Relay commands

/android-phone pair
/android-phone bind
/android-phone pair-status
/android-phone nodes
/android-phone status
/android-phone run 打开系统设置
/android-phone stop

Direct mode: gateway

Gateway mode is still supported for local / private setups where the Android app connects as an official OpenClaw node.

Gateway config example

{
  "transport": "gateway",
  "defaultNode": "OnePlus PLK110",
  "defaultTimeoutMs": 900000,
  "gatewayUrl": "ws://127.0.0.1:18789",
  "gatewayToken": ""
}

Required allowlist

{
  "gateway": {
    "nodes": {
      "allowCommands": [
        "androidautoglm.task.run",
        "androidautoglm.task.stop",
        "androidautoglm.task.status"
      ]
    }
  }
}

Shortcut:

/android-phone allow

Tool behavior

The prompt-facing tools are intentionally thin:

  • android_phone_task: runs one complete phone task and waits for the final result
  • android_phone_status: reports online / idle / busy state
  • android_phone_stop: cancels the current phone task

The plugin also injects a small system hint so the main OpenClaw agent prefers these tools instead of the generic nodes tool for Android phone tasks.

Release flow

This repo ships a GitHub Actions workflow at plugin-release.yml.

Release convention:

  • bump package.json
  • create a git tag like plugin-v0.1.0
  • push the tag
  • GitHub Actions builds androidautoglm-0.1.0.tgz and publishes it as a release asset