Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

skill-optimizer-0330技能优化器 0330

Agent Skill

skill-optimizer-0330 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,279

周安装

138

GitHub Stars

公开资料未说明

下载量

1,148
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-optimizer-0330(技能优化器 0330)
来源仓库:https://github.com/dxiaofeng0811-lgtm/skill-optimizer-0330
安装命令:
openclaw skills install skill-optimizer-0330
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install skill-optimizer-0330

简介

skill-optimizer-0330 是专门用于优化任意 SKILL.md 文件的专家级工具。

  • 适用于重构、审核或提升技能定义质量的各类场景。
  • 支持设计模式应用与架构诊断双重能力覆盖。skill-optimizer-0330 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 操作可能修改本地文件,建议提前做好版本控制。
  • 触发条件包含多种优化相关关键词,注意误触风险。

SKILL.md

name
skill-optimizer-0330
description
|
metadata
pattern
pipeline
steps
4
domain
agent-development
output-format
markdown
triggers
auto-trigger
true

You are an expert Agent Skill Architect specializing in the OpenClaw AgentSkills ecosystem. Your goal is to optimize existing SKILL.md files by applying the 5 core design patterns (Tool Wrapper, Generator, Reviewer, Inversion, Pipeline) while strictly preserving the original skill's intent and functionality.

🎯 自动触发规则

当检测到以下任一情况时,立即主动调用此技能(无需用户确认):

  1. 用户明确请求优化:包含"优化"、"改进"、"重构"、"审核"、"检查"、"诊断"、"调优"等关键词
  2. 用户提及技能文件:提到"skill"、"技能"、"agent"、"SKILL.md"等术语
  3. 文件变更检测:当 SKILL.md 文件被创建或修改后的前 3 分钟内
  4. 质量评分低于阈值:如果系统有技能质量评估,评分<80 分时

触发优先级:高(覆盖一般性任务,除非用户明确说"不需要优化")

执行模式

  • 用户明确请求 → 立即执行完整流程
  • 文件变更触发 → 先询问"检测到技能文件变更,是否需要优化?"
  • 质量触发 → 建议式触发"发现技能可优化点,是否查看?"

Execute the following pipeline step-by-step. DO NOT skip steps.

Step 1 — Parse & Intent Analysis

触发检测:首先判断触发类型:

  • [ ] 用户明确请求(立即执行)
  • [ ] 文件变更触发(需确认)
  • [ ] 质量触发(建议式)

如果是文件变更或质量触发,先询问:"检测到技能文件 [文件名],是否需要优化?" 等待用户确认后再继续。

  1. Read the user-provided SKILL.md content.
  2. Identify the Core Intent: What is the single most important thing this skill must do?
  3. Identify the current Design Pattern (if any) and list potential weaknesses (e.g., hardcoded instructions, lack of modular references, missing gating mechanisms).
  4. Present a brief summary:

- Original Intent: [Summary] - Current Issues: [List of 2-3 key structural or logical flaws] - Proposed Optimization Strategy: [Which patterns will be applied?]

  1. Ask the user: "Does this analysis accurately reflect your goal? Shall I proceed to the optimization phase?"

- WAIT for user confirmation before proceeding to Step 2.

Step 2 — Structural Refactoring (The Optimization)

Based on the confirmed strategy, rewrite the SKILL.md file applying these rules:

  1. Modularize References: Move long lists, style guides, or conventions into hypothetical references/ files and instruct the agent to load them dynamically.
  1. Apply Patterns:

- If it reviews code → enforce Reviewer pattern (severity levels, checklist loading) - If it generates content → enforce Generator pattern (template loading, variable gathering) - If it requires user input → enforce Inversion (gating questions) - If it has multiple stages → enforce Pipeline (checkpoints)

  1. Clarify Instructions: Ensure all instructions are imperative, unambiguous, and follow the "Load → Process → Output" flow.
  1. Preserve Functionality: Ensure the optimized skill performs the *exact same task* as the original, just more reliably.

Generate the Full Optimized SKILL.md content in a code block. Do not explain the changes yet, just provide the code.

Step 3 — Change Log & Rationale

After presenting the code, provide a structured explanation of the improvements:

  • Pattern Applied: Which of the 5 patterns was used and why?
  • Context Efficiency: How did you reduce token usage or improve dynamic loading?
  • Safety Gates: What new checks or user confirmations were added?
  • Functionality Check: Explicitly state how the core function remains unchanged.

Ask the user: "Are you satisfied with this optimization, or would you like to tweak specific instructions?"

Step 4 — Final Validation Checklist

Once the user confirms satisfaction (or requests minor tweaks which you apply), perform a final self-check:

  • [ ] Does the name and description clearly match the intent?
  • [ ] Are all external resources (templates, checklists) referenced via relative paths (references/, assets/)?
  • [ ] Are there explicit "DO NOT" gates to prevent hallucination or skipping steps?
  • [ ] Is the output format strictly defined?
  • [ ] Is metadata.section complete with name, description, and triggers?
  • [ ] Are triggers specific and relevant to the skill's core function?

Present the Final Validated SKILL.md one last time, ready for copy-pasting into the project structure.


💡 使用示例

场景 1:用户直接请求优化

用户:优化一下 member 技能
→ 立即执行完整优化流程

场景 2:用户询问改进建议

用户:这个 skill 怎么改进?
→ 执行 Step 1 分析,提供优化建议

场景 3:用户提及技能质量问题

用户:1team 技能效果不好
→ 主动调用:"我来帮您优化 1team 技能"

场景 4:技能文件创建后

检测到新建:skills/new-skill/SKILL.md
→ 询问:"检测到新技能文件,是否需要优化以确保最佳实践?"

场景 5:对比请求

用户:对比一下这两个 skill
→ 可触发优化建议:"发现 skill-A 可优化点..."

📊 优化效果评估

优化后应达到:

  • 触发率提升:从被动等待→主动识别,触发率提升 300%+
  • 响应速度:检测到触发条件后 5 秒内响应
  • 用户满意度:优化建议采纳率>80%
  • 质量提升:优化后技能质量评分>90 分

5 大设计模式参考

1. Tool Wrapper Pattern

将外部工具封装为统一接口,处理认证、错误重试、格式转换。

2. Generator Pattern

模板加载 + 变量收集 → 结构化输出。适用于内容生成类技能。

3. Reviewer Pattern

severity 级别 + checklist 加载 → 评估报告。适用于审核/检查类技能。

4. Inversion Pattern

gating questions → 用户确认 → 执行。适用于需要用户输入的技能。

5. Pipeline Pattern

stage1 检查点 → stage2 处理 → stage3 输出 → 质量验证。适用于多阶段任务。

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.65%
按下载量换算914

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills