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

claw-zero

v0.1.21

Published

Secure AI sandbox in one command — Docker-isolated OpenClaw agent with zero config

Readme

Claw Zero

Secure AI sandbox in one command. Docker-isolated OpenClaw agent with zero manual configuration.

npx claw-zero

That's it. Claw Zero handles Docker installation, container setup, security config, and browser launch — all in a single interactive CLI session.


What It Does

npx claw-zero
  │
  ├─ Detects Docker state (installed / missing / broken)
  ├─ Installs or repairs Docker Desktop via Homebrew if needed
  ├─ Creates ~/Desktop/OpenClaw_Workspace
  ├─ Generates clawdbot.json (security config based on chosen profile)
  ├─ Pulls ghcr.io/openclaw/openclaw:latest
  ├─ Boots container on localhost
  └─ Opens the Control UI in your browser

Security Profiles

Choose a profile during setup. Each profile writes a clawdbot.json that controls what the AI agent can do inside the sandbox.

| Profile | Sandbox | Workspace | Human Approval Required | Skill Trust | Budget | |---|---|---|---|---|---| | Fort Knox | all | Read-only | All commands | None | 100k tokens | | Pragmatic PM (default) | non-main | Scoped | rm, sudo, curl, wget, git push, npm publish | Verified only | 500k tokens | | Cowboy Coder | off | Scoped | sudo, rm -rf | All | 2M tokens | | YOLO Mode | off | Read-write | None | All | Unlimited |


Prerequisites

| Requirement | Notes | |---|---| | macOS | Homebrew auto-install is Mac-only | | Node.js >= 18 | ESModules + native fetch | | Docker Desktop | Auto-installed if absent | | API key | Anthropic or OpenAI — entered during setup, never stored in plaintext |


Install & Run

Option 1: npx (no install)

npx claw-zero

Option 2: Global install

npm install -g claw-zero
claw-zero

Option 3: From source

git clone https://github.com/singhsameer2891-pixel/claw-zero.git
cd claw-zero
npm install
npm start

How It Handles Docker

Claw Zero detects four possible Docker states and handles each automatically:

| State | What Claw Zero Sees | Action | |---|---|---| | Installed & running | docker info responds | Proceed directly | | Installed, not running | .app exists, daemon offline | Launch Docker Desktop, wait for daemon | | Partially uninstalled | Leftover symlinks/metadata, broken .app | Clean artifacts, reinstall via Homebrew | | Not installed | Nothing found | Fresh brew install --cask docker |

The CLI runs interactively so you can provide your password if Homebrew needs sudo for privileged helpers.


Container Details

| Parameter | Value | |---|---| | Image | ghcr.io/openclaw/openclaw:latest | | Container name | openclaw_sandbox | | Port | Auto-assigned → localhost:<port> | | Volume mount | ~/Desktop/OpenClaw_Workspace:/workspace | | API key | Passed via --env, never written to disk |

The container runs with --detach --rm — it stops automatically when Docker restarts.


Project Structure

claw-zero/
├── src/
│   ├── index.ts        # Entry point — interactive UI flow
│   ├── docker.ts       # Docker detection, install, repair, daemon management
│   ├── container.ts    # Image pull, container launch, pairing
│   ├── network.ts      # Speed test, download manifest
│   ├── config.ts       # clawdbot.json generation
│   ├── workspace.ts    # Workspace directory creation
│   ├── profiles.ts     # Security profile definitions
│   ├── logger.ts       # Session logging
│   └── types.ts        # TypeScript types
├── package.json
├── tsconfig.json
└── README.md

Tech Stack

| Layer | Choice | |---|---| | Runtime | Node.js + TypeScript (ESModules) | | CLI UI | @clack/prompts + picocolors | | Process exec | execa | | Containerisation | Docker Desktop via Homebrew |


Author

Sameer Singhgithub.com/singhsameer2891-pixel


License

MIT