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

@10iii/air-openclaw-plugin

v0.2.18

Published

OpenClaw plugin for AIR - AI-optimized tool output compression

Readme

@10iii/air-openclaw-plugin

OpenClaw plugin for AIR (AI-optimized Information Representation) - transparent compression for tool outputs.

For AI Agents: See the unified installation guide at AGENT-INSTALL.md

Installation

# Global install
npm install -g @10iii/air-openclaw-plugin

Usage

Add the plugin to your OpenClaw configuration:

{
  "plugins": ["@10iii/air-openclaw-plugin"]
}

Or programmatically:

import airPlugin from "@10iii/air-openclaw-plugin";

// In your OpenClaw setup
airPlugin.activate(api);

Features

Transparent Compression

Tool outputs are automatically compressed before being persisted to the session. The LLM sees compressed output with a marker:

... compressed content ...
[AIR: compressed 63% | air_off() for raw]

Control Tools

air_on()

Re-enable compression (default state).

air_off(calls?: number)

Temporarily disable compression. Auto-expires after N tool calls (default: 10).

LLM: Can you show me the raw output?
LLM calls: air_off(5)
Response: AIR compression disabled for the next 5 tool calls.

Whitelist Strategy

Only 5 tools are compressed - all others pass through unchanged:

| Tool | Compressor | Description | |------|------------|-------------| | exec | BashCompressor | Terminal command output | | process | BashCompressor | Process output | | read | ReadCompressor | File content | | browser | WebCompressor | Page snapshots | | web_fetch | WebCompressor | Fetched web pages | | web_search | SearchCompressor | Search results |

Configuration

Environment Variables

# Minimum compression gain (default: 200 chars)
AIR_MIN_GAIN=200

# Default calls before air_off auto-expires
AIR_DEFAULT_DISABLED_CALLS=10

Recommended OpenClaw Settings

For better compression results, increase the web fetch limits:

{
  "webFetch": {
    "maxChars": 100000,
    "maxCharsCap": 200000,
    "maxResponseBytes": 10000000
  }
}

API

activate(api: PluginApi)

Activate the plugin. Called by OpenClaw when the plugin is loaded.

deactivate()

Deactivate the plugin. Called by OpenClaw when the plugin is unloaded.

Utilities (for extension/testing)

import {
  selectCompressor,
  shouldCompress,
  getCompressedTools,
  isEnabled,
  enable,
  disable,
  reset,
} from "@10iii/air-openclaw-plugin";

Design

See OPENCLAW-PLUGIN-DESIGN.md for detailed design documentation.

License

MIT