# Self Optimizer

> Analyzes OpenClaw logs, chat history, and the .openclaw installation to propose self-improvement and optimization suggestions. Use when optimizing or auditing OpenClaw setup.

- Skill: `modbender/self-optimizer` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add modbender/self-optimizer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/modbender/self-optimizer/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: modbender (https://skillmd.com/u/modbender)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/modbender/self-optimizer

---


# Self Optimizer

Analyzes OpenClaw logs, chat history, and the .openclaw local root installation folder to propose self-improvement and optimization suggestions.


## Commands

- `self_optimizer.py analyze [--json]` - Runs the analysis and suggests improvements.


## Features

- **Log Analysis**: Scans `gateway.log` and `openclaw.log` for errors, restarts, and performance metrics.
- **Chat History Analysis (Planned)**: Identifies recurring issues, common requests, or areas of confusion from chat transcripts.
- **Root Folder Scan (Planned)**: Examines `openclaw.json`, skill configurations, and `MEMORY.md` for optimization opportunities.
- **Recommendations**: Provides actionable suggestions for performance, stability, and new skill development.

