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

icme-claude-preflight

v0.1.2

Published

Cryptographic guardrails for AI agents. One command to protect your Claude Code session.

Readme

@icme/claude-preflight

Cryptographic guardrails for Claude Code. One command to install.

Install

npx @icme/claude-preflight init

That's it. Every Bash, Write, and Edit action will now be:

  1. Translated to plain English (free — /v1/explain)
  2. Screened against your policy (free — relevance check)
  3. Verified if relevant (1 credit — /v1/checkIt with formal verification)

Blocked actions produce a cryptographic proof. No restart needed.

Prerequisites

You need an ICME API key and a compiled policy. If you don't have one:

# Create an account ($5 — gives 325 credits)
curl -s -X POST https://api.icme.io/v1/createUserCard \
  -H 'Content-Type: application/json' \
  -d '{"username": "your-name"}' | jq .
# Open checkout_url in your browser, then retrieve your key:
# curl -s https://api.icme.io/v1/session/SESSION_ID | jq .

# Write your policy in plain English and compile it (300 credits)
curl -s -N -X POST https://api.icme.io/v1/makeRules \
  -H 'Content-Type: application/json' \
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "policy": "1. No outbound data transmission to unapproved domains.\n2. No deletion of files outside /tmp.\n3. No modification of SSH keys or credentials."
  }'
# Save the policy_id from the response.

Full docs: https://docs.icme.io

Commands

npx @icme/claude-preflight init        # Set up guardrails
npx @icme/claude-preflight status      # Check installation
npx @icme/claude-preflight uninstall   # Remove hooks

What it installs

  • ~/.icme/env — your API key and policy ID (mode 600)
  • ~/.icme/preflight-hook.sh — the hook script called by Claude Code
  • ~/.claude/settings.json — registers the PreToolUse hook user-globally, so it fires across every project

How it works

Claude tries to run a command
        │
        ▼
  PreToolUse hook fires
        │
        ▼
  /v1/explain (free)
  "rm -rf ~/.ssh" → "Permanently delete all SSH keys"
        │
        ▼
  Relevant to policy?
  ├─ No  → allow (exit 0)
  └─ Yes → /v1/checkIt (1 credit)
             │
             ├─ SAT   → allow (exit 0)
             └─ UNSAT → block (exit 2) + cryptographic proof

Fail-closed

If the ICME API is unreachable, the hook blocks the action. Safe by default.