当前位置: 首页 > Skill >

full scale openclaw skill auditor

full scale openclaw skill auditor

1.0.0 2026.11.26 浏览:244
获取Skill文件查看使用说明
作者:林禾许可证:
本文目录展开

Skill Audit Workflow

Audit a Claude skill from a GitHub repository. Evaluate effectiveness, token usage, time complexity, permissions, safety, and best-practice compliance. Produce a structured audit report.

Step 1: Clone & Extract

Run the clone script with the user-provided GitHub URL:

bash scripts/clone_and_extract.sh <repo-url>

The script outputs JSON listing all SKILL.md files found. If multiple skills exist in the repo, present the list to the user and ask which one(s) to audit.

If the script exits with a non-zero code:

  • Exit 1: Ask the user to provide a valid GitHub URL
  • Exit 2: Check if the repo exists and is public
  • Exit 3: The repo has no SKILL.md files — inform the user

Step 2: Create Output Directory

Create the audit output directory:

audits/<skill-name>-<YYYYMMDD-HHMMSS>/

Write metadata.json with:

{
  "repo_url": "<url>",
  "timestamp": "<ISO 8601>",
  "auditor": "Fenz.AI",
  "skill_name": "<name>",
  "skill_path": "<path within repo>"
}

Step 3: Save Source Files

Copy all files from the skill directory (the directory containing SKILL.md and its subdirectories) into source/ within the output directory. Then clean up the temp clone directory.

Step 4: Analyze

Read references/audit-criteria.md for detailed rubrics. Evaluate each category:

4a. Effectiveness

Read the skill's SKILL.md and evaluate:

  • Description quality (WHAT + WHEN)
  • Trigger clarity and coverage
  • Workflow definition clarity
  • Examples for complex steps
  • Error handling guidance

Rate: Strong / Adequate / Weak

4b. Token Usage

Run the analysis script:

python3 scripts/analyze_tokens.py <source-dir>

Use the JSON output to assess:

  • SKILL.md line count
  • Progressive disclosure usage
  • Total token footprint
  • Category breakdown

Rate: Low / Medium / High

4c. Time Spending

Evaluate the workflow for:

  • Complexity and branching
  • Number of external tool calls
  • User interaction requirements
  • Scope clarity

Rate: Quick / Moderate / Extended

4d. Permissions

Check the skill for:

  • allowed-tools in frontmatter — what tools are requested?
  • Whether each tool is justified by the workflow
  • Destructive tool usage (Bash without restrictions, Write to system paths)
  • Network access scope
  • File system access scope

Flag any red flags. Rate: Minimal / Moderate / Broad

4e. Safety

Evaluate:

  • Does behavior match the description?
  • Network access patterns
  • File scope boundaries
  • Sensitive data handling
  • Input validation (especially for shell commands)

Rate: Low Risk / Medium Risk / High Risk

4f. Recommendations

Read references/skill-best-practices.md and check the skill against each item. Group findings by priority:

  • High: Safety, correctness, major effectiveness issues
  • Medium: Efficiency, maintainability issues
  • Low: Style and convention suggestions

Step 5: Generate Report

Read assets/audit-report-template.md and fill in all template fields with the analysis results. Save as audit-report.md in the output directory.

Include:

  • All six category ratings with detailed explanations
  • Specific evidence from the skill files for each finding
  • Concrete, actionable recommendations
  • Positive observations (what the skill does well)
  • File appendix with token estimates

Step 6: Log Everything

Maintain process-log.md in the output directory. Append each step as it completes:

## [YYYY-MM-DD HH:MM:SS] Step N: <step name>
- Status: success/failed/skipped
- Details: <what happened>
- Errors: <if any>

Step 7: Generate Social Media Posts

Automatically generate posts from the audit report.

  1. Run: python3 ../post-generator/scripts/extract_findings.py <audit-dir>/audit-report.md
  2. Read ../post-generator/references/writing-guide-en.md and ../post-generator/assets/post-template-twitter-en.md
  3. Generate 2-3 English post variations following the guide
  4. Read ../post-generator/references/writing-guide-zh.md and ../post-generator/assets/post-template-twitter-zh.md
  5. Generate 2-3 Chinese post variations (NOT translations — independently crafted)
  6. Save posts-en.md and posts-zh.md in the audit output directory
  7. Log post generation step to process-log.md

Quality rules:

  • Posts must sound human-written, not AI-generated
  • No banned phrases (see writing guides for anti-pattern lists)
  • Fenz.AI mentioned once, naturally, first post only
  • Max 2 hashtags, no emoji spam
  • English: professional/conversational; Chinese: direct/opinionated with full-width punctuation

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,051
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,039
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,027
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,026
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,024
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,021
Skill 文件
  • SKILL.md
    • Skill Audit Workflow
    • Step 1: Clone & Extract
    • Step 2: Create Output Directory
    • Step 3: Save Source Files
    • Step 4: Analyze
      • 4a. Effectiveness
      • 4b. Token Usage
      • 4c. Time Spending
      • 4d. Permissions
      • 4e. Safety
      • 4f. Recommendations
    • Step 5: Generate Report
    • Step 6: Log Everything
    • Step 7: Generate Social Media Posts
  • 项目或源文件

相关 Skill

更多
OpenClaw Skill Auditor OpenClaw Skill Auditor 在安装前,通过模式匹配、反混淆和 LLM 分析扫描 ClawHub 技能,以检测恶意代码、混淆载荷和社工攻击。
PHP CSV 导入表头核对 PHP CSV 导入表头核对 在 PHP 批量导入 CSV 前核对首条记录的表头、字段映射和数据列数。适用于检查后台表格导入缺列、重复列、BOM、空标题或字段错位,并用本地样例复现。
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。