feishu-api-cache-fix
bryan-chx
@bryan-chx
Install
$ openclaw skills install @bryan-chx/feishu-api-cache-fixfeishu-api-cache-fix
修复飞书API每分钟调用一次导致额度耗尽的问题
版本: 1.0.0 作者: @bryan-chx 标签: feishu, api, fix, performance
问题
Gateway每分钟调用飞书API /open-apis/bot/v3/info 检查机器人状态,导致API额度快速耗尽。
解决方案
在 probe.ts 中添加2小时缓存,避免频繁调用API。
修复步骤
运行修复脚本
# 1.sudo bash fix_feishu_cache.sh
# 2. 重启OpenClaw
# 点击菜单栏OpenClaw图标 → Restart
效果
- API调用:从每分钟1次 → 每2小时1次
- 节省:99%的API配额
文件
fix_feishu_cache.sh- 自动修复脚本probe.ts.patch- 补丁文件备份
Top skills in this category
Nano Banana Pro
@steipeteGenerate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
AdMapix
@fly0pantsAdMapix raw data layer for ad creatives, apps, rankings, downloads/revenue, and market metadata. Returns structured JSON from the AdMapix API; the calling ag...
YouTube Watcher
@michaelgatharaFetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
SuperDesign
@mpociotExpert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Video Frames
@steipeteExtract frames or short clips from videos using ffmpeg.