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

openshield

v0.4.0

Published

One-command installer and configurator for OpenClaw agents connected to the OpenShield dashboard.

Readme

OpenShield

One-command installer and configurator for OpenClaw agents with OpenShield dashboard integration.

Current package version: 0.4.0

🚀 Quick Start

Run in any directory:

npx openshield@latest init

This launches an interactive terminal user interface (TUI) that guides you through:

  • Agent name configuration
  • OpenClaw installation and setup
  • Model configuration
  • Orientation file creation
  • Gateway startup
  • Dashboard connection testing

OpenShield installs OpenClaw with onboarding disabled, then creates and configures the agent automatically.

For non-interactive mode:

npx openshield@latest init --yes

Or disable the TUI:

npx openshield@latest init --no-tui

Show current status:

npx openshield@latest status

📋 What's Created

./orientation/
├── SOPs.md              # Standard operating procedures
├── API_creds.md         # Your agent secret & API URL (KEEP PRIVATE)
└── dashboard.md         # Reporting instructions & examples

OpenShield also adds orientation/API_creds.md to .gitignore automatically.

✅ Current Behavior

  • Installs OpenClaw with --no-onboard
  • Creates an OpenClaw agent automatically
  • Sets the default model
  • Writes OpenShield orientation files and OpenClaw template docs
  • Starts the OpenClaw gateway
  • Attempts an initial dashboard heartbeat
  • Skips directive injection until the OpenClaw directive command is available

If dashboard credentials are not ready yet, initialization can still complete up to the heartbeat step. Heartbeat auth can be updated later.

🖥️ Commands

openshield init        # full setup flow
openshield tui         # launch terminal UI directly
openshield status      # show OpenClaw/OpenShield status

🎨 Terminal User Interface

OpenShield features a modern terminal user interface with:

  • Interactive Menus: Navigate with arrow keys and Enter
  • Progress Tracking: Real-time status updates during initialization
  • Visual Feedback: Color-coded success/error indicators
  • Status Dashboard: View agent and component status
  • Configuration Options: Set dashboard API keys and model settings

The TUI is enabled by default. Use --no-tui for traditional CLI prompts.

📦 Programmatic Usage

import { init, heartbeat, reportTask, reportLog, setStatus, getStatus, getLogs } from 'openshield';

The library entrypoint exports the initialization flow plus dashboard reporting helpers.

🧪 Verification

The package includes a smoke/integration validation suite:

npm run test      # build + node:test coverage for reporting/orientation flows
npm run verify    # test + CLI help smoke test + npm pack dry-run

npm publish triggers prepublishOnly, which runs npm run verify.

🔧 Development

git clone <repo>
cd openshield
npm install
npm run dev          # Development mode with TUI
npm run build        # Build for distribution
npm run test         # Run package test suite
npm run verify       # Full release validation
npm pack --dry-run   # Check publish contents
npm publish          # Publish to npm

The TUI is built with terminal-kit, chalk, boxen, ora, and cli-table3 for a rich terminal experience.

Orientation files and examples reference the API docs at https://agents.openshield.cc/docs/api.

📖 License

MIT