返回顶部
s

skill-checker技能检查器

Audit a target SKILL.md against the Agent Skills specification and generate a Chinese HTML report. Use when the user asks to check, audit, review, or optimize a SKILL.md file, verify whether a skill file follows specification rules, identify severe or warning issues, or produce a shareable compliance report for a SKILL.md path or a skill directory path.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
153
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

skill-checker

技能检查器

仅检查 SKILL.md。

当用户明确要求检查、审计、审查或优化 SKILL.md 文件时使用此技能。

接受 SKILL.md 路径或技能目录路径。如果输入是目录,则在运行任何检查前解析其中的 SKILL.md。
直接支持绝对路径。审计当前工作区之外的技能时,优先使用绝对路径。

运行检查脚本(PowerShell):

powershell

自动定位此技能目录(即使从其他文件夹运行也可用)


$SkillDir = Split-Path -Parent $MyInvocation.MyCommand.Path
Set-Location $SkillDir

运行

python .\scripts\check_skill.py <目标路径> [--out <报告路径>]

使用绝对路径的示例:

powershell
$SkillDir = Split-Path -Parent $MyInvocation.MyCommand.Path
Set-Location $SkillDir
python .\scripts\check_skill.py C:\path\to\skill\SKILL.md --out .\reports\skill-report.html

将生成的 HTML 报告作为主要输出。在最终回复中总结整体结果、严重问题数量以及最高优先级的修复项。

检查内容

根据代理技能规范验证目标 SKILL.md:

  1. 1. 确认 YAML 前置元数据存在且可解析。
  2. 确认必填字段如 name 和 description 存在。
  3. 验证可选规范字段(若存在)。
  4. 检查 name 是否与可推断的技能目录名称匹配。
  5. 审查 description 是否说明了技能的功能及使用时机。
  6. 审查正文是否包含足够的可操作指南,以帮助其他代理执行该技能。

将规范违规视为严重问题。

将明显的语义失败也视为严重问题,包括:

  • - 描述过于简短或模糊,无法支持触发
  • 正文几乎为空或未提供可操作指南

将组织较弱或指导不足视为警告。

当严重问题数量为 2 或更多时,返回失败结果。否则返回通过结果。

报告

始终向用户指明生成的 HTML 报告路径,尤其是当目标技能位于当前仓库之外时。

总结结果时:

  1. 1. 说明结果是通过还是失败。
  2. 提及严重问题数量和警告数量。
  3. 指出用户应优先修复的问题。

参考资料

当需要此技能使用的确切规则和严重程度映射时,请阅读 references/specification-checklist.md。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 skill-checker-1776096130 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 skill-checker-1776096130 技能

通过命令行安装

skillhub install skill-checker-1776096130

下载

⬇ 下载 skill-checker v1.0.1(免费)

文件大小: 17.82 KB | 发布时间: 2026-4-14 14:10

v1.0.1 最新 2026-4-14 14:10
- Updated version to 1.0.1.
- Clarified usage instructions and improved PowerShell example scripts in documentation.
- Updated reporting guidance to use clear "passing" or "failing" terminology instead of Chinese terms.
- Fixed and modernized README and SKILL.md to provide clearer instructions and reduce ambiguity.
- No core checker logic changes; improvements focus on usability and documentation clarity.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部