distributed-systems

distributed-systems is a skill for Claude Code from yonatangross/orchestkit. It costs 48 tokens per session (2,505 once invoked), scanned A, original, MIT.

A collection of patterns for software whose parts run across multiple computers or services. It covers coordination, retries, rate limits, duplicate-request handling, event-driven workflows, and edge computing.

In plain words
What is it for?
Use it when implementing distributed locks, circuit breakers, retry policies, idempotency keys, rate limiters, event-driven systems, or edge workers.
Why use it?
Distributed systems can fail through delays, repeated requests, overloaded services, or machines disagreeing about state. These patterns help applications remain reliable under those conditions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the ork-extras plugin — 33 skills, 8 commands shipped together

Good fit Use it when implementing distributed locks, circuit breakers, retry policies, idempotency keys, rate limiters, event-driven systems, or edge workers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yonatangross/orchestkit/distributed-systems
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 yonatangross/orchestkit --skill distributed-systems
Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit

Made for: Claude Code.

Or install ork-extras, the plugin that ships this one along with the rest of its 33 skills, 8 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 distributed-systems

README.md
[![agentmods](https://agentmods.dev/badge/skills/yonatangross/orchestkit/distributed-systems/github.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/distributed-systems)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/distributed-systems"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/distributed-systems/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for distributed-systems

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/distributed-systems"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/distributed-systems.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.02505
Opus 5.5 $0.00019 $0.01002
Sonnet 5.5 $0.00010 $0.00501
Haiku 4.5 $0.00005 $0.00250

Measured 9d ago against content hash e3655a4faee5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

distributed-systems scanned grade A with 0 findings 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 9d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/bulkhead.py, scripts/circuit-breaker.py, scripts/distributed-lock-template.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ork-extras/skills/distributed-systems/SKILL.md · 209 lines

How it starts

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

Distributed Systems Patterns

Comprehensive patterns for building reliable distributed systems. Each category has individual rule files in rules/ loaded on-demand.

Quick Reference

Category Rules Impact When to Use
Distributed Locks 1 CRITICAL Fencing tokens, owner validation; Redis/Redlock and Postgres advisory via upstream docs
Resilience 3 CRITICAL Circuit breakers, retry with backoff, bulkhead isolation
Idempotency 1 HIGH Idempotency keys; dedup and database-backed storage via upstream docs
Rate Limiting 2 HIGH Token bucket, sliding window; SlowAPI integration via upstream docs
Edge Computing 2 HIGH Edge workers, V8 isolates, CDN caching, geo-routing
Event-Driven 2 HIGH Event sourcing, CQRS, transactional outbox, sagas

Total: 11 rules across 6 categories. Removed topics point at first-party sources in Upstream coverage; ork-specific scars live in references/ork-delta.md.

Quick Start

# Redis distributed lock with Lua scripts
async with RedisLock(redis_client, "payment:order-123"):
    await process_payment(order_id)

# Circuit breaker for external APIs
@circuit_breaker(failure_threshold=5, recovery_timeout=30)
@retry(max_attempts=3, base_delay=1.0)
async def call_external_api():
    ...

# Idempotent API endpoint
@router.post("/payments")
async def create_payment(
    data: PaymentCreate,
    idempotency_key: str = Header(..., alias="Idempotency-Key"),
):
    return await idempotent_execute(db, idempotency_key, "/payments", process)

# Token bucket rate limiting
limiter = TokenBucketLimiter(redis_client, capacity=100, refill_rate=10)
if await limiter.is_allowed(f"user:{user_id}"):
    await handle_request()

Distributed Locks

Coordinate exclusive access to resources across multiple service instances.

Read the full file on GitHub · 209 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. 9d ago Changed e3655a4faee5
  2. 11d ago Changed 44182e0d0589
  3. 16d ago Changed · +1 lines 1b00911f9535
  4. 21d ago Changed · -1 lines c0164fd7b7b3
  5. 1mo ago Changed · -1 lines 19f144f8754f
  6. 2mo ago Changed · -5 lines 4111e6061890
  7. 2mo ago Changed · -1 lines ad3c95633ee2
  8. 2mo ago Changed cb4ab3842b28
  9. 2mo ago Changed bb2ce77d974c
  10. 3mo ago First seen · 216 lines · 48 tokens per session scan A 9ee2b337e480

Subscribe to this mod's changes

distributed-systems is a skill published in the GitHub repository yonatangross/orchestkit (313 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 2,505 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

distributed-systems compared with skills from other repositories

distributed-systems next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
distributed-systemsyonatangross/orchestkitSkill313todayMITA48Claude Code
microprofile-serverAdamBien/airailsSkill762d agoMITA87Claude Code, Codex
django-6-upgrade-guidebtfranklin/skillsSkill6yesterdayMITA49Codex
pn-python-scaffoldingperniemann/pnCoreSkill03d agoMITA51Cursor
pn-rust-scaffoldingperniemann/pnCoreSkill03d agoMITA54Cursor
pn-supabaseperniemann/pnCoreSkill03d agoMITA36Cursor
pn-n8n-patternsperniemann/pnCoreSkill03d agoMITA71Cursor