← Back to Skills Marketplace
rampagepeter

skill-optimizer

by rampagepeter · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
650
Downloads
0
Stars
9
Active Installs
1
Versions
Install in OpenClaw
/install skill-optimizer
Description
Analyzes AI conversation logs to evaluate skill performance and generate optimization suggestions. Use when user mentions "优化技能", "迭代技能", "skill optimization...
Usage Guidance
This skill can analyze logs and will offer concrete edits — including directly editing another skill's SKILL.md after you confirm. Before installing or invoking it: 1) Be sure you trust the skill author and back up any skills you permit it to modify (export or copy SKILL.md). 2) Never provide paths to system or sensitive files; only point it at the specific skill files you want changed. 3) Require the agent to show a diff and ask for an additional explicit approval step before any write is performed. 4) Prefer running it in a sandbox or repository copy rather than letting it edit production skill files. 5) If you need assurance, ask the author to declare required config paths/permissions and to include a dry-run mode that outputs changes without writing them.
Capability Analysis
Type: OpenClaw Skill Name: skill-optimizer Version: 1.0.0 The `SKILL.md` file contains instructions that pose significant security risks. Specifically, Phase 1 instructs the AI agent to "读取文件" (read file) based on user-provided paths, creating a Local File Inclusion (LFI) vulnerability. Furthermore, Phase 4 instructs the agent to "直接修改目标技能的 SKILL.md" (directly modify the target skill's SKILL.md), granting arbitrary file write capabilities to skill definitions. These explicit instructions to perform file system operations based on user input represent a direct prompt injection surface, allowing potential attackers to read sensitive files and inject malicious instructions into other skills for persistence or privilege escalation.
Capability Assessment
Purpose & Capability
The SKILL.md expands the published description by adding an active modification step: after producing suggestions it will '直接修改目标技能的 SKILL.md' (directly edit the target skill's SKILL.md). The registry-level description presented to users did not clearly state this write behavior, so the skill's capabilities are broader than its top-level description suggests.
Instruction Scope
Runtime instructions explicitly tell the agent to: read conversation text (or read files from user-supplied paths), discover and read the target skill's SKILL.md, and—after user confirmation—directly modify that SKILL.md. Reading arbitrary file paths and writing to other skill files are high-scope actions that may touch unrelated or sensitive files if misused. The SKILL.md does require user confirmation before edits, but the ability to edit other skills is central and potentially dangerous.
Install Mechanism
Instruction-only skill with no install spec, no downloaded code, and no binaries. This minimizes supply-chain risk.
Credentials
The skill requests no environment variables or credentials, which superficially seems safe. However, the instructions rely on filesystem access to read arbitrary file paths and to modify other skills' SKILL.md files—access that is not declared in 'required config paths' or metadata. This mismatch between declared requirements and actual file read/write behavior is concerning.
Persistence & Privilege
The skill is not always-enabled (always: false), and it asks for user confirmation before making edits, which reduces autonomous risk. Nonetheless, it explicitly modifies other skills' files (SKILL.md), which is a permission beyond typical read-only analysis. The registry metadata does not declare or limit this write privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-optimizer
  3. After installation, invoke the skill by name or use /skill-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
skill-optimizer 1.0.0 - Initial release of the skill-optimizer. - Analyzes AI conversation logs to evaluate skill performance, comparing real interactions with design intent. - Generates actionable optimization reports with prioritized suggestions for SKILL.md improvements. - Supports analysis across trigger accuracy, workflow execution, output quality, user interaction, and instruction effectiveness. - Guides users through report confirmation and assists with direct SKILL.md modifications based on approved suggestions.
Metadata
Slug skill-optimizer
Version 1.0.0
License
All-time Installs 9
Active Installs 9
Total Versions 1
Frequently Asked Questions

What is skill-optimizer?

Analyzes AI conversation logs to evaluate skill performance and generate optimization suggestions. Use when user mentions "优化技能", "迭代技能", "skill optimization... It is an AI Agent Skill for Claude Code / OpenClaw, with 650 downloads so far.

How do I install skill-optimizer?

Run "/install skill-optimizer" 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 (open-source). 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 rampagepeter (@rampagepeter); the current version is v1.0.0.

💬 Comments