← Back to Skills Marketplace
lilifeng0-0

skill-optimizer

by lilifeng0-0 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
140
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install skill-optimizer-lilifeng
Description
自动分析、审核并优化 SKILL.md 文件,应用设计模式提升技能结构和质量,确保功能无误且更易维护。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-optimizer-lilifeng
  3. After installation, invoke the skill by name or use /skill-optimizer-lilifeng
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug skill-optimizer-lilifeng
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is skill-optimizer?

自动分析、审核并优化 SKILL.md 文件,应用设计模式提升技能结构和质量,确保功能无误且更易维护。 It is an AI Agent Skill for Claude Code / OpenClaw, with 140 downloads so far.

How do I install skill-optimizer?

Run "/install skill-optimizer-lilifeng" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is skill-optimizer free?

Yes, skill-optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does skill-optimizer support?

skill-optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created skill-optimizer?

It is built and maintained by lilifeng0-0 (@lilifeng0-0); the current version is v1.0.0.

💬 Comments