Agent skill

command_guard

Enforce .agentpolicy rules before executing commands.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/command-guard

Metadata

Additional technical details for this skill

short description
Command safety guard

SKILL.md

Purpose

Prevent destructive or risky commands without explicit approval.

Steps

  1. Read .agentpolicy before running commands.
  2. Block denied commands and request confirmation for guarded ones.
  3. Record the decision in the Action Log.

Guardrails

  • Always respect .agentpolicy and .agentignore.

Didn't find tool you were looking for?

Be as detailed as possible for better results