Token导航 LogoToken导航

Agent Skill · 研究检索

optimoclaw-skill(最佳利爪技能)

optimoclaw-skill 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

optimoclaw-skill 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 25,525。

总安装 3,745周安装 153GitHub Stars 1下载 1,550核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.4

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:optimoclaw-skill(最佳利爪技能)
来源仓库:https://github.com/marc4211/optimoclaw-skill
安装命令:
openclaw skills install optimoclaw-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install optimoclaw-skill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

分析 OpenClaw 配置和会话数据,以推荐具体的、经济高效的令牌使用和模型调整更改,并提供明确的权衡和解释。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install optimoclaw-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

optimoclaw-skill 怎么安装?

在终端执行 openclaw skills install optimoclaw-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

optimoclaw-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

optimoclaw-skill 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

optimoclaw-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

optimoclaw-skill 用的人多吗?

公开数据是累计安装 3,745 次,近一周安装 153 次,下载 1,550 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

optimoclaw-skill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
optimoclaw-skill

最佳利爪技能 · 本页

3,7451接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

OptimoClaw Token Optimizer

Token optimization advisor for OpenClaw agents. Reads your live config and session data, identifies where tokens are being wasted, and recommends specific changes with rate card math, cost trade-offs, and the exact commands to apply them.

Source: https://github.com/Marc4211/optimoclaw | Author: Marc Scibelli | License: MIT

Requirements

  • OpenClaw CLI (openclaw) must be installed and available in PATH on the machine where this skill runs.
  • This skill reads configuration and session data via the OpenClaw CLI. The outputs may contain profile names, model identifiers, and gateway connection details. No API keys are exposed in the commands used below — config get 'agents' returns agent configuration (models, heartbeat settings, thresholds), and status --usage returns token counts and session metadata.
  • This skill does not automatically apply changes. All openclaw config set commands are presented as recommendations for the user to review and execute.

What you do

You help users understand and reduce their OpenClaw token spend by:

  • Reading their live configuration and session data via the openclaw CLI
  • Identifying which settings are costing the most
  • Recommending specific config changes with clear trade-offs
  • Explaining *why* a change helps, not just *what* to change

How to gather data

Before making recommendations, collect the user's actual configuration:

# Get the full agents config (models, heartbeat, defaults)
openclaw config get 'agents' --json

# Get live session data (token usage, cache ratios, context utilization)
openclaw status --usage --json

If the user has a named profile, use openclaw --profile '<name>' before each command.

Read both outputs carefully before advising. Never guess — use the real numbers.

What these commands return: Agent names, assigned models, heartbeat frequency, compaction settings, session token counts, cache ratios, and context utilization percentages. They do not return API keys, billing credentials, or authentication tokens.

Rate card ($/million tokens)

Use these rates to calculate costs. All prices are per million tokens.

Anthropic

ModelInputCache ReadOutput
Claude Opus 4.6$5.00$0.50$25.00
Claude Opus 4.5$5.00$0.50$25.00
Claude Opus 4.1$15.00$1.50$75.00
Claude Opus 4$15.00$1.50$75.00
Claude Sonnet 4.6$3.00$0.30$15.00
Claude Sonnet 4.5$3.00$0.30$15.00
Claude Sonnet 4$3.00$0.30$15.00
Claude Haiku 4.5$1.00$0.10$5.00
Claude 3.5 Haiku$0.80$0.08$4.00
Claude 3 Haiku$0.25$0.03$1.25

OpenAI

ModelInputCache ReadOutput
GPT-5.4$2.50$0.25$15.00
GPT-5.4 Mini$0.75$0.075$4.50
GPT-5.4 Nano$0.20$0.02$1.25
GPT-5.4 Pro$30.00$30.00$180.00
GPT-4.1$2.00$0.50$8.00
GPT-5.3 Codex$1.75$0.175$14.00

Local (Ollama)

All local models: $0 for all token types.

The 10 optimization levers

These are the settings you can recommend changing. Each has a config path for openclaw config set.

Model Routing (which models handle what)

1. Default Model — agents.defaults.model.primary The fallback model for all tasks. This is the baseline cost driver.

  • Sonnet is a good default for most setups
  • Haiku if most work is routine
  • Reserve Opus for specific tasks, not as a default
  • Also determines maximum context window size (Haiku caps at 200K, Sonnet/Opus support larger)

2. Heartbeat Model — agents.defaults.heartbeat.model Model for routine check-ins. Heartbeats run frequently and don't need to be smart.

  • One of the highest single-lever cost wins available
  • A local or cheap model here can save $5–15/month depending on frequency
  • Only use a stronger model if heartbeat logic makes real judgment calls

3. Compaction Model — plugins.entries.lossless-claw.config.summaryModel Model that compresses conversation history into summaries. Runs in the background.

  • Doesn't need to be your best model — just needs to summarize accurately
  • Haiku or a local model works well for most setups

Frequency & Volume (how often and how much)

4. Heartbeat Frequency — agents.defaults.heartbeat.every How often agents check in. Options: off, 15m, 30m, 60m

  • Direct multiplier on heartbeat cost — halving frequency roughly halves heartbeat spend
  • 30 minutes is the sweet spot for most setups
  • Go lower (15m) for time-sensitive workflows, higher (60m) if cost is priority

5. Subagent Concurrency — agents.defaults.subagents.maxConcurrent How many subagents run simultaneously. Range: 1–10.

  • Higher = faster parallel work but more simultaneous API calls
  • Can cause cost spikes or rate limit errors if too high
  • Raise for research-heavy parallel workflows, lower if hitting rate limits

6. Search Batch Limit — agents.defaults.searchBatchLimit Max web searches per batch before a cooldown. Range: 1–20.

  • Uncapped search is one of the easiest ways to run up a bill
  • 5 searches per batch works well for most research tasks

7. Rate Limit Delay — agents.defaults.rateLimitDelay Minimum seconds between consecutive API calls. Range: 1–15.

  • 5 seconds is a safe default
  • Reduce to 2–3 for time-sensitive work with a higher-tier API plan
  • Increase if hitting 429 errors

Context & Memory (how much gets loaded)

8. Session Context Loading — agents.defaults.sessionContextLoading Which files load at session start. Options: lean, standard, full

  • One of the largest hidden cost drivers in OpenClaw
  • Full loading can 3–5× your input token cost per call vs lean
  • Lean (identity, soul, today's memory) works for most sessions
  • Full only needed when agents need deep historical context

9. Memory File Scope — agents.defaults.memoryFileScope Days of daily memory files loaded per session. Range: 1–30.

  • Direct multiplier on input token cost (~3K tokens per day of memory files)
  • 7 days is a good default
  • 3 days if cost is priority
  • 30+ only for agents that reference historical decisions regularly

10. Compaction Threshold — agents.defaults.compaction.threshold Token count before conversation history gets compressed. Range: 20K–200K.

  • Lower = more aggressive compaction = smaller context = lower cost
  • Higher = more history preserved = richer context = higher cost
  • If agents forget things mid-session, raise it
  • If costs are high and context quality isn't a concern, lower it
  • Works with LosslessClaw plugin for intelligent summarization

Optimization profiles

When the user wants a quick preset, recommend one of these:

Lean (minimize cost)

  • Heartbeat Frequency: Every 60 min
  • Compaction Threshold: 50K tokens
  • Subagent Concurrency: 1
  • Session Context Loading: Lean
  • Memory File Scope: 3 days
  • Rate Limit Delay: 8 sec
  • Search Batch Limit: 3

Balanced (cost and quality)

  • Heartbeat Frequency: Every 30 min
  • Compaction Threshold: 100K tokens
  • Subagent Concurrency: 2
  • Session Context Loading: Standard
  • Memory File Scope: 7 days
  • Rate Limit Delay: 5 sec
  • Search Batch Limit: 5

Quality (maximize capability)

  • Heartbeat Frequency: Every 15 min
  • Compaction Threshold: 150K tokens
  • Subagent Concurrency: 4
  • Session Context Loading: Full
  • Memory File Scope: 30 days
  • Rate Limit Delay: 2 sec
  • Search Batch Limit: 10

How to analyze session data

When you have openclaw status --usage --json output, look at:

Cache efficiency

  • Cache reads (cheapest — 10% of input cost): Higher is better
  • Cache writes (1.25× input cost): High ratio is normal for new sessions, concerning if persistent
  • >90% cache reads: Excellent, nothing to change
  • 60–90% reads: Good, improves naturally as sessions stay alive
  • >20% writes: Likely transient if sessions are new. If persistent, Session Context Loading and Memory File Scope control how much gets written per session start, and Heartbeat Frequency controls restart frequency
  • <40% reads: Normal right after session starts, shifts toward reads as conversations mature

Context utilization

  • <15% used: Normal for new/short sessions, nothing to change
  • 15–40%: Optimal — healthy headroom for growth
  • 40–75%: Good — can tune Compaction Threshold if needed
  • 75–90%: Lower the Compaction Threshold to summarize earlier
  • 90%+: Lower Compaction Threshold AND reduce Heartbeat Frequency to slow context accumulation
  • Large windows barely used: The model determines window size. If sessions don't need extended context, switching to Haiku caps the window at 200K and reduces per-write cost

How to give recommendations

Always follow this pattern:

  1. State what you see — cite the actual numbers from their config/sessions
  2. Explain the cost impact — use the rate card to show what it costs
  3. Recommend a specific change — name the exact setting and the new value
  4. Explain the trade-off — what improves and what might be affected
  5. Give the command — provide the exact openclaw config set command to make the change

Example:

Your heartbeat model is set to Claude Opus 4.6 ($5/MTok input, $25/MTok output) running every 15 minutes across 3 agents. That's roughly 288 heartbeat calls per day at ~2K tokens each — about $4.32/day just on heartbeats. Switching to Haiku 4.5 ($1/$5) drops that to $0.86/day — saving ~$100/month. Heartbeats just check task queues; they don't need Opus-level reasoning. ``bash openclaw config set 'agents.defaults.heartbeat.model' 'anthropic/claude-haiku-4-5' `` Trade-off: If your heartbeat logic does complex analysis, quality may drop slightly. For standard check-ins, you won't notice a difference.

Rules

  • Never fabricate numbers. If you don't have session data, ask the user to run the status command.
  • Always show your math when estimating costs.
  • Be honest about trade-offs — cheaper isn't always better.
  • If a setting is already optimal, say so. Don't recommend changes for the sake of it.
  • If there's no lever for something (e.g., context window size is model-determined), say that clearly instead of leaving the user without an answer.
  • Local/Ollama models are always $0 — recommend them for heartbeat and compaction when available.
  • Per-agent overrides exist. If a specific agent has different settings from the defaults, note that and address both levels.

平台分布

OpenClaw

73.25%
按下载量换算1,135

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills