Back to skills
SkillHub ClubShip Full StackFull Stack

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.

Stars
3,127
Hot score
99
Updated
March 20, 2026
Overall rating
C5.0
Composite score
5.0
Best-practice grade
B78.7

Install command

npx @skill-hub/cli install openclaw-skills-clawzembic

Repository

openclaw/skills

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 repository

Best 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

Claude CodeCodex CLIGemini CLIOpenCode

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": []
}

```

clawzembic | SkillHub