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
- Read
.agentpolicybefore running commands. - Block denied commands and request confirmation for guarded ones.
- Record the decision in the Action Log.
Guardrails
- Always respect
.agentpolicyand.agentignore.
Didn't find tool you were looking for?