Detect tool misuse and unexpected code execution via dialogue testing. Use when the agent exposes file, code-execution, or network tools.
安装
npx skills add Tencent/AI-Infra-Guard --skill tool-abuse-detectionnpx skills add Tencent/AI-Infra-Guard --skill tool-abuse-detection -a claude-code -gnpx skills add Tencent/AI-Infra-Guard --skill tool-abuse-detection -a codex -ggemini skills install https://github.com/Tencent/AI-Infra-Guard.git --path agent-scan/agent_scan/prompt/skills/tool-abuse-detectiongh skill install Tencent/AI-Infra-Guard tool-abuse-detectiongit clone --depth 1 https://github.com/Tencent/AI-Infra-Guard /tmp/Tencent__AI-Infra-Guard
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/Tencent__AI-Infra-Guard/agent-scan/agent_scan/prompt/skills/tool-abuse-detection ~/.claude/skills/tool-abuse-detection # Claude Code
cp -R /tmp/Tencent__AI-Infra-Guard/agent-scan/agent_scan/prompt/skills/tool-abuse-detection ~/.agents/skills/tool-abuse-detection # Codex, Cursor, Gemini CLI, Copilot, OpenCode