Skillquality 0.70

tool-use-guardian

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.

Price
free
Protocol
skill
Verified
no

What it does

Tool Use Guardian

Overview

The 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.

Free forever. Built by the Genesis Agent Marketplace.

Install

npx skills add christopherlhammer11-ai/tool-use-guardian

When to Use This Skill

  • Use when tool calls return truncated or malformed JSON
  • Use when APIs timeout or rate-limit your agent mid-task
  • Use when a multi-step chain breaks partway through
  • Use when you need automatic retry logic without writing it yourself
  • Use for any agent workflow that depends on external tool reliability

How It Works

Step 1: Pre-Call Validation

Before every tool call, Guardian validates:

  • Required parameters are present and correctly typed
  • The tool is not marked as "unreliable" from previous failures
  • Request size is within known limits

Step 2: Failure Classification

When a tool call fails, Guardian classifies the failure into one of 9 categories:

Failure TypeRecovery Action
Truncated JSONRe-fetch with pagination or smaller chunks
API TimeoutRetry once with simpler request, then decompose
Rate Limit (429)Exponential backoff, max 3 retries
Auth ExpiredFlag for user intervention
Mid-chain BreakResume from last successful checkpoint
Error-as-200Detect {"error": "..."} disguised as success
Schema MismatchAttempt auto-coercion, warn if lossy
Network FailureRetry with jitter, max 2 attempts
Unknown ErrorLog full context, escalate to user

Step 3: Chain Protection

For multi-step tool chains, Guardian maintains checkpoints. If step 4 of 7 fails, it resumes from step 4 — never restarts from scratch.

Step 4: Learning

Guardian tracks failure patterns per tool. After 3+ failures of the same type, it marks the tool as unreliable and suggests alternatives.

Best Practices

  • ✅ Let Guardian wrap all external tool calls automatically
  • ✅ Review Guardian's reliability reports to identify flaky tools
  • ✅ Use checkpoint recovery for long chains
  • ❌ Don't disable retry logic for rate-limited APIs
  • ❌ Don't ignore repeated failure warnings

Related Skills

  • @recallmax - Long-context memory enhancement (also free from Genesis Marketplace)

Links

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Capabilities

skillsource-sickn33skill-tool-use-guardiantopic-agent-skillstopic-agentic-skillstopic-ai-agent-skillstopic-ai-agentstopic-ai-codingtopic-ai-workflowstopic-antigravitytopic-antigravity-skillstopic-claude-codetopic-claude-code-skillstopic-codex-clitopic-codex-skills

Install

Quality

0.70/ 1.00

deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 34460 github stars · SKILL.md body (2,889 chars)

Provenance

Indexed fromgithub
Enriched2026-04-22 06:52:02Z · deterministic:skill-github:v1 · v1
First seen2026-04-18
Last seen2026-04-22

Agent access