Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Kevin Wu avatar

Reins

  • 406 repo stars
  • Updated May 22, 2026
  • pegasi-ai/reins

Enforce deterministic policies, scan for OWASP AI security issues, and maintain immutable audit trails for AI agents.

About

Reins is a security plugin for Claude Code and MCP-compatible agents that enforces deterministic policies, performs OWASP ASI10 scanning, and maintains immutable audit trails. Uses PreToolUse/PostToolUse hooks to intercept and block destructive actions, route sensitive operations through human approval, and ensure compliance.

  • Deterministic policy enforcement
  • OWASP ASI10 security scanning
  • Immutable audit trail logging
  • PreToolUse/PostToolUse hooks for tool interception
  • Human approval routing for high-impact operations

Reins by the numbers

  • Data as of Aug 3, 2026 (Skillselion catalog sync)
/plugin marketplace add pegasi-ai/reins
/plugin install reins@pegasi

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars406
Last updatedMay 22, 2026
Repositorypegasi-ai/reins

What it does

Enforce deterministic policies, scan for OWASP AI security issues, and maintain immutable audit trails for AI agents.

README.md

Reins — Claude Code Plugin

Runtime security for AI agents. Blocks destructive actions before execution, routes high-impact operations through human approval, and maintains an immutable audit trail.

Prerequisites

npm install -g @pegasi/reins
reins init

The plugin hooks call the globally installed @pegasi/reins package. reins init configures your security level, connects to Watchtower, and runs an initial scan.

What this plugin installs

Component What it does
PreToolUse hooks Intercept every Bash, Edit, MultiEdit, Write, and MCP call before execution
PostToolUse hooks Log every decision to ~/.openclaw/reins/decisions.jsonl
reins skill Teaches Claude how to respond when an action is blocked

Install

From marketplace:

/plugin install reins

Local (development):

claude --plugin-dir ./plugin

Testing

# Test the hook directly
echo '{"tool_name":"Bash","tool_input":{"command":"rm -rf /"}}' | reins-pre-hook

# Check status
reins status
reins audit -n 5

Links

Related skills

Securitycomplianceaudit

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.