← 返回 Skills 市场
skill-optimizer
作者
lilifeng0-0
· GitHub ↗
· v1.0.0
· MIT-0
140
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-optimizer-lilifeng
功能描述
自动分析、审核并优化 SKILL.md 文件,应用设计模式提升技能结构和质量,确保功能无误且更易维护。
安全使用建议
This skill is coherent with its stated purpose but has two practical concerns: (1) contradicting trigger/confirmation rules and (2) very broad auto-trigger keywords that may cause unexpected autonomous runs. Before installing, consider: 1) Clarify and tighten trigger behavior — remove or explicitly restrict the 'immediately invoke without user confirmation' clause and require confirmation for non-explicit user requests (file-change, ambiguous mentions). 2) Narrow the trigger keywords (avoid generic terms like 'skill' or 'agent') or add whitelist logic so it only runs when a specific filename or explicit command is used. 3) Require/implement logging, explicit consent prompts, and an easy way to disable auto-triggering. 4) If you follow README install instructions (curl from raw GitHub), verify the source and back up original SKILL.md before applying automated rewrites. If you want, I can suggest specific edits to the SKILL.md to resolve the confirmation/trigger inconsistencies and to add explicit filesystem access declarations and safety gates.
功能分析
Type: OpenClaw Skill
Name: skill-optimizer-lilifeng
Version: 1.0.0
The skill-optimizer bundle is a developer tool designed to analyze and refactor SKILL.md files using standard design patterns (e.g., Pipeline, Generator). It features a structured 4-step workflow in SKILL.md that includes mandatory user confirmation gates before applying changes. While it includes 'auto-trigger' instructions to proactively suggest optimizations when skill files are modified, this behavior is consistent with its stated purpose as a development assistant and does not exhibit signs of data exfiltration, unauthorized execution, or malicious prompt injection.
能力评估
Purpose & Capability
The name/description (optimize SKILL.md) aligns with the SKILL.md runtime instructions: it reads and rewrites SKILL.md content and suggests modularization. The skill declares no env vars, binaries, or install steps (instruction-only), which is proportionate for this purpose. Note: README/INSTALL examples reference downloading SKILL.md from raw GitHub URLs — that is an external installation suggestion but not required by the skill runtime.
Instruction Scope
The SKILL.md mostly stays within scope (read SKILL.md, analyze, propose and generate an optimized SKILL.md). However there are contradictory trigger/confirmation directives: an early section states the skill should be 'immediately proactively invoked (no user confirmation)' on any listed trigger, while Step 1 explicitly requires asking for confirmation for file-change or quality triggers and waiting for user consent before proceeding. This inconsistency grants the skill broad autonomous discretion in some places and a user-confirmation gate in others — ambiguous behavior that may lead to unexpected actions. The SKILL.md also instructs agents to 'load references/ files dynamically' (implying filesystem reads) — reasonable for a refactorer but should be explicit about which paths will be accessed.
Install Mechanism
There is no install spec (instruction-only), which minimizes install-time risk. The README includes manual install commands that curl raw GitHub content — these are optional developer instructions, not an automated install in the skill bundle. If an operator follows those commands, they're downloading code from an external URL; that should be treated like any third-party script download (verify origin and checksum).
Credentials
The skill requests no environment variables, no credentials, and no config paths. That is proportionate to its stated function of analyzing and rewriting SKILL.md files. The only implicit resource access is reading local skill files and writing an optimized SKILL.md output — which matches the purpose but should be made explicit in deployment policies.
Persistence & Privilege
The registry flags show always:false (good), but the skill metadata and text emphasize auto-triggering (auto-trigger: true and 'immediately invoke without user confirmation' language). Autonomous invocation of an instruction that can rewrite SKILL.md files increases blast radius if mis-triggered. Although not permanently installed as 'always', the combination of broad trigger keywords (e.g., 'skill', 'agent') and an auto-trigger policy is a risk for unwanted or frequent activations. Also the SKILL.md contains several places where it expects to 'immediately execute' or 'respond within 5 seconds' — operational demands that may lead to automated runs without sufficient human oversight.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skill-optimizer-lilifeng - 安装完成后,直接呼叫该 Skill 的名称或使用
/skill-optimizer-lilifeng触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of skill-optimizer.
- Adds SKILL.md defining a structured, pattern-based optimization workflow for SKILL.md files.
- Includes README files and an optimization summary.
- Implements automatic triggers for optimization based on user intent, file changes, or quality checks.
- Details a 4-step pipeline for parsing, optimizing, change logging, and validation.
- Documents usage scenarios and targeted improvements for agent skill quality.
元数据
常见问题
skill-optimizer 是什么?
自动分析、审核并优化 SKILL.md 文件,应用设计模式提升技能结构和质量,确保功能无误且更易维护。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 140 次。
如何安装 skill-optimizer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-optimizer-lilifeng」即可一键安装,无需额外配置。
skill-optimizer 是免费的吗?
是的,skill-optimizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
skill-optimizer 支持哪些平台?
skill-optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 skill-optimizer?
由 lilifeng0-0(@lilifeng0-0)开发并维护,当前版本 v1.0.0。
推荐 Skills