Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

clawsaverclawsaver 开发

Agent Skill

clawsaver 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,880

周安装

745

GitHub Stars

公开资料未说明

下载量

5,960
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install clawsaver

简介

clawsaver 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中检查配置和排查环境问题时使用。

  • 适用于部署流程优化、环境状态监控及基础设施自动化等运维场景。
  • 通过 clawhub 安装后,结合原始 README 可了解具体命令与配置选项。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 该技能由 OpenClaw 生态提供,适合集成到 CI/CD 或运维流水线中。

SKILL.md

name
clawsaver
description
Reduce model API costs by 20–40% through intelligent message batching. Buffer related messages, send once.
metadata
clawdbot
emoji
requires
env
[]
bins
[]
files
["SessionDebouncer.js", "example-integration.js"]

ClawSaver

Reduce model API costs by 20–40% through intelligent message batching and buffering.

Most agent systems waste money on redundant API calls. When users send follow-up messages, you call the model separately for each one. ClawSaver fixes this by waiting ~800ms to collect related messages, then sending them together in a single optimized request. Same response quality. Lower cost. No user friction.

How It Works: Batching & Buffering

WITHOUT CLAWSAVER (Context Overhead Hidden):
User:  "What is ML?"
Model: → API Call #1 [Context: system prompt, chat history] (cost: $X)
       Returns: definition

User:  "Give an example"
Model: → API Call #2 [Context: system prompt, chat history, Q1, A1] (cost: $X)
       Returns: example

User:  "Apply to finance?"
Model: → API Call #3 [Context: system prompt, chat history, Q1–A2] (cost: $X)
       Returns: finance application

Total: 3 calls × full context = 3X cost, each call repeats context overhead

───────────────────────────────────────

WITH CLAWSAVER (Single Context Load):
User:  "What is ML?"          ← Buffer (800ms wait)
User:  "Give an example"      ← Buffer (800ms wait)
User:  "Apply to finance?"    ← Flush: Send all 3 together

Model: → API Call #1 [Context loaded ONCE: system prompt, chat history]
       Processes all 3 questions together
       Returns: comprehensive answer addressing all three

Total: 1 call × full context = 1X cost, context overhead paid once

Actual savings (with context): 67% reduction
Cost per token: 1/3 (fewer context re-loads + consolidation)

Why it matters: Context (system prompts, history, instructions) gets re-sent on every API call. With ClawSaver, you pay that context overhead once per batch instead of three times. This compounds the savings beyond just "fewer calls."

Example (4K token context, 200 output tokens):

  • Without ClawSaver: 3 calls × 4,200 tokens = 12,600 tokens
  • With ClawSaver: 1 call × 4,600 tokens = 4,600 tokens
  • Actual savings: 63% token reduction (even better than call reduction)

The Problem

User: "What is machine learning?"
(pause)
User: "Give an example"
(pause)
User: "How does that apply to healthcare?"

Without optimization: 3 API calls = 3x cost With ClawSaver: 1 batched call = 1/3 the price

Across thousands of conversations, this compounds fast.

How It Works

  1. User sends message → ClawSaver buffers it
  2. Waits ~800ms for follow-ups from same user
  3. If more messages arrive → keep buffering
  4. Timer expires → send all messages together
  5. Model responds once → you get complete answer

Why users don't notice: They're already waiting for your model response. Buffering input doesn't feel slower because the response comes right after the batch sends.

Install

clawhub install clawsaver

Quick Start (10 lines)

import SessionDebouncer from 'clawsaver';

const debouncers = new Map();

function handleMessage(userId, text) {
  if (!debouncers.has(userId)) {
    debouncers.set(userId, new SessionDebouncer(
      userId,
      (msgs) => callModel(userId, msgs)
    ));
  }
  debouncers.get(userId).enqueue({ text });
}

Impact

MetricValue
Cost reduction20–40% typical
Setup time10 minutes
Code added~10 lines
Dependencies0
File size4.2 KB
Latency added+800ms (user-imperceptible)
MaintenanceNone

Three Profiles

Choose based on your use case:

Balanced (Default)

  • 25–35% savings
  • 800ms buffer
  • Chat, Q&A, general conversation

Aggressive

  • 35–45% savings
  • 1.5s buffer
  • Batch workflows, high-volume ingestion

Real-Time

  • 5–10% savings
  • 200ms buffer
  • Interactive, voice-first systems

When to Use

✅ Chat applications ✅ Customer support bots ✅ Multi-turn Q&A ✅ Any conversation with follow-ups

❌ Single-request workflows ❌ Sub-100ms response requirements

API

new SessionDebouncer(userId, handler, {
  debounceMs: 800,      // wait time
  maxWaitMs: 3000,      // absolute max
  maxMessages: 5,       // batch size cap
  maxTokens: 2048       // reserved
})

// Methods
debouncer.enqueue(message)      // add to batch
debouncer.forceFlush(reason)    // send now
debouncer.getState()            // buffer + metrics
debouncer.getStatusString()     // human-readable

Docs

  • START_HERE.md — Navigation (pick your role/timeline)
  • AUTO-INTEGRATION.md — ⭐ Drop-in middleware wrapper (2 min setup)
  • QUICKSTART.md — 5-minute integration
  • INTEGRATION.md — Patterns, edge cases, full config
  • SUMMARY.md — Metrics and ROI (decision makers)
  • SKILL.md — Full API reference
  • example-integration.js — Copy-paste templates

Security

  • No telemetry — Doesn't phone home
  • No network calls — Runs locally
  • No dependencies — Pure JavaScript
  • You control output — You decide what goes to your model

Data never leaves your machine.

License

MIT


Start here: Pick your path in START_HERE.md, or jump to QUICKSTART.md for 5-minute setup.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.36%
按下载量换算5,147

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills