command_guard
Enforce .agentpolicy rules before executing commands.
$ 安裝
git clone https://github.com/CheekyCodexConjurer/quant-lab /tmp/quant-lab && cp -r /tmp/quant-lab/.agent-docs/templates/.codex/skills/command_guard ~/.claude/skills/quant-lab// tip: Run this command in your terminal to install the skill
SKILL.md
name: command_guard description: Enforce .agentpolicy rules before executing commands. metadata: short-description: Command safety guard
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.
Repository

CheekyCodexConjurer
Author
CheekyCodexConjurer/quant-lab/.agent-docs/templates/.codex/skills/command_guard
0
Stars
0
Forks
Updated8h ago
Added1w ago