skill-warden

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Skill Warden

Skill Warden

"Trust, but verify."
With a repository containing over 100+ highly specialized agent skills, technical debt and security risks become non-trivial. Skill Warden automates the health and security audits of the
skills/
directory.
“信任,但要验证。”
当仓库中包含100+高度专业化的Agent技能时,技术债务和安全风险将变得不容忽视。Skill Warden可自动对
skills/
目录进行健康与安全审计。

Core Directives

核心功能

  1. Dead Skill Detection: Scans for skills that haven't been invoked in the last 30 days or lack proper
    SKILL.md
    formatting.
  2. Security Auditing: Parses shell commands embedded in skills. Flags any usage of destructive flags (e.g.,
    rm -rf
    ,
    --delete
    with
    rsync
    ) or unauthorized external API calls.
  3. Conflict Resolution: Identifies duplicate trigger phrases across different skills.
  4. Grading Matrix: Assigns a health score (0-100) to each skill based on documentation completeness, deterministic behavior, and safety constraints.
  1. 失效技能检测:扫描过去30天内未被调用的技能,或格式不符合规范的
    SKILL.md
    文件。
  2. 安全审计:解析技能中嵌入的Shell命令。标记任何使用破坏性参数(如
    rm -rf
    rsync
    --delete
    参数)或未授权外部API调用的情况。
  3. 冲突解决:识别不同技能间重复的触发短语。
  4. 评分矩阵:根据文档完整性、行为确定性和安全约束,为每个技能分配0-100分的健康评分。

Usage

使用方法

When invoked via "Run Skill Warden" or "Audit my skills":
  1. Recursively read all
    SKILL.md
    files.
  2. Generate a
    skill_audit_report.md
    artifact detailing warnings, critical errors, and a list of deprecated skills.
  3. Await user confirmation before attempting auto-fixes or deletion of dead skills.
当通过“Run Skill Warden”或“Audit my skills”调用时:
  1. 递归读取所有
    SKILL.md
    文件。
  2. 生成
    skill_audit_report.md
    报告文件,详细列出警告、严重错误以及已废弃技能列表。
  3. 在尝试自动修复或删除失效技能前,等待用户确认。