Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

openclaw-feishu-quota-guardOpenClaw feishu quota guard 搜索

Agent Skill

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

总安装

5,527

周安装

235

GitHub Stars

公开资料未说明

下载量

1,936
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-feishu-quota-guard

简介

用于诊断和修复 OpenClaw 中因心跳、健康检查或后台任务导致的飞书/Lark 配额异常消耗。

  • 适合需要监控 API 使用情况并优化配额管理的用户,尤其关注 webhook 探测和后台服务的影响。
  • 通过分析日志和运行状态提供修复建议,需配合 OpenClaw 环境使用,依赖本地配置和网络访问权限。
  • 安装前请确认具备网关管理权限,注意操作可能涉及服务重启或配置修改,建议在非高峰时段执行。
  • 维护状态和具体修复步骤需参考官方仓库文档,部分场景可能需要手动干预或额外授权。

SKILL.md

name
openclaw-feishu-quota-guard
description
Use when a user wants OpenClaw itself to diagnose or fix Feishu/Lark quota burn caused by heartbeats, health checks, webhook probes, or overly expensive background runs. Start by running the bundled run-once fixer, then only do manual follow-up if custom gateway or webhook code is detected.

OpenClaw Feishu Quota Guard

Use this skill when OpenClaw is connected to Feishu/Lark and a user reports that free quota or paid API budget is draining unexpectedly.

This skill is based on a short Bilibili video about OpenClaw + Feishu quota burn and cross-checked against current OpenClaw docs. The likely failure mode is not "chat usage" itself, but background traffic:

  • OpenClaw heartbeat runs that still hit a cloud model
  • Feishu webhook or custom gateway health probes that accidentally trigger model work

Read references/source-notes.md only if you need the exact source-backed assumptions.

Quick Start

  1. Run the bundled fixer in the native shell for that machine:

- macOS/Linux: bash scripts/run-once.sh --dry-run - Windows PowerShell: powershell -ExecutionPolicy Bypass -File scripts/run-once.ps1 --dry-run - Any OS with Python: python scripts/apply_feishu_quota_fix.py --dry-run

  1. If the summary only reports official/current OpenClaw heartbeat settings, run the same command without --dry-run.
  2. If the summary reports custom webhook or gateway health routes, keep the automatic heartbeat fix and then inspect those files manually.
  3. Restart the relevant process and verify from logs that repeated probes no longer trigger expensive model calls.

Default behavior of the bundled fixer

The bundled fixer makes only safe automatic changes to standard OpenClaw config:

  • agents.defaults.heartbeat.every = "1h"
  • agents.defaults.heartbeat.lightContext = true
  • agents.defaults.heartbeat.isolatedSession = true
  • if target is missing, set target = "none"

If you want a full stop instead of throttling, run:

bash scripts/run-once.sh --mode disable

On Windows:

powershell -ExecutionPolicy Bypass -File scripts/run-once.ps1 --mode disable

That sets:

  • agents.defaults.heartbeat.every = "0m"

Workflow

1. Confirm the topology first

Do not patch blindly.

  • If the install uses the bundled/current Feishu plugin, treat this as a heartbeat-cost problem first.
  • If the install uses a webhook bridge or custom gateway, inspect the health route before touching heartbeat settings.

Useful search terms:

  • channels.feishu
  • @openclaw/feishu
  • heartbeat
  • HEARTBEAT.md
  • connectionMode
  • webhook
  • verificationToken
  • health
  • gateway

2. Fix path A: reduce or cheapen OpenClaw heartbeat work

Use this path for the official/current plugin, or anytime logs show scheduled heartbeat runs causing the spend.

Focus on:

  • ~/.openclaw/openclaw.json or the workspace config the user actually runs
  • agents.defaults.heartbeat
  • agents.list[].heartbeat
  • HEARTBEAT.md

Preferred order of fixes:

  1. First run the bundled fixer in throttle mode.

It applies the lowest-risk cost reduction settings supported by current OpenClaw heartbeat docs.

  1. If heartbeat is not needed, disable it or make the heartbeat prompt effectively empty.

OpenClaw docs say an effectively empty HEARTBEAT.md skips the heartbeat run and saves API calls.

  1. If heartbeat is needed, lower frequency first.

Safe first move: change every from a short interval to 1h or longer.

  1. Reduce token and context cost.

Prefer lightContext: true, isolatedSession: true when appropriate, and avoid sending heartbeat output anywhere unless the user really wants it.

  1. Route heartbeat away from an expensive cloud model.

If the install supports a separate heartbeat model, use a cheap or local model for heartbeat-only checks.

  1. Keep HEARTBEAT.md tiny.

A bloated checklist wastes tokens every run.

When editing configs manually, prefer minimal changes like:

{
  "agents": {
    "defaults": {
      "heartbeat": {
        "every": "1h",
        "lightContext": true,
        "target": "none"
      }
    }
  }
}

Only add a heartbeat-specific local model if the config format in that install already supports it.

3. Fix path B: stop Feishu/webhook health probes from touching the model

Use this path for older installs, custom bridges, or any codebase where /health, /ready, or webhook verification ends up invoking OpenClaw chat/model logic.

Goal: liveness checks must return a cheap static success unless the user explicitly wants an end-to-end synthetic test.

Preferred order of fixes:

  1. Do not auto-patch arbitrary app code unless the relevant route is obvious and isolated.
  2. Separate liveness from end-to-end checks.

/health should usually return a static 200 OK plus lightweight process info.

  1. If a real downstream check is required, cache the successful result.

A 24-hour cache is a good default for "bot still works" validation when the alternative is paying every minute.

  1. Never let Feishu verification or heartbeat probes call the main chat pipeline.
  2. If a custom bridge currently pings the model every 60 seconds, patch that route first before changing user-facing chat behavior.

For route handlers, acceptable outcomes are:

  • static ok
  • cached status object
  • cheap local state check

Avoid:

  • calling the main message handler
  • creating a new OpenClaw chat turn
  • invoking the paid model just to answer a health probe

4. Verify after the patch

After editing:

  1. Restart the OpenClaw gateway, plugin host, or custom bridge.
  2. Watch logs for 3-5 minutes.
  3. Confirm one of these outcomes:

- heartbeat frequency dropped to the intended interval - /health still gets hit, but no model invocation follows - quota burn rate stops climbing abnormally

If the user is on Docker, check container logs rather than assuming host paths.

Guardrails

  • Do not change unrelated chat routing.
  • Do not remove webhook verification unless the user is intentionally leaving webhook mode.
  • Prefer the smallest patch that stops repeated paid calls.
  • If the system mixes official Feishu config with custom gateway code, patch the custom health route first and then review heartbeat settings.
  • If the bundled fixer already solved the standard heartbeat cost issue, say so clearly and stop there unless custom webhook code still appears in the scan.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

81.43%
按下载量换算1,576

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install openclaw-feishu-quota-guard 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills