[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-5c9049e1-8b03-4b41-a2f0-cead219193d4":3,"$fmRnEc_qIVoeTl-W4fu6pIclE35nd5SdBHI4myTRUQF4":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"5c9049e1-8b03-4b41-a2f0-cead219193d4","tool-use-guardian","免费——智能工具调用可靠性包装器。监控、重试、修复并从工具故障中学习。自动从截断的JSON、超时、速率限制和中断链故障中恢复。","cat_life_career","mod_other","sickn33,other","---\nname: tool-use-guardian\ndescription: \"FREE — Intelligent tool-call reliability wrapper. Monitors, retries, fixes, and learns from tool failures. Auto-recovers from truncated JSON, timeouts, rate limits, and mid-chain failures.\"\ncategory: reliability\nrisk: safe\nsource: community\ndate_added: \"2026-03-13\"\nauthor: christopherlhammer11-ai\ntags: [reliability, tool-use, error-handling, retries, recovery, agent-infrastructure]\ntools: [claude, cursor, codex, gemini, copilot, windsurf, antigravity]\n---\n\n# Tool Use Guardian\n\n## Overview\n\nThe reliability wrapper every AI agent needs. Monitors tool calls, auto-retries failures, fixes truncated responses, and learns which tools are unreliable — so you never lose your chain of thought.\n\nFree forever. Built by the Genesis Agent Marketplace.\n\n## Install\n\n```bash\nnpx skills add christopherlhammer11-ai\u002Ftool-use-guardian\n```\n\n## When to Use This Skill\n\n- Use when tool calls return truncated or malformed JSON\n- Use when APIs timeout or rate-limit your agent mid-task\n- Use when a multi-step chain breaks partway through\n- Use when you need automatic retry logic without writing it yourself\n- Use for any agent workflow that depends on external tool reliability\n\n## How It Works\n\n### Step 1: Pre-Call Validation\n\nBefore every tool call, Guardian validates:\n- Required parameters are present and correctly typed\n- The tool is not marked as \"unreliable\" from previous failures\n- Request size is within known limits\n\n### Step 2: Failure Classification\n\nWhen a tool call fails, Guardian classifies the failure into one of 9 categories:\n\n| Failure Type | Recovery Action |\n|---|---|\n| Truncated JSON | Re-fetch with pagination or smaller chunks |\n| API Timeout | Retry once with simpler request, then decompose |\n| Rate Limit (429) | Exponential backoff, max 3 retries |\n| Auth Expired | Flag for user intervention |\n| Mid-chain Break | Resume from last successful checkpoint |\n| Error-as-200 | Detect `{\"error\": \"...\"}` disguised as success |\n| Schema Mismatch | Attempt auto-coercion, warn if lossy |\n| Network Failure | Retry with jitter, max 2 attempts |\n| Unknown Error | Log full context, escalate to user |\n\n### Step 3: Chain Protection\n\nFor multi-step tool chains, Guardian maintains checkpoints. If step 4 of 7 fails, it resumes from step 4 — never restarts from scratch.\n\n### Step 4: Learning\n\nGuardian tracks failure patterns per tool. After 3+ failures of the same type, it marks the tool as unreliable and suggests alternatives.\n\n## Best Practices\n\n- ✅ Let Guardian wrap all external tool calls automatically\n- ✅ Review Guardian's reliability reports to identify flaky tools\n- ✅ Use checkpoint recovery for long chains\n- ❌ Don't disable retry logic for rate-limited APIs\n- ❌ Don't ignore repeated failure warnings\n\n## Related Skills\n\n- `@recallmax` - Long-context memory enhancement (also free from Genesis Marketplace)\n\n## Links\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Fchristopherlhammer11-ai\u002Ftool-use-guardian\n- **Marketplace:** https:\u002F\u002Fgenesis-node-api.vercel.app\n- **Browse skills:** https:\u002F\u002Fgenesis-marketplace.vercel.app\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,91,2013,"2026-05-16 13:44:37",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"38af9463-9948-402a-939d-f038e9eef435","1.0.0","tool-use-guardian.zip",1807,"uploads\u002Fskills\u002F5c9049e1-8b03-4b41-a2f0-cead219193d4\u002Ftool-use-guardian.zip","651a23b840b4b26ce256f613ba2090210c7bd5954c56fa62b326002ceb641557","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":3409}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]