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

openclaw-safeclaw-plugin

v1.0.0

Published

SafeClaw Neurosymbolic Governance plugin for OpenClaw — validates AI agent actions against OWL ontologies and SHACL constraints

Readme

openclaw-safeclaw-plugin

Neurosymbolic governance plugin for OpenClaw AI agents. Validates every tool call, message, and action against safety constraints before execution.

Install

npm install -g openclaw-safeclaw-plugin

Quick Start

  1. Sign up at safeclaw.eu and create an API key
  2. Install and connect:
npm install -g openclaw-safeclaw-plugin
safeclaw connect <your-api-key>
safeclaw restart-openclaw

That's it. Every tool call your AI agent makes is now governed by SafeClaw.

Commands

safeclaw connect <api-key>  Connect to SafeClaw and register with OpenClaw
safeclaw setup              Register plugin with OpenClaw (no key needed)
safeclaw tui                Open the interactive settings TUI
safeclaw restart-openclaw   Restart the OpenClaw daemon

What It Does

  • Blocks dangerous actions — force push, deleting root, exposing secrets
  • Enforces dependencies — tests must pass before git push
  • Checks user preferences — confirmation for irreversible actions
  • Governs messages — blocks sensitive data leaks
  • Full audit trail — every decision logged with ontological justification

How It Works

The plugin registers hooks on OpenClaw events:

  1. before_tool_call — validates against SHACL shapes, policies, preferences, dependencies
  2. before_agent_start — injects governance context into the agent's system prompt
  3. message_sending — checks outbound messages for sensitive data
  4. after_tool_call — records action outcomes for dependency tracking
  5. llm_input/output — logs LLM interactions for audit

Configuration

Set via environment variables or ~/.safeclaw/config.json:

| Variable | Default | Description | |----------|---------|-------------| | SAFECLAW_URL | https://api.safeclaw.eu/api/v1 | SafeClaw service URL | | SAFECLAW_API_KEY | (empty) | API key (set automatically by safeclaw connect) | | SAFECLAW_TIMEOUT_MS | 5000 | Request timeout in ms | | SAFECLAW_ENABLED | true | Set false to disable | | SAFECLAW_ENFORCEMENT | enforce | enforce, warn-only, audit-only, or disabled | | SAFECLAW_FAIL_MODE | open | open (allow on failure) or closed (block on failure) |

Enforcement Modes

  • enforce — block actions that violate constraints (recommended)
  • warn-only — log warnings but allow all actions
  • audit-only — server-side logging only, no client-side action
  • disabled — plugin is completely inactive

License

MIT