← 返回 Skills 市场
650
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install feishu-api-cache-fix
功能描述
Reduces Feishu API calls from every minute to once every 2 hours by caching bot status, saving 99% of API quota usage.
使用说明 (SKILL.md)
feishu-api-cache-fix
Fix Feishu API rate limit issue
Version: 1.0.1 Author: @bryan-chx Tags: feishu, api, fix, performance
Problem
Gateway calls Feishu API every minute, causing rate limit exhaustion.
Solution
Add 2-hour cache to probe.ts
Usage
sudo bash fix_feishu_cache.sh
安全使用建议
Do not run sudo scripts from an unknown source without review. This skill overwrites /usr/local/lib/node_modules/openclaw/extensions/feishu/src/probe.ts (it makes a .bak copy first) and requires root to do so. If you want this change: 1) Inspect fix_feishu_cache.sh line-by-line and confirm the target path matches your installation location; 2) Check the created backup (probe.ts.bak) before proceeding; 3) Prefer testing in a non-production environment or applying the change manually via a code review/patch so you can merge safely; 4) Consider modifying the extension in a package-managed way (fork or patch) rather than overwriting global node_modules; 5) Only proceed if you trust the author/source — the script could introduce breaking behavior even if it contains no network calls.
功能分析
Type: OpenClaw Skill
Name: feishu-api-cache-fix
Version: 1.0.1
The skill bundle aims to fix a Feishu API rate limit issue by modifying a specific OpenClaw internal file (`probe.ts`) to add a 2-hour cache. The `fix_feishu_cache.sh` script backs up the original file and then overwrites it with new TypeScript code that implements the caching logic. The `SKILL.md` explicitly states the need for `sudo` for this system-level modification. There is no evidence of data exfiltration, malicious execution, persistence, prompt injection attempts against the agent, or obfuscation. All actions are transparent and directly align with the stated purpose of fixing a rate limit issue.
能力评估
Purpose & Capability
The name/description (reduce Feishu API calls by caching probe results) align with the included script, which replaces probe.ts with a caching implementation. However, the skill does not declare that it will write to OpenClaw's installation path (/usr/local/lib/node_modules/openclaw/extensions/feishu/src/probe.ts) or that it requires elevated privileges to do so. That mismatch between claimed 'no requirements' and the script's filesystem modification is noteworthy.
Instruction Scope
SKILL.md tells the user to run sudo bash fix_feishu_cache.sh. The script makes an unconditional backup and then overwrites the feishu probe.ts file at a hardcoded global node_modules path. It does not validate the existing file's contents, confirm compatibility, or limit changes to a local/test environment. While the change is narrowly scoped (no network/exfiltration), overwriting another extension's source file is broad in impact and could break or subvert the Feishu integration.
Install Mechanism
This is an instruction-only skill with no install spec (low install-surface). However, the included shell script writes to a system-installed node_modules path and requires sudo, so although there is no packaged installer, the script will persist changes on disk — treat as higher-risk than a purely read-only instruction.
Credentials
The skill declares no required environment variables or credentials, which fits the simple caching change. But it implicitly requires filesystem write access to OpenClaw's installation and root privileges (the SKILL.md calls sudo). The absence of any declared config paths or privilege requirement is an omission that reduces transparency.
Persistence & Privilege
The script modifies another extension's source file in the global node_modules tree — this is persistent and changes behavior of the Feishu integration beyond the skill's own files. The skill does not request 'always: true', but its disk modification of other component code is a privilege/impact that should be highlighted and approved explicitly by the operator.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-api-cache-fix - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-api-cache-fix触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated documentation in SKILL.md for clarity and brevity.
- Simplified instructions and usage steps.
- English translation of SKILL.md content; removed Chinese descriptions.
- No changes to core functionality.
v1.0.0
Summary: Added 2-hour cache to reduce Feishu API calls and prevent quota exhaustion.
- Introduced caching in probe.ts to limit Feishu API calls to once every 2 hours.
- Provided fix script (fix_feishu_cache.sh) and patch backup (probe.ts.patch).
- Reduced API usage dramatically, saving 99% of quota.
- Updated documentation with problem description, solution, and step-by-step fix instructions.
元数据
常见问题
Feishu Api Cache Fix 是什么?
Reduces Feishu API calls from every minute to once every 2 hours by caching bot status, saving 99% of API quota usage. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 650 次。
如何安装 Feishu Api Cache Fix?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-api-cache-fix」即可一键安装,无需额外配置。
Feishu Api Cache Fix 是免费的吗?
是的,Feishu Api Cache Fix 完全免费(开源免费),可自由下载、安装和使用。
Feishu Api Cache Fix 支持哪些平台?
Feishu Api Cache Fix 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feishu Api Cache Fix?
由 bryan-chx(@bryan-chx)开发并维护,当前版本 v1.0.1。
推荐 Skills