event-driven-architecture

event-driven-architecture is a skill for Claude Code, Codex from NickCrew/Claude-Cortex. It costs 39 tokens per session (1,317 once invoked), scanned A, original, MIT.

A guide to event-driven architecture, where separate services communicate by sending messages about things that happened. It covers patterns such as event sourcing, CQRS, message queues, and eventual consistency, where systems become consistent over time.

In plain words
What is it for?
Use it to design microservice communication, event streams, message queues, publish-subscribe systems, and workflows spanning multiple services.
Why use it?
It helps address the complexity of asynchronous communication, distributed transactions, real-time processing, and systems that need to scale across services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design microservice communication, event streams, message queues, publish-subscribe systems…

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

Made for: Claude Code, Codex.

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/nickcrew/claude-cortex/event-driven-architecture.svg)](https://agentmods.dev/skills/nickcrew/claude-cortex/event-driven-architecture)
Your own site
<a href="https://agentmods.dev/skills/nickcrew/claude-cortex/event-driven-architecture"><img src="https://agentmods.dev/badge/skills/nickcrew/claude-cortex/event-driven-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 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.
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.00039 $0.01317
Opus 5 $0.00019 $0.00659
Sonnet 5 $0.00008 $0.00263
Haiku 4.5 $0.00004 $0.00132

Measured 3d ago against content hash bd16f60256ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 3d 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/event-driven-architecture/SKILL.md · 153 lines

How it starts

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

Event-Driven Architecture Patterns

Expert guidance for designing, implementing, and operating event-driven systems with proven patterns for event sourcing, CQRS, message brokers, saga coordination, and eventual consistency management.

When to Use This Skill

  • Designing systems with asynchronous, decoupled communication
  • Implementing event sourcing and CQRS patterns
  • Building systems requiring eventual consistency and high scalability
  • Managing distributed transactions across microservices
  • Processing real-time event streams and data pipelines
  • Implementing publish-subscribe or message queue architectures
  • Designing reactive systems with complex event flows

Core Principles

1. Events as First-Class Citizens

Events represent immutable facts that have occurred in the system. Use past tense naming (OrderCreated, PaymentProcessed) and include all necessary context.

2. Eventual Consistency

Systems achieve consistency over time rather than immediately. Trade strong consistency for higher availability and scalability.

3. Loose Coupling

Services communicate through events without direct dependencies, enabling independent evolution and deployment.

4. Asynchronous Communication

Operations don't block waiting for responses, improving system responsiveness and resilience.

5. Event-Driven Thinking

Design around what happened (events) rather than what to do (commands).

Quick Reference

Topic Load reference
Event structure, types, and characteristics skills/event-driven-architecture/references/event-fundamentals.md
Event sourcing pattern and implementation skills/event-driven-architecture/references/event-sourcing.md
CQRS pattern with read/write separation skills/event-driven-architecture/references/cqrs.md
Message brokers (RabbitMQ, Kafka, SQS/SNS) skills/event-driven-architecture/references/message-brokers.md
Saga pattern for distributed transactions skills/event-driven-architecture/references/saga-pattern.md
Choreography vs orchestration patterns skills/event-driven-architecture/references/choreography-orchestration.md
Eventual consistency and conflict resolution skills/event-driven-architecture/references/eventual-consistency.md
Best practices, anti-patterns, testing skills/event-driven-architecture/references/best-practices.md

Read the full file on GitHub · 153 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 153 lines · 39 tokens per session scan A bd16f60256ae

Subscribe to this mod's changes

event-driven-architecture is a skill published in the GitHub repository NickCrew/Claude-Cortex (37 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,317 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

stream-processing-designer

Design a stream processing system for unbounded, continuously arriving data. Use when choosing a message broker (Kafka vs RabbitMQ), implementing change data capture (CDC) from PostgreSQL, MySQL, or MongoDB via Debezium or Maxwell, selecting window types for aggregation (tumbling, hopping, sliding, session), joining…

bookforge-ai/bookforge-skills · 240 tokens

cqrs-event-sourcing-architect

CQRS pattern, event stores, projections, eventual consistency. Activate on: CQRS, event sourcing, event store, read model, projection, aggregate, domain event, command handler. NOT for: message broker setup (use event-driven-architecture-expert), database optimization (use data-warehouse-optimizer).

curiositech/windags-skills · 70 tokens

Kafka Event-Driven Testing

Test Kafka-based event-driven systems, producer and consumer integration tests with Testcontainers, schema compatibility gates, idempotency and ordering verification, dead-letter handling, and end-to-end event flow assertions.

PramodDutta/qaskills · 45 tokens

architecture-paradigm-cqrs-es

Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history.

athola/claude-night-market · 39 tokens

kafka-expert

Expert-level Apache Kafka, event streaming, Kafka Streams, and distributed messaging. Use when the user mentions streaming, messaging, event driven, or Kafka Streams.

personamanagmentlayer/pcl · 36 tokens

cratis-command

Step-by-step guidance for creating a Cratis Arc command — [Command] record, Handle() method, CommandValidator, proxy generation, and React .use() hook with CommandDialog. Use when adding or creating a command, wiring up a form or button to the backend, working with IEventLog, CommandResult, CommandValidator…

Cratis/AI · 80 tokens