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

agentshield

v0.1.0

Published

Instant file protection for AI agent operations - hardlink-based zero-copy backup system

Readme

🛡️ AgentShield

English | 中文

The missing safety layer for Claude Code, Cowork, OpenCode and all AI Agents - Your "regret pill" for AI-assisted development.

A workspace history version management tool that protects your workspace from unintended AI Agent modifications.

demo

✨ Features

  • ⚡ Zero-Copy Backups - Uses hardlinks for instant, space-efficient backups
  • 🕵️ Real-time Protection - Watches your workspace and automatically backs up files before changes
  • 📦 Smart Exclusions - Automatically ignores .git, node_modules, build artifacts, etc.
  • 🔒 Atomic Exec Mode - Snapshot entire workspace before running agent commands
  • ⏮️ Easy Restore - One command to roll back any file to its original state

🚀 Installation

Desktop Version

Download the corresponding platform installation package from the Releases page and extract it to install (supports Windows, macOS, Linux).

  • shield_desktop_darwin_arm64.dmg (macOS arm64)
  • shield_desktop_darwin_x64.dmg (macOS x64)
  • shield_desktop_linux_arm64.tar.gz (Linux arm64)
  • shield_desktop_linux_x64.tar.gz (Linux x64)
  • shield_desktop_win_x64.exe (Windows x64)

CLI Version

Via npm installation

npm install -g agentshield

Via binary installation

curl -fsSL https://github.com/tomsun28/agentshield/raw/main/install.sh | bash

Or download the executable binary for your platform from the Releases page (supports Windows, macOS, Linux).

  • shield_cli_darwin_arm64 (macOS arm64)
  • shield_cli_darwin_x64 (macOS x64)
  • shield_cli_linux_arm64 (Linux arm64)
  • shield_cli_linux_x64 (Linux x64)
  • shield_cli_win_x64.exe (Windows x64)

📖 Usage

Watch Mode (Workspace Real-time Protection)

Support background daemon mode shield start and foreground mode shield watch, choose one.

# Start background watch (recommended)
shield start

# Start background watch for specific directory
shield start ./my-project

# Watch current directory (foreground)
shield watch

# Watch specific directory (foreground)
shield watch ./my-project

# Stop background process
shield stop
shield stop ./my-project

# Check status
shield status

Restore Files

# List all changes and snapshot points
shield list

# Restore a specific snapshot by ID or timestamp
shield restore <id>

Status and Cleanup

# Show backup statistics and daemon status
shield status

# Remove backups older than 7 days (default)
shield clean

# Remove backups older than 3 days
shield clean --days=3

🤝 Contributing

Issues and Pull Requests are very welcome!

📄 License

Apache License 2.0