Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Openclaw Agent Optimize

ASecurity

Use when: you want a structured audit -> options -> recommended plan to improve an OpenClaw workspace (cost, model routing, context discipline, delegation, reliability). Don't use when: you want immediate config/cron mutations without review, or the question is unrelated to OpenClaw ops. Output: a prioritized plan with exact change proposals, expected impact, and rollback steps. No persistent changes without explicit approval.

14 stars
0 votes
0 copies
3 views
Added 9/7/2026
businessshellrails

Security Analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned 9/7/2026

$npx -y skills add modbender/skill-library-mcp --skill openclaw-agent-optimize --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Agent Optimize?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Openclaw Agent Optimize
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-agent-optimize/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-agent-optimize)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: openclaw-agent-optimize
slug: openclaw-agent-optimize
version: 1.2.0
license: MIT
description: |
  Use when: you want a structured audit -> options -> recommended plan to improve an OpenClaw workspace
  (cost, model routing, context discipline, delegation, reliability).
  Don't use when: you want immediate config/cron mutations without review, or the question is unrelated to OpenClaw ops.
  Output: a prioritized plan with exact change proposals, expected impact, and rollback steps. No persistent changes without explicit approval.
triggers:
  - optimize agent
  - optimizing agent
  - improve OpenClaw setup
  - agent best practices
  - OpenClaw optimization
metadata:
  openclaw:
    emoji: "🧰"
---

# OpenClaw Agent Optimization

Use this skill to tune an OpenClaw workspace for **cost-aware routing**, **parallel-first delegation**, and **lean context**.

## Quick Start (copy/paste)

1) **Full audit (safe, no changes):**
> Audit my OpenClaw setup for cost, reliability, and context bloat. Output a prioritized plan with rollback notes. Do NOT apply changes.

2) **Context bloat / transcript noise:**
> My OpenClaw context is bloating (slow replies / high cost / lots of transcript noise). Identify the top offenders (tools, crons, bootstrap files) and propose the smallest reversible fixes first. Do NOT apply changes.

3) **Model routing / delegation posture:**
> Propose a model routing plan for (a) coding/engineering, (b) short notifications/reminders, (c) reasoning-heavy research/writing. Include an exact config patch + rollback plan, but do NOT apply changes.

## What you will get

- **Executive summary** (what matters + why)
- **Top offenders / drivers**
  - cost drivers
  - context drivers
  - reliability risks
- **Options A/B/C** (tradeoffs made explicit)
- **Recommended plan** (smallest change first)
- **Exact change proposals** (patch snippets) + **rollback**

## Safety Contract (must follow)

- Treat this skill as **advisory by default**, not autonomous control-plane mutation.
- Do not mutate persistent settings (e.g., config patch/apply) without explicit user approval.
- Do not create/update/remove cron jobs without explicit user approval.
- If an optimization reduces monitoring coverage, present options (A/B/C) and require the user to choose.
- Before any approved persistent change, show: (1) exact change, (2) expected impact, (3) rollback plan.

## Notes (skills + context)

- Some runtimes snapshot skills per session. If you install/update skills and don't see changes, start a new session.
- Prefer short `SKILL.md` + `references/` for long runbooks.

## High-ROI optimization levers (typical wins)

### 1) Output discipline for automation

Make maintenance loops **truly silent on success**.

If your runtime supports the OpenClaw sentinel `NO_REPLY`, emit exactly `NO_REPLY` on success. Otherwise, print nothing on success.

### 2) Separate "do the work" from "notify the human"

If you want alerts but want the interactive session lean:
- send a short out-of-band alert (Telegram/Slack/etc.)
- then keep the job output silent

### 3) Prefer isolated runs for unattended work

If a job should execute *without* requiring attention, prefer isolated/background execution (exact config varies by runtime).

### 4) Hardening & guardrails

- Use scripts-first for complex cron jobs (avoid fragile multi-line shell quoting).
- Add circuit breakers / global locks for heavy jobs.

### 5) Ops hygiene checklist

- Snapshot backups: freshness threshold + retention + failure markers.
- Heartbeat coverage: check model auth, disk/snapshot freshness.
- If you rely on ClawHub publishing/installs: check ClawHub auth (for example `npx clawhub whoami`).

## Workflow (concise)

1. Audit rules + memory: ensure rules are modular/short; memory keeps only restart-critical facts.
2. Model routing: confirm tiered routing (light / mid / deep) matches live config.
3. Context discipline: apply progressive disclosure; move large static data to references/scripts.
   - If transcripts are bloating, run `context-clean-up` (audit-only).
4. Delegation protocol: parallelize independent tasks; use isolated workers for long/noisy work.
5. Heartbeat optimization (control-plane only): propose options A/B/C (coverage vs cost).
6. Execution gate: if user approves changes, apply the smallest viable change first, then verify and report.

## References

- `references/optimization-playbook.md`
- `references/model-selection.md`
- `references/context-management.md`
- `references/agent-orchestration.md`
- `references/cron-optimization.md`
- `references/heartbeat-optimization.md`
- `references/memory-patterns.md`
- `references/continuous-learning.md`
- `references/safeguards.md`

Attribution

modbendermodbender
View sourceSee grades on GitHubMore from modbender →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes

Stock Analysis

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

6511 votes
View all in business →