clawzembic
Lighthouse-style efficiency audit for OpenClaw. Scores your instance A+ to F across 6 categories (context injection, cron health, session bloat, config, skills, transcripts). Identifies wasted tokens, bloated sessions, misconfigured crons, and model right-sizing opportunities. Zero dependencies (Python stdlib only).
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install openclaw-skills-clawzembic
Repository
Skill path: skills/anna-claudette/clawzembic
Lighthouse-style efficiency audit for OpenClaw. Scores your instance A+ to F across 6 categories (context injection, cron health, session bloat, config, skills, transcripts). Identifies wasted tokens, bloated sessions, misconfigured crons, and model right-sizing opportunities. Zero dependencies (Python stdlib only).
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: openclaw.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install clawzembic into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/openclaw/skills before adding clawzembic to shared team environments
- Use clawzembic for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: clawzembic
description: Lighthouse-style efficiency audit for OpenClaw. Scores your instance A+ to F across 6 categories (context injection, cron health, session bloat, config, skills, transcripts). Identifies wasted tokens, bloated sessions, misconfigured crons, and model right-sizing opportunities. Zero dependencies (Python stdlib only).
metadata:
openclaw:
emoji: "π"
requires:
anyBins: ["python3"]
tags:
- audit
- optimization
- efficiency
- diagnostics
- performance
---
# Clawzembic β Weight Loss for Your OpenClaw Instance
**Lighthouse-style audit for OpenClaw efficiency.** Run it, get a grade (A+ to F), shed the bloat.
Scans your installation and scores it across six critical categories: context injection, cron health, session bloat, config health, skill bloat, and transcript size. You get one overall letter grade plus category-by-category breakdown with actionable findings.
**Zero dependencies.** Python 3.8+ stdlib only.
## Quick Start
```bash
# Audit this machine
bash skills/clawzembic/lean-audit.sh
# Audit a remote instance (VM, etc.)
bash skills/clawzembic/lean-audit.sh --remote user@host
# JSON output for dashboards/integrations
bash skills/clawzembic/lean-audit.sh --json
# Show automated fix suggestions
bash skills/clawzembic/lean-audit.sh --fix
# Custom .openclaw directory
bash skills/clawzembic/lean-audit.sh --dir /path/to/.openclaw
```
## What It Checks
| Category | Weight | What Gets Flagged |
|----------|--------|-------------------|
| Context Injection | 25% | Oversized MEMORY.md, bloated workspace files eating tokens |
| Cron Health | 25% | Wrong models, high thinking on routine tasks, main-session pollution |
| Session Bloat | 20% | Stale sessions hogging context, waste ratio above 35% |
| Config Health | 15% | Heartbeat too frequent, subagent defaults, missing compaction |
| Skill Bloat | 10% | Too many skills injected, unused skills inflating system prompt |
| Transcript Size | 5% | Disk hogs, oversized transcripts (>10MB files) |
## Grade Scale
- **A+/A** (90-100): Lean machine πͺ
- **B+/B** (75-89): Good shape, minor tweaks
- **C+/C** (60-74): Needs a diet π
- **D+/D** (45-59): Significant bloat π«
- **F** (<45): Emergency Clawzembic needed π
## Agent Usage
When Jeffrey asks you to audit or optimize an OpenClaw instance:
1. Run `bash skills/clawzembic/lean-audit.sh` (or `--remote user@claudette` for the VM)
2. Review the report and present key findings with context
3. Offer `--fix` mode for automated remediation if score < 75
For remote instances, ensure SSH key-based auth is configured. The skill uses SSH to execute the audit remotely β no agent installation needed on the target.
---
## Skill Companion Files
> Additional files collected from the skill directory layout.
### README.md
```markdown
# π Clawzempic
**Weight Loss for Your OpenClaw Instance**
A Lighthouse-style audit for OpenClaw efficiency. Run it, get a grade (A+ to F), and shed the bloat.
## What It Does
Clawzempic scans your OpenClaw installation and scores it across six critical efficiency categories. Think of it as a health checkup for your AI assistant β identifying wasted tokens, bloated sessions, misconfigured crons, oversized context injection, and opportunities to right-size your models.
You get:
- **One letter grade** (A+ to F) summarizing overall health
- **Category-by-category breakdown** with weighted scoring
- **Actionable findings** β exactly what's bloated and why
- **Optional fix mode** β automated remediation suggestions
## Audit Categories
| Category | Weight | What Gets Flagged |
|----------|--------|-------------------|
| **Context Injection** | 25% | Oversized MEMORY.md, bloated workspace files eating tokens on every session init |
| **Cron Health** | 25% | Wrong models (Opus for routine tasks), high thinking on simple jobs, main-session pollution |
| **Session Bloat** | 20% | Stale sessions hogging context, waste ratio, sessions running at 40%+ capacity |
| **Config Health** | 15% | Heartbeat too frequent, subagent defaults, missing compaction/pruning |
| **Skill Bloat** | 10% | Too many skills injected into system prompt, unused skills |
| **Transcript Size** | 5% | Disk hogs, oversized transcripts (>10MB files) |
## Grade Scale
- **A+/A** (90-100): Lean machine πͺ
- **B+/B** (75-89): Good shape, minor tweaks
- **C+/C** (60-74): Needs a diet π
- **D+/D** (45-59): Significant bloat π«
- **F** (<45): Emergency Clawzembic needed π
## Quick Start
```bash
# Audit this machine
bash skills/clawzembic/lean-audit.sh
# Audit a remote instance (VM, etc.)
bash skills/clawzembic/lean-audit.sh --remote user@host
# JSON output for dashboards/integrations
bash skills/clawzembic/lean-audit.sh --json
# Show automated fix suggestions
bash skills/clawzembic/lean-audit.sh --fix
# Custom .openclaw directory
bash skills/clawzembic/lean-audit.sh --dir /path/to/.openclaw
```
## Requirements
**Zero external dependencies.** Python 3.8+ stdlib only. Works anywhere OpenClaw runs.
## Installation
**Via ClawHub:**
```bash
clawhub install clawzempic
```
**Manual:**
```bash
cd ~/.openclaw/workspace/skills
git clone https://clawhub.io/skills/clawzempic.git
```
> **Note:** The skill directory is named `clawzembic` (typo during development), but the official ClawHub slug is **`clawzempic`** (correct spelling, like Ozempic). Install via ClawHub to get the correct slug.
## Agent Usage
When Jeffrey asks for an audit or optimization report:
1. Run `bash skills/clawzembic/lean-audit.sh` (or `--remote user@claudette` for the VM)
2. Review the report and present key findings
3. Offer `--fix` mode for automated remediation if score < 75
For remote instances, ensure SSH key-based auth is configured.
## What It Won't Do
Clawzempic is **read-only** by default. It:
- β Won't modify files, sessions, or config (unless you use `--fix` with confirmation)
- β Won't delete transcripts or prune sessions automatically
- β Won't change cron jobs or gateway config
It shows you the problem. You decide the fix.
## Example Output
```
π Clawzembic Audit Report
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Overall Score: 72/100 Grade: C
π Context Injection (25% weight) β 65/100 C+
β Workspace files total 21,450 bytes (20KB) β could be leaner
β MEMORY.md: 12,300 bytes β could be trimmed
β AGENTS.md: 4,200 bytes
π‘ Cron Health (25% weight) β 78/100 B
βΉ Cron jobs: 12 enabled, 3 disabled
β [daily-cleanup] uses default model (likely Opus) β consider Sonnet
β [security-patrol] model=opus thinking=high β
π Session Bloat (20% weight) β 62/100 C
βΉ Sessions: 8 total, 3 stale/bloated, waste ratio: 35%
β agent:main:data-sync: 42% (84,000 tokens) β bloated
β
Config Health (15% weight) β 92/100 A
β Heartbeat every 120m β
β Compaction: safeguard mode β
π‘ Skill Bloat (10% weight) β 77/100 B
βΉ Skills: 14 custom + 8 built-in = 22 total
βΉ Estimated system prompt cost: ~3,300 tokens per session
β
Transcript Size (5% weight) β 88/100 B+
βΉ Transcripts: 47 files, 67.2MB total
β Transcript storage: 67.2MB β reasonable β
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Needs a diet. Run with --fix for recommendations. π
```
## License
MIT License β Copyright 2026 Jeffrey Deming
## ClawHub
Published at [clawhub.io/skills/clawzempic](https://clawhub.io/skills/clawzempic)
---
*Keep your instance lean. Run Clawzempic monthly.*
```
### _meta.json
```json
{
"owner": "anna-claudette",
"slug": "clawzembic",
"displayName": "Clawzempic",
"latest": {
"version": "1.0.0",
"publishedAt": 1771767130460,
"commit": "https://github.com/openclaw/skills/commit/f40517af4fd6a17182eddd8d89555814ef07da84"
},
"history": []
}
```