Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By pegasi-aiv0.0.13Apache-2.0
Blocks dangerous shell commands and sensitive file edits before Claude Code runs them, via pre-tool hooks on every tool call. Unhandled hook errors block the action, and it says policies run offline from a local cache.
reins@pegasi, from the plugin/ folder. Claude Code treats the two as separate plugins. Both builds have hooks, and Claude Code runs the hooks of only one plugin per name: with both installed, one build's hooks don't run. View the author's build →Claude loads one when your task matches it, or you run it by name.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
In Greek myth, Athena gave Bellerophon the golden bridle — reins included — that let him guide Pegasus. Reins applies the same idea to AI agents: raw power is not enough — what matters is making it controllable.
Reins enforces deterministic security policies on every agent action, scans your configs for OWASP ASI10 vulnerabilities, and tracks drift over time. Policies evaluate in under 50ms. Works with Claude Code PreToolUse and PostToolUse hooks, OpenClaw, and any MCP-compatible agent.
npm install -g @pegasi-ai/reins
reins init
Compare an agent's shell permissions and installed skill manifests before and after a configuration change. The offline viewer shows which OWASP Agentic Skills Top 10 categories have related scan evidence and which still need review.

The preview uses a real Reins fixture scan and synthetic ARTEX findings and Shirudo verifier results.
1. Clone and run the exercise. From a terminal with Git, Node.js 18 or later, and npm, run:
git clone https://github.com/pegasi-ai/reins.git
cd reins
npm ci --ignore-scripts
npm run build
node scripts/purple-demo.cjs > purple-review.json
2. Review the results in Codex. Open the cloned reins folder in Codex and paste this prompt into a new chat. The checkout includes the purple-team skill.
$reins-purple-review Review purple-review.json. Which checks changed after the configuration edits, and which OWASP Agentic Skills risks still need evidence?
3. Open the local viewer. Double-click docs/purple-review/index.html in the checkout. Use Theme to choose Dark, Light, or System. Choose Open reports and select purple-review.json from the repo root. Look for SHELL_COMMAND_ALLOWLIST changing from FAIL to PASS and CLAWHAVOC_IOC from WARN to PASS. Select Need evidence to see the gaps.
To explore the viewer without building, open the same HTML file and load the bundled docs/purple-review/example.json. You can also load a saved ARTEX findings export and a Shirudo verifier JSON alongside the scan.
The Claude Code skill documents the Reins plugin hooks. To copy its instructions into your personal skills directory from this checkout, run:
mkdir -p ~/.claude/skills/reins
cp plugin/skills/reins/SKILL.md ~/.claude/skills/reins/SKILL.md

An OpenClaw agent tries to bulk-delete 4,382 Gmail messages. Reins blocks it before execution.
CONFIRM-* tokens for catastrophic operations.~/.openclaw/reins/decisions.jsonlFull docs at reins.sh/docs:
PRs welcome. See CONTRIBUTING.md.
Generated from the plugin's indexed repository (pegasi-ai/reins) — no native marketplace selected
npx claudepluginhub p/pegasi-ai-reinsPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.