event-driven-architecture

event-driven-architecture is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 95 tokens per session (1,019 once invoked), scanned A, original, MIT.

A guide to building software around events sent through message brokers or queues. It covers how to define events and handle delivery, ordering, retries, duplicates, and replays.

In plain words
What is it for?
Use it to design event schemas, safe message consumers, retry and dead-letter procedures, and event-sourced parts of a system.
Why use it?
It helps prevent lost work, duplicate processing, stuck consumers, and failures caused by messages arriving late or out of order.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the backend plugin — 11 skills shipped together

Good fit Use it to design event schemas, safe message consumers, retry and dead-letter procedures, and event-sourced parts of a system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/event-driven-architecture
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 nimadorostkar/Claude-Skills-collection --skill event-driven-architecture
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install backend, the plugin that ships this one along with the rest of its 11 skills.

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 event-driven-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/event-driven-architecture/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/event-driven-architecture)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/event-driven-architecture"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/event-driven-architecture/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 event-driven-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/event-driven-architecture"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/event-driven-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,019 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 50
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
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.00095 $0.01019
Opus 5.5 $0.00038 $0.00408
Sonnet 5.5 $0.00019 $0.00204
Haiku 4.5 $0.00010 $0.00102

Measured 1mo ago against content hash 52295eb88208, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

event-driven-architecture 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 1mo 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.

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.

skills/backend/event-driven-architecture/SKILL.md · 90 lines

How it starts

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

Event-Driven Architecture

Purpose

Design event flows that survive redelivery, reordering, and consumer failure — because all three will happen, and the broker's guarantees are weaker than most designs assume.

When to Use

  • Introducing a message broker or queue.
  • Designing event schemas that other teams will consume.
  • Debugging duplicate processing, lost messages, or stuck consumers.
  • Evaluating event sourcing for a subsystem.

Capabilities

  • Event schema design and versioning.
  • Delivery semantics: at-most-once, at-least-once, effectively-once.
  • Idempotent consumer design.
  • Ordering and partitioning strategy.
  • Dead-letter queues, retry policies, and poison-message handling.
  • Event sourcing and CQRS, and when the cost is justified.

Inputs

  • The events the domain actually produces, in the domain's language.
  • The broker and its real guarantees (not its marketing).
  • Consumer requirements: ordering, latency, replay.

Outputs

  • Versioned event schemas with a registry or equivalent.
  • Consumers that are safe to run twice on the same message.
  • Retry, DLQ, and replay procedures.

Workflow

  1. Name events in the past tense — OrderPlaced, PaymentFailed. An event is a fact that happened, not a command to do something.
  2. Design the payload for consumers you do not control — Include enough context that a consumer does not have to call back for the basics; do not include so much that every field change breaks someone.
  3. Assume at-least-once — Every consumer must be idempotent. Deduplicate on an event ID, or make the operation naturally idempotent.
  4. Partition for ordering — Ordering is guaranteed only within a partition. Key by the entity whose order matters (usually the aggregate ID).
  5. Handle poison messages — A message that always fails must land in a DLQ after N attempts, not retry forever and block the partition.
  6. Version from the start — Additive changes only; a new required field is a new event version.

Read the full file on GitHub · 90 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. 1mo ago Changed · +57 tokens per session 52295eb88208
  2. 3mo ago First seen · 90 lines · 38 tokens per session scan A 5d0291f2393d

Subscribe to this mod's changes

event-driven-architecture is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 1,019 once invoked, about $0.0004 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-08-30.

Related

event-driven-architecture compared with skills from other repositories

event-driven-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
event-driven-architecturenimadorostkar/Claude-Skills-collectionSkill41todayMITA95Claude Code
offensive-api-abuseSnailSploit/Claude-RedSkill12k13d agoMITB184Claude Code, Codex
offensive-graphqlSnailSploit/Claude-RedSkill12k13d agoMITB219Claude Code, Codex
agent-readiness-auditmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA117Claude Code
mcp-server-specmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA101Claude Code
api-docs-writermohitagw15856/pm-claude-skillsSkill1.6ktodayMITB80Claude Code, Codex
agent-ready-auth-mdfabricioctelles/skillsSkill1504d agoApache-2.0A37Claude Code, Codex