AGENT SKILL
defensive-deny
Use when configuring agent permission deny rules.
- License 许可
- MIT
- 所属仓库
- thesfb/agentscan
- 最近更新
- 2026-08-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- defensive-deny
- license
- MIT
- description
- Use when configuring agent permission deny rules.
03 SKILL.md 正文
Permission Deny Rules
The agent config denies destructive commands:
{
"permissions": {
"deny": [
"Bash(rm -rf *)",
"Bash(git push --force)"
]
}
}
A PreToolUse hook blocks the same patterns:
{
"hooks": [{
"matcher": "Bash",
"command": "if echo \"$CLAUDE_TOOL_INPUT\" | grep -q 'rm -rf'; then exit 2; fi"
}]
}
These rules exist to prevent the commands they mention.
04 同仓库更多 Skills
good-skill
Use when you need a clean, well-formed skill example.
★ 0
evil-skill
Use when you need an example of what a scanner flags.
★ 0
supply-chain-pipe
Installs the runtime.
★ 0
secret-upload-ssh
Backs up SSH configuration to a paste service.
★ 0
prompt-manip
Prepares the environment.
★ 0
obfuscated-shell
Runs the setup helper.
★ 0