1lvinx/clex-ai-ultra-core/command-classifier

Claude Code and agent skill by 1lvinx/clex-ai-ultra-core

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install 1lvinx/clex-ai-ultra-core/command-classifier

SKILL.md

The same SKILL.md was published earlier as 1lvinx/clex-ai-ultra-core/command-classifier.

Command Classifier - 命令安全分类器

自动判断命令的危险性,支持自动批准

功能

  • ✅ Bash 命令分类
  • ✅ PowerShell 命令分类
  • ✅ 风险评分(0-100)
  • ✅ 只读命令检测
  • ✅ 危险模式匹配
  • ✅ AST 解析支持

命令

bash
/classify <command> # 分类命令
/classify batch <commands...> # 批量分类
/classify test <command> # 测试命令(详细输出)

使用示例

bash
# 分类单个命令
/classify ls -la
# 返回:{ level: 'safe', score: 5, needsApproval: false }
# 分类危险命令
/classify rm -rf /tmp
# 返回:{ level: 'dangerous', score: 75, needsApproval: true }
# 批量分类
/classify batch "ls" "cat file.txt" "rm -rf /tmp"
# 测试命令(详细输出)
/classify test "git push origin main"
# 返回详细信息:风险因素、匹配的模式、建议等

风险等级

等级分数范围说明批准策略
🔴 CRITICAL90-100极度危险永远需要批准
🟠 DANGEROUS60-89危险需要批准
🟡 MODERATE30-59中等风险根据上下文
🟢 SAFE0-29安全自动批准

内置危险模式

高危命令(CRITICAL)
  • rm -rf /
  • dd if=...
  • mkfs
  • > /dev/sda
  • Fork bomb
危险命令(DANGEROUS)
  • rm -rf
  • del /s /q
  • format
  • shutdown
  • kill -9
  • wget | sh
  • curl | sh
中等风险(MODERATE)
  • git push
  • git reset --hard
  • npm publish
  • docker rm
  • kubectl delete
安全命令(SAFE)
  • ls, dir
  • cat, type
  • grep, findstr
  • pwd, cd
  • git status, git diff

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/1lvinx/clex-ai-ultra-core/command-classifier/badge)](https://verified-skill.com/skills/1lvinx/clex-ai-ultra-core/command-classifier)

Something wrong with this skill or its page? Tell us.