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-extensions

v0.5.2

Published

CLI utilities for OpenClaw — cron frequency management, adaptive scheduling, and operational tools

Readme

OpenClaw Extensions (ocx)

CLI utilities for OpenClaw — cron frequency management, adaptive scheduling, and operational tools.

Use without installing

npx openclaw-extensions doctor

Install

npm install -g openclaw-extensions

Usage

# Increase cron frequency one tier (shorter interval)
ocx cron up <cron_id> [--step N]

# Decrease cron frequency one tier (longer interval)
ocx cron down <cron_id> [--step N]

# Sync linked cron frequency (follower = source × multiplier)
ocx cron link <follower_id> <source_id> <multiplier>

# Diagnose model call failures for an agent or channel session
ocx model-debug --agent <id>
ocx model-debug --agent <id> --channel <discord_channel_id>
ocx model-debug --agent <id> --last <n>   # default: 5
ocx model-debug --session <trajectory-file-path-or-id-fragment>

# Validate OpenClaw config — catch bad model refs before they fail at runtime
ocx doctor
ocx doctor --fix   # auto-remove invalid per-agent model overrides

ocx model-debug

Inspects trajectory files and gateway logs to surface the root cause when an agent silently fails or falls back unexpectedly. Useful when a model switch (e.g. via Discord model picker) breaks an agent and there is no visible error.

Checks:

  • stopReason: error + errorMessage in trajectory messagesSnapshot
  • Zero-token calls (model fired but produced nothing)
  • Fallback activations
  • Discord model-picker selection history
  • gateway.err.log snippets around the failure time

If no trajectory is found for the given channel, falls back to scanning gateway.err.log to identify which agent owns that channel.

ocx doctor

Validates model references in openclaw.json that openclaw doctor does not check (see openclaw/openclaw#39811):

  • Per-agent model overrides are known model IDs (present in agents.defaults.models)
  • Bare "default" strings — these resolve to openai/default which does not exist and will always fail at runtime
  • Primary model and all fallbacks in agents.defaults.model

--fix automatically removes invalid per-agent model fields so they inherit the global default.

Frequency Tiers

cron up and cron down move through these tiers:

| Tier | Interval | |------|----------| | 0 | 168h | | 1 | 72h | | 2 | 48h | | 3 | 24h | | 4 | 12h | | 5 | 8h | | 6 | 6h | | 7 | 4h | | 8 | 3h | | 9 | 2h | | 10 | 1h |

Safety

  • Only adjusts crons with [ADAPTIVE] (or [LINKED]) in their name
  • Only works with "every" schedule kind (not cron expressions)
  • anchorMs is never modified
  • Linked cron results are clamped to 1h–168h range

Requirements

  • Node.js >= 18
  • OpenClaw CLI (openclaw cron edit must be available)

License

Apache-2.0