openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Clawzempic

Lighthouse-style efficiency audit for OpenClaw. Scores your instance A+ to F across 6 categories (context injection, cron health, session bloat, config, skil...

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 410 · 1 current installs · 1 all-time installs

0

安装量(当前) 1

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:anna-claudette/clawzembic

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

This is an internally coherent, instruction-first OpenClaw audit tool that reads your OpenClaw directories and can run remotely via SSH; nothing in the provided files requests unrelated credentials or installs external code, but you should review the remaining code paths (especially --fix behavior) before running it on production data.

目的

Name/description match the implementation: scripts scan .openclaw workspace, agents, and cron stores to produce an efficiency score. Required binary (python3) and declared zero-deps are consistent with the Python stdlib implementation.

说明范围

SKILL.md and the scripts instruct the agent to read files under the OpenClaw install (workspace files, agent session stores, cron job JSON, transcripts). That is necessary for an audit, but these files can contain sensitive data (transcripts, session content). The remote mode streams the audit script over SSH and executes it on the target, which is expected for remote auditing but means the script will run with the remote user's privileges and…

安装机制

No installation step or third-party downloads. The skill is instruction-first with bundled scripts; nothing writes or fetches code from external URLs during install.

证书

No environment variables or credentials are required. The script optionally respects OPENCLAW_DIR to target a custom path. There are no requests for unrelated cloud/API keys or system secrets in the provided code.

持久

always:false and no evidence of the skill modifying other skills or system-wide agent settings. However the tool exposes a --fix mode (passed from the bash wrapper to the Python script) that may perform remediation; README claims fixes require confirmation but the wrapper simply forwards the flag. You should confirm how --fix behaves (dry-run vs destructive) before running it, especially on production instances.

综合结论

This skill appears to do what it claims: auditing OpenClaw directories and optionally running on a remote host via SSH. Before installing or running it on production data: 1) Review the remainder of lean-report.py (the audit logic beyond the truncation) to confirm there are no network calls, hidden endpoints, or code that exfiltrates files. 2) Test in a staging environment and run with --json or a dry-run to inspect outputs before using --fix.…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Clawzempic」。简介:Lighthouse-style efficiency audit for OpenClaw. Scores your instance A+ to F ac…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/anna-claudette/clawzembic/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
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.