Api Rate Limiter

# API Rate Limiter

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Api Rate Limiter" with this command: npx skills add monline-code/api-rate-limiter

API Rate Limiter

概述

全局API请求频率限制器,用于管理API请求的频率,防止触发服务提供商的限流机制。

功能特性

1. 请求频率控制

  • 智能延迟管理
  • 并发请求限制
  • 时间窗口限流

2. 配置管理

  • 动态配置加载
  • 策略调整
  • 状态监控

3. 服务集成

  • 全局API请求拦截
  • 自动限流应用
  • 失败重试机制

使用方法

应用请求延迟

api-rate-limiter apply-delay [request-type]

检查限流状态

api-rate-limiter check-status

查看当前配置

api-rate-limiter show-config

更新配置

api-rate-limiter update-config --key value

支持的请求类型

  • light: 轻量请求 (默认延迟 300ms)
  • medium: 中量请求 (默认延迟 600ms)
  • heavy: 重量请求 (默认延迟 1000ms)
  • custom: 自定义延迟

配置项

  • base_delay_ms: 基础延迟毫秒数
  • max_requests_per_minute: 每分钟最大请求数
  • max_requests_per_hour: 每小时最大请求数
  • concurrency_limit: 并发请求数限制
  • retry_count: 重试次数
  • cache_enabled: 是否启用缓存

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gigo Lobster Resume

🦞 GIGO · gigo-lobster-resume: 续跑入口:v2 stable 当前会清理旧 checkpoint 并从头重跑;保留此 slug 作为旧 checkpoint 兼容入口。 Triggers: 继续试吃 / 恢复评测 / resume tasting / continue lobster...

Registry SourceRecently Updated
General

YiHui CONTEXT MODE

context-mode is an MCP server that saves 98% of your context window by sandboxing tool outputs. It routes large file reads, shell outputs, and web fetches th...

Registry SourceRecently Updated
General

xinyi-drink

Use when users ask about 新一好喝/新一咖啡 drinks, stores, menu, activities, Skill用户大礼包, today drink recommendations, afternoon tea, feeling sleepy, or personalized...

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated