Dependency Management

Dependency Management is a skill for Claude Code from robisson/build-like-amazon-agent-skills. It costs 31 tokens per session (4,010 once invoked), scanned A, original, MIT.

A set of practices for making software safer when it relies on databases, caches, other services, or third-party APIs. It uses limits and fallback behavior so one failing connection does not bring down the whole application.

In plain words
What is it for?
Use it when making network requests, querying data stores, using third-party APIs, working with message queues, or reading remote configuration. It covers timeouts, retries, circuit breakers, isolation, and graceful degradation.
Why use it?
External systems can be slow, overloaded, or unavailable, and repeated retries can make an outage worse. These practices help contain failures and keep your service working in a reduced way.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the build-like-amazon plugin — 28 skills, 14 commands shipped together

Good fit Use it when making network requests, querying data stores, using third-party APIs, working with message queues, or reading remote configuration. It covers timeouts, retries, circuit breakers, isolation, and graceful degradation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robisson/build-like-amazon-agent-skills/dependency-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add robisson/build-like-amazon-agent-skills --skill dependency-management
Clone the repo
git clone --depth 1 https://github.com/robisson/build-like-amazon-agent-skills

Made for: Claude Code.

Or install build-like-amazon, the plugin that ships this one along with the rest of its 28 skills, 14 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Dependency Management

README.md
[![agentmods](https://agentmods.dev/badge/skills/robisson/build-like-amazon-agent-skills/dependency-management.svg)](https://agentmods.dev/skills/robisson/build-like-amazon-agent-skills/dependency-management)
Your own site
<a href="https://agentmods.dev/skills/robisson/build-like-amazon-agent-skills/dependency-management"><img src="https://agentmods.dev/badge/skills/robisson/build-like-amazon-agent-skills/dependency-management.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.04010
Opus 5 $0.00015 $0.02005
Sonnet 5 $0.00006 $0.00802
Haiku 4.5 $0.00003 $0.00401

Measured 8d ago against content hash 05c21399d541, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Dependency Management scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get("https://payment-service/charge")
skills/dependency-management/SKILL.md · 393 lines

How it starts

The opening of the file, as written. The whole thing — 393 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

Every external dependency is a liability. Every network call can fail, every downstream service can become slow, every database can become overloaded. Dependency management is the discipline of treating every external interaction as unreliable and building defenses that keep your service healthy even when dependencies are not.

At Amazon, a single service may depend on dozens of other services, databases, caches, and external APIs. Without proper dependency management, a slowdown in one dependency cascades into a full system outage—the "thundering herd" or "retry storm" that has caused some of Amazon's most significant incidents.

The core principle: your service's availability is the product of its dependencies' availabilities, unless you actively decouple from them. If you depend on 5 services each at 99.9% availability and do nothing, your service can only be 99.5% available. Proper dependency management breaks this multiplication.

When to Use

  • Making any HTTP call to another service
  • Querying any database or cache
  • Calling any third-party API
  • Publishing to or consuming from message queues
  • Reading from configuration services
  • Any I/O operation that crosses a network boundary

Amazon Context

Amazon's distributed architecture means most requests traverse multiple services. The call graph for a single customer request might involve 50+ services. Without dependency isolation, a single slow service can cause a cascading failure that takes down the entire customer experience.

Key lessons learned:

  • The 2004 outage taught Amazon that retries without backoff amplify failures (retry storms)
  • The "thundering herd" incidents taught that all callers recovering simultaneously overwhelms the recovering service
  • The "gray failures" (slow but not dead services) are harder to detect and more damaging than hard failures

Amazon's architecture mandates: circuit breakers at every service boundary, timeouts on every call, retries with jitter, and bulkheads isolating failure domains. These are not optional patterns—they are architectural requirements enforced through ORR.

Read the full file on GitHub · 393 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 393 lines · 31 tokens per session scan A 05c21399d541

Subscribe to this mod's changes

Dependency Management is a skill published in the GitHub repository robisson/build-like-amazon-agent-skills (14 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 4,010 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

build-mcp-server

This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Claude", "make an MCP app", or discusses building something with the Model Context Protocol. It is the entry point for MCP server development — it interrogates…

anthropics/claude-plugins-official · 111 tokens

data-manager-api-setup

Guides developers through client library installation and authentication setup steps for the Data Manager API. Use this skill when a user is getting started with the Data Manager API and needs to setup their local environment, install the client library, or setup access to the API. Don't use for implementing audience…

google/skills · 86 tokens

workers-best-practices

Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.

cloudflare/skills · 25 tokens

new

Create a new project to start development quickly.

clacky-ai/openclacky · 10 tokens

skd-edit

A focused editor for 1C data composition schemas, the report definitions that describe queries, fields, filters, totals, and parameters. It changes an existing Template.xml file through specific operations.

Nikolay-Shirokov/cc-1c-skills · 55 tokens

aspnet-core

Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET. USE FOR: working on ASP.NET Core apps, services, or middleware; changing auth, routing, configuration, hosting, or deployment behavior; deciding…

managedcode/dotnet-skills · 122 tokens