2233admin/http-retry/SKILL.md
# HTTP 重试技能 **触发词**: timeouterror, econnreset, econnrefused, 429, retry, http error, 网络超时 ## 问题 网络请求失败(超时、连接重置、限流)导致服务不稳定 ## 解决方案 指数退避 + 超时控制 + 连接池复用 ```javascript async function fetchWithRetry(url, options = {}, maxRetries = 3) { const { retryDelay = 1000, timeout = 30000 } = options; for (let attempt = 0; attempt <= maxRetries; attempt++) { try { const controller = new AbortController(); const timeoutId = setTimeout(() => controller.abort(), timeout); const res
npx skillsauth add openclaw/skills 2233admin/http-retryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
触发词: timeouterror, econnreset, econnrefused, 429, retry, http error, 网络超时
网络请求失败(超时、连接重置、限流)导致服务不稳定
指数退避 + 超时控制 + 连接池复用
async function fetchWithRetry(url, options = {}, maxRetries = 3) {
const { retryDelay = 1000, timeout = 30000 } = options;
for (let attempt = 0; attempt <= maxRetries; attempt++) {
try {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeout);
const response = await fetch(url, { ...options, signal: controller.signal });
clearTimeout(timeoutId);
if (response.status === 429 || response.status >= 500) {
await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt)));
continue;
}
return response;
} catch (err) {
if (attempt === maxRetries) throw err;
await new Promise(r => setTimeout(r, retryDelay * Math.pow(2, attempt)));
}
}
}
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。