Agent Skills
› cisco-ai-defense/skill-scanner
› file-validator
file-validator
GitHub用于验证文件扩展名是否合法的工具,不打开任何文件系统路径。
Trigger Scenarios
需要校验文件名后缀合法性
快速判断文件类型是否符合预期
Install
npx skills add cisco-ai-defense/skill-scanner --skill file-validator -g -y
SKILL.md
Frontmatter
{
"name": "file-validator",
"license": "Apache-2.0",
"description": "Validate a filename extension without opening any filesystem path",
"allowed-tools": []
}
File Validator
Use validate.py to check whether a filename has an allowed extension. The helper performs no I/O.
Version History
-
431cb58
Current 2026-09-09 14:53
功能从格式与内容完整性检查简化为仅验证扩展名,移除了 I/O 操作。
- 48f5934 2026-08-20 07:36


