Mod Guard — Development skill for Claude Code
Inspect guardrails policy, initialize a stack preset, dry-run POSIX AST bash safety checks, or view loop/lock diagnostics.
How to install Mod Guard
Installs to ~/.claude/skills/alex-caepio-ai-infra-mod-mod-guard/SKILL.md
mkdir -p ~/.claude/skills/alex-caepio-ai-infra-mod-mod-guard && curl -fsSL https://raw.githubusercontent.com/Alex-Caepio/ai-infra-mod/HEAD/commands/mod-guard.md -o ~/.claude/skills/alex-caepio-ai-infra-mod-mod-guard/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Mod Guard does
name: mod-guard description: Inspect guardrails policy, initialize a stack preset, dry-run POSIX AST bash safety checks, or view loop/lock diagnostics. argument-hint: "\"[check |init |loops|status]\""
Run execution safety diagnostics for `$ARGUMENTS` via `guardrails_*` MCP tools.
**Important**: Pass explicit `root: ""` unless `AI_INFRA_ROOT` is configured.
- Call
guardrails_inspect_policy(root: "") andguardrails_loop_status(`root: "<repo-ro
Alternatives in Development
- Package OfficeCLI Skill As AionUi Assistant — Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one 20.3k ★
- Doctor — Environment diagnostics with interactive fixes — providers, auth, RTK, hooks, token optimization 2.8k ★
- MCP Language Server — mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, a 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claude Code Pwsh Guard
Claude Code hook pack that stops the agent firing Bash-only syntax at a Windows PowerShell session. Detects ex
Port
Translate scripts between bash, POSIX sh, zsh, PowerShell, and Python
Joinery
The linker for agent skill stacks: extract each skill's implicit CLI/MCP/client-feature dependencies, dry-fit
Inspect Hls
Parse an HLS .m3u8 manifest (raw text or authorized URL) for bitrates, codecs, duration, encryption, and diagn
Guard
Safety guardrails — blocks destructive commands (rm -rf, DROP TABLE, force-push) and optionally restricts edit
Matcha:On
🍵 Enable matcha governance and safety guardrails
Related Agents
Audit Discovery
Evidence-backed audit ticket discovery. Use to inspect code/logs, initialize the audit workflow, and create DR
Initialize Engagement At The Start
findings.sh init " " --client " " --type " " --scope " " findings.sh stats bash db/handoff.sh handoff_report.m
Shell Scripting Pro
Write robust shell scripts with proper error handling, POSIX compliance, and automation patterns. Masters bash