← Back to Skills Marketplace
Self Optimizer
by
austindixson
· GitHub ↗
· v0.1.0
448
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install self-optimizer
Description
Analyzes OpenClaw logs, chat history, and the .openclaw installation to propose self-improvement and optimization suggestions. Use when optimizing or auditin...
Usage Guidance
This skill appears to do what it says (parse logs and analyze chat history). Before installing or running it, review the full script (the provided file was truncated in the listing) to confirm there are no network exfiltration calls or subprocess launches in later code. Only run it from a trusted location and in a controlled environment because it will read local files such as gateway.log, openclaw.log, and potentially openclaw.json — these can contain API keys and other secrets. If you plan to run it, either (1) run it on a copy of the logs/configs with secrets redacted, (2) inspect the entire source code for any outbound network I/O or unexpected writes, or (3) run it in a sandboxed environment. If you need higher assurance, ask the author for a full source audit or for the missing/truncated portion of the script before proceeding.
Capability Analysis
Type: OpenClaw Skill
Name: self-optimizer
Version: 0.1.0
The skill is designed for legitimate diagnostic purposes, analyzing OpenClaw logs and chat history. However, the `scripts/self_optimizer.py` script contains a local file inclusion (LFI) vulnerability. The `--chat-history-file` argument allows the script to read and parse any JSON file on the filesystem, which could be exploited by a malicious prompt to the agent to exfiltrate sensitive configuration or credential files if they are in JSON format and accessible to the agent.
Capability Assessment
Purpose & Capability
The name/description (analyze logs, chat history, and .openclaw installation) matches the included Python script which reads gateway.log and openclaw.log and performs chat-history analysis. No unrelated services, binaries, or credentials are requested.
Instruction Scope
The SKILL.md and script explicitly instruct/implement reading local logs and (planned) scanning of openclaw.json and other installation files. This is coherent with the purpose, but these files can contain sensitive information (API keys, tokens, etc.). The script as shown parses timestamps and searches for patterns and emits suggestions; it does not, in the visible portion, transmit data externally or modify other skills.
Install Mechanism
There is no install specification (instruction-only skill with an included script). Nothing is downloaded or written to disk by an installer, which reduces installation risk.
Credentials
The skill requires no environment variables or external credentials, which is proportionate. However, because it reads local config files (planned openclaw.json, MEMORY.md, skill configs), it may access sensitive secrets stored there — this is expected for its purpose but worth caution.
Persistence & Privilege
The skill is not always-enabled and uses normal agent invocation rules. It does not request persistent system privileges or modify other skills according to the provided files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install self-optimizer - After installation, invoke the skill by name or use
/self-optimizer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of Self Optimizer.
- Analyzes OpenClaw logs (gateway.log, openclaw.log) for errors, restarts, and performance metrics.
- Suggests actionable improvements for performance, stability, and development.
- Command-line analysis available via `self_optimizer.py analyze [--json]`.
- Future plans include chat history review and root folder scanning for deeper insights.
Metadata
Frequently Asked Questions
What is Self Optimizer?
Analyzes OpenClaw logs, chat history, and the .openclaw installation to propose self-improvement and optimization suggestions. Use when optimizing or auditin... It is an AI Agent Skill for Claude Code / OpenClaw, with 448 downloads so far.
How do I install Self Optimizer?
Run "/install self-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Self Optimizer free?
Yes, Self Optimizer is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Self Optimizer support?
Self Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Self Optimizer?
It is built and maintained by austindixson (@austindixson); the current version is v0.1.0.
More Skills