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

@autotask/atools-tool

v0.1.11

Published

ATools CLI for OpenClaw proxy compatibility and interactive model configuration

Readme

atools-tool

ATools CLI for OpenClaw:

  • proxy compatibility for sub2api-style upstreams
  • one-click installer
  • interactive OpenClaw model config

Expected Usage

atools-tool <command>

Available command:

atools-tool openclaw

Interactive flow:

  1. Check local proxy status (127.0.0.1:18888); if not running, ask whether to start it first
  2. Select default model: gpt-5.2 / gpt-5.3-codex / gpt-5.4
  3. Configure reasoning: off / on
  4. Configure thinking strength: off|minimal|low|medium|high|xhigh
  5. Input API key (leave empty to keep current key)

Selection UX:

  • TTY terminal: use ↑/↓ and Enter
  • Non-TTY: falls back to number input

If proxy startup fails during atools-tool openclaw, the CLI now prints environment-aware troubleshooting hints (systemd user bus, permissions, port readiness) and does not silently fail.

Rollback to codex-compatible defaults:

atools-tool openclaw

Recommended selections:

  1. gpt-5.3-codex
  2. off
  3. low
  4. Input your ATools key (same as ATOOLS_OAI_KEY)

Install (npm)

npm i -g @autotask/atools-tool

Default full install (recommended):

npm i -g @autotask/atools-tool && atools-tool install-proxy && atools-tool openclaw

Optional installer command:

atools-tool install-proxy --help

atools-tool install-proxy service behavior by platform (legacy alias: atools-tool-install):

  • Linux: systemd user service (fallback to detached process if systemctl --user is unavailable)
  • macOS: launchd user agent (~/Library/LaunchAgents)
  • Windows: Task Scheduler user task (ONLOGON + start now)

By default, installer does not hard-force a single outbound model. Proxy normalizes sub2api/<model> to plain model id for codex-compatible upstreams.

Proxy Command

atools-tool serve --port 18888 --upstream https://sub2api.atools.live

Repo Install

git clone https://github.com/aak1247/sub2api-openclaw-proxy.git
cd sub2api-openclaw-proxy
./install.sh

Bootstrap Install

curl -fsSL https://raw.githubusercontent.com/aak1247/sub2api-openclaw-proxy/main/bootstrap-install.sh | bash

What Installer Changes

  • patches ~/.openclaw/openclaw.json
  • patches ~/.openclaw/agents/main/agent/models.json
  • patches ~/.openclaw/agents/main/agent/auth-profiles.json (if API key is available)
  • service install by platform:
    • Linux: creates/enables ~/.config/systemd/user/openclaw-atools-proxy.service
      • if user bus/systemd is unavailable (for example container/root without login bus), installer auto-falls back to detached proxy process
    • macOS: creates/enables ~/Library/LaunchAgents/openclaw-atools-proxy.plist
    • Windows: creates/updates scheduled task openclaw-atools-proxy
  • restarts openclaw-gateway.service only on Linux (unless --no-restart)

Default proxy log:

/tmp/openclaw/atools-compat-proxy.log

Uninstall

./scripts/uninstall.sh

License

MIT