Imported from khanhkit/AgentProxy (
skills/cli-resilience/SKILL.md). Install upstream withnpx skills add khanhkit/AgentProxy --skill cli-resilience. Copyright stays with the author.
Overview
Inspect and manage circuit-breaker states, connection cooldowns, quota limits, and backoff levels from the CLI. Reset stuck providers and configure resilience thresholds.
Quick install
npm install -g agentproxy # or: npx agentproxy
agentproxy --version
Subcommands
quota
Flags:
--provider <id>--json
Example:
agentproxy quota
quota status
Show truthful AgentProxy gateway, quota, pool, and circuit state
Example:
agentproxy quota status
quota preview
Preview allocation enforcement without an upstream request
Flags:
--tokens <n>
Example:
agentproxy quota preview
quota ensure <json>
Idempotently create or update a quota pool from a JSON object
Example:
agentproxy quota ensure <json>
resilience
Example:
agentproxy resilience
resilience status
Flags:
--provider <p>
Example:
agentproxy resilience status
resilience breakers
Flags:
--provider <p>
Example:
agentproxy resilience breakers
resilience cooldowns
Flags:
--provider <p>--connection-id <id>
Example:
agentproxy resilience cooldowns
resilience lockouts
Flags:
--provider <p>--model <m>
Example:
agentproxy resilience lockouts
resilience reset
Flags:
--connection-id <id>--model <m>--all-cooldowns--yes
Example:
agentproxy resilience reset
resilience profile
Example:
agentproxy resilience profile
resilience show
Example:
agentproxy resilience show
resilience set <name>
Example:
agentproxy resilience set <name>
resilience config
Example:
agentproxy resilience config
resilience show
Example:
agentproxy resilience show
resilience set
Flags:
--threshold <n>--reset-timeout <ms>--base-cooldown <ms>
Example:
agentproxy resilience set