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

@agentguardsco/claude-selfhosted-plugin

v0.1.11

Published

LLM security guardrails for Claude Code, for a self-hosted AgentGuards appliance — enforced entirely by hooks, no bundled MCP server.

Readme

AgentGuards plugin for Claude Code — self-hosted

For a self-hosted AgentGuards appliance. If you're on the hosted product at agentguards.co, install agentguards-claude instead — it bundles the MCP server this variant deliberately does not.

Why a separate plugin

Claude Code's plugin .mcp.json cannot substitute an environment variable into its url field — it has to be a fixed string, baked in when the plugin is published. agentguards-claude's .mcp.json therefore points at https://prod.agentguards.co, and there is no way to override that per installation. Shipping one plugin for both audiences meant a self-hosted operator's MCP tool calls (check_input, authorize_action, …) would go to AgentGuards' hosted service instead of their own appliance, with no error and no way to tell — the opposite of what a self-hosted deployment is for.

This variant ships hooks only, with no MCP server at all. Hooks read AGENTGUARDS_URL from the environment as a subprocess, correctly per installation, so they aren't affected by that limitation. They are also the actual enforcement mechanism — check_input/authorize_action in the other variant are a cooperative convenience the model can choose to call; the hooks run regardless. Nothing here is a reduced version of the guardrail, only a narrower plugin.

Install

/plugin marketplace add alelaguard/agentguards-plugins
/plugin install agentguards-claude-selfhosted@agentguards

Then point it at your appliance. Unlike the hosted plugin, there is no default — this is deliberate, so it can never silently talk to the wrong instance:

export AGENTGUARDS_URL=https://<your-appliance>
export AGENTGUARDS_API_KEY=ag_your_token_here

Add both lines to your shell profile (~/.bashrc, ~/.zshrc, …) and restart Claude Code. Or run /agentguards:setup and it will walk you through it, including the appliance's first-boot self-signed certificate if that applies.

Alternative: npm install @agentguardsco/claude-selfhosted-plugin. Fetches these files for programmatic use — it does not register with Claude Code on its own; use /plugin install above for that.

Commands

  • /agentguards:setup — configure the appliance URL and API key, and verify.
  • /agentguards:status — report reachability and whether the key is accepted.

Configuration

| Variable | Required | Default | Purpose | |---|---|---|---| | AGENTGUARDS_URL | yes | — none | Your appliance's own address. No fallback, by design. | | AGENTGUARDS_API_KEY | yes | — | Your ag_ token, generated on your appliance's own /admin/ui/keys. | | AGENTGUARDS_CA_BUNDLE | no | — | Pin the appliance's certificate while it's still self-signed. Verification stays on. | | AGENTGUARDS_TLS_NO_VERIFY | no | false | Skip certificate verification. Private-network evaluation only. | | AGENTGUARDS_FAIL_OPEN | no | false | Hooks fail closed by default. Set true to allow on error. |

How it works

The hooks call your appliance's REST API on every prompt, before every Bash command, and after every web fetch — blocking or redacting when it flags a risk. There is no cooperative MCP layer in this variant; see the bundled guardrails skill for why that's not a gap.

Learn more at https://agentguards.co.