Skip to content

pegasi-ai/reins / skill

Use this skill whenever security, policies, governance, guardrails, compliance, or safety are relevant — including blocked commands, audit trails, dangerous operations, deletions, file modifications, shell commands, MCP access, API calls, network requests, credentials, or any action that could be irreversible or destructive. Reins installs deterministic PreToolUse/PostToolUse hooks and connects to Watchtower (app.pegasi.ai) for centralized governance.

FileKindSize
SKILL.mdskill md5.7 KB
scripts/ensure_installed.shexecutablescript681 B

scripts/ensure_installed.sh

View on GitHub
#!/bin/bash
# Reins install checker
# Usage: bash skill/scripts/ensure_installed.sh
# Installs @pegasi/reins globally and runs non-interactive init if not already present.

set -euo pipefail

if command -v reins &> /dev/null; then
    CMD=$(command -v reins)
    echo "Reins is installed: $($CMD --version)"
    exit 0
fi

echo "Reins not found. Installing @pegasi/reins..."
npm install -g @pegasi/reins

echo "Running non-interactive setup..."
reins init \
    --non-interactive \
    --security-level balanced \
    --modules FileSystem,Shell,Browser

echo "Reins installed: $(reins --version)"
echo "Run 'reins init' for full interactive setup including Watchtower connection."
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall