Agent skill
command_guard
Enforce .agentpolicy rules before executing commands.
Install this agent skill to your Project
npx add-skill https://github.com/CheekyCodexConjurer/quant-lab/tree/main/.codex/skills/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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
action_logger
Keep an audit trail of changes, commands, and verification.
size_guard
Enforce line budgets and rotate or split large context files.
analyze_repo_capabilities
Detect repo tooling and patterns, then record a dynamic manifest.
safety_validation
Validate changes against .agentignore before commit.
safe_refactor_migration
Plan and execute large refactors with shadow mode and rollback.
command_guard
Enforce .agentpolicy rules before executing commands.
Didn't find tool you were looking for?