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

@deepclamp/clamp

v0.43.0

Published

clamp CLI installer and wrapper. Run a local token-savings estimate with: npx @deepclamp/clamp savings --estimate

Readme

@deepclamp/clamp

clamp is a CLI wrapper for AI coding agents that filters dev-command output before it reaches the model, so the same work costs fewer tokens. This package installs the platform clamp binary and delegates every command to it.

Estimate your savings

Run a local estimate of the tokens clamp would have saved on your recent agent sessions:

npx @deepclamp/clamp savings --estimate

The estimate runs entirely on your machine, reads only your local agent history, and installs no hooks. Sample more deeply with clamp savings --estimate --full.

Install

For day-to-day use, install globally:

npm install -g @deepclamp/clamp
clamp --version

Then set up your agent integration:

# Codex CLI (Windows/Linux)
clamp init --global --agent codex
# Restart Codex, review/trust Clamp hooks with /hooks, then verify:
clamp doctor --json --require codex-instructions,codex-hook,codex-trust

# Claude Code
clamp init --global --agent claude-code --auto-patch
clamp doctor --json --require hook

# Hermes
clamp init --agent hermes
clamp doctor --json

Prompt-level clamping for Hermes uses the clamp-engine sidecar, which ships with the evaluation bundle rather than this package; command filtering works without it.

Check savings as you work with clamp s (compact) or clamp savings --report (full report).

Uninstall

Reverses hook/settings changes for the agent you initialized, then removes the managed binary:

# Codex CLI
clamp uninstall --global --agent codex

# Claude Code
clamp uninstall --global --agent claude-code

# Hermes
clamp uninstall --agent hermes

Supported platforms

This package ships the clamp binary for:

  • Linux x64 (static musl build)
  • Windows x64
  • macOS arm64 (Apple Silicon)
  • macOS x64 (Intel)

On first run the wrapper stages the bundled binary into the managed clamp directory (~/.local/share/clamp/bin, override with CLAMP_NPM_INSTALL_DIR) and executes your command in the same invocation.

Licensing

Personal and noncommercial use is free. Business use requires a paid FileLasso license — evaluation starts at deepclamp.com. Enroll a license with clamp license <key> or npx @deepclamp/clamp --license <key>.

clamp is source-available. It includes components derived from rtk-ai/rtk under the Apache License 2.0; see NOTICE and licenses/APACHE-2.0.txt in this package.

Security, privacy, and data usage

The savings estimate and reports are generated locally; clamp does not upload your prompts, transcripts, source code, or command output to FileLasso. For the security, privacy, and data-usage reference, see deepclamp.com.