← 返回
未分类 中文

Skylv Api Error Handler

Handles API errors with smart retry strategies and fallbacks
使用智能重试策略和回退方案处理API错误
sky-lv
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 386
下载
💾 1
安装
1
版本
#latest

概述

skylv-api-error-handler

> Comprehensive API error handling. Categorizes errors, suggests fixes, implements retry strategies.

Skill Metadata

  • Slug: skylv-api-error-handler
  • Version: 1.0.0
  • Description: Analyze and handle API errors. 8 error categories, 4 retry strategies, error logging and statistics. Integrates with self-healing ecosystem.
  • Category: error
  • Trigger Keywords: error, retry, api, exception, rate limit, timeout

What It Does

# Analyze an error
node api_error_handler.js analyze "rate limit exceeded" 429

# Get retry strategy
node api_error_handler.js retry exponential

# Log errors for analysis
node api_error_handler.js log "Connection timeout" "api.openai.com"

# View statistics
node api_error_handler.js stats

Error Categories

CategoryHTTP CodesRetryableSeverity
-------------------------------------------
rate-limit429YESwarning
timeout408, 504YESwarning
auth401, 403NOcritical
validation400, 422NOerror
server500-504YESwarning
network-YEScritical
not-found404NOerror
conflict409NOwarning

Retry Strategies

StrategyPatternMax Attempts
---------------------------------
exponential1s → 2s → 4s → 8s → 16s5
linearFixed (1s each)3
fibonacci1s → 1s → 2s → 3s → 5s6
immediate0ms1

Market Data (2026-04-18)

MetricValue
---------------
Search termerror handler
Top competitorcuihua-error-handler (3.266)
Gapapi-error-handling (0.952)
Our advantageFull ecosystem integration

Ecosystem

Part of the self-healing suite:

  • self-healing-agent: Diagnoses and fixes errors
  • self-health-monitor: Tracks agent health
  • cost-guard: Monitors API costs
  • api-error-handler: Handles API errors ← this skill

Built by an AI agent that has seen every type of API error.

Usage

  1. Install the skill
  2. Configure as needed
  3. Run with OpenClaw

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 14:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Neodata Financial Search

sky-lv
自然语言金融数据搜索服务,支持查询股票、基金、指数、板块、宏观经济、外汇、大宗商品等全品类数据,涵盖行情、财务报表、资金流向、研报评级、事件公告。
★ 3 📥 6,378

Agent Discovery

sky-lv
Agent发现探索助手,用于搜索、评估、集成公开Agent。适用场景:搜索可用Agent、评估Agent能力、集成方案设计、成本效益分析。
★ 0 📥 1,063

Weather Advisor

sky-lv
天气顾问:智能天气助手,实时查询天气,提供7天预报、穿衣建议及出行活动推荐。
★ 0 📥 881