map-events

map-events is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 82 tokens per session (2,202 once invoked), scanned A, original, MIT.

An asynchronous-message topology mapper for C# code using MassTransit-style publish, send, and consumer declarations. It shows which message types are published or sent and which consumers handle them.

In plain words
What is it for?
Use it to find who publishes, sends, or consumes a message and to detect orphaned publishers and consumers across queues.
Why use it?
It makes message paths visible without inventing links that are not present in the source. It also identifies publishers or consumers that have no matching counterpart.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the architecture plugin — 12 skills shipped together

Good fit Use it to find who publishes, sends, or consumes a message and to detect orphaned publishers and consumers across queues.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install architecture

Made for: Claude Code.

Or install architecture, the plugin that ships this one along with the rest of its 12 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 map-events

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/map-events/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/map-events)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/map-events"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/map-events/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 map-events

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/map-events"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/map-events.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,202 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.00082 $0.02202
Opus 5.5 $0.00033 $0.00881
Sonnet 5.5 $0.00016 $0.00440
Haiku 4.5 $0.00008 $0.00220

Measured yesterday against content hash 5117f40a028f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

map-events 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 yesterday.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/collect-events.sh, scripts/collect-events.test.sh, scripts/render-events.sh), 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/architecture/skills/map-events/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.

Repository context

The current repository is both the CONSUMER and the DEFAULT SUBJECT. Collect the project root with one Bash call, git rev-parse --show-toplevel. A failure is an unknown value; ${CLAUDE_PROJECT_DIR} is the root either way.

Purpose

Answer "who publishes which message, and who consumes it" from committed C# call sites and handler registrations. Every edge cites a file and a line. The scripts collect and render. Do not add an edge the script did not emit, and do not drop a publish whose contract type did not resolve.

The shipped adapter is the MassTransit shape: Publish<T> or Publish(new T(..)) is broadcast, Send<T> or Send(new T(..)) is point-to-point, IConsumer<T> consumes T. AddConsumer<C> and ConfigureConsumer<C> register the consumer class C; they are not messages. Inside a ReceiveEndpoint("q", ..) call, on its own line or in its block, they put C's consume edges on queue q; a registration outside it and every publish or send edge has no queue. A message is a type some publish, send, or consume names; a service or consumer class is not one. Identity is the namespace-qualified type. In-process calls are /architecture:map-flow. A cross-process hop in that trace is a hand-off to this skill.

Read: C# (MassTransit shape). Declined: Node, Go, Python, Rust, JVM, Ruby, and PHP. Their files are never read, so a message only they publish or consume is absent from the chart, not a finding.

Resolve home

Read ${CLAUDE_PLUGIN_ROOT}/reference/config.md first. This skill writes into architecture_dir. It reads no dialect key and adds none: it always writes events.md, a mermaid flowchart (dotted broadcast, solid point-to-point). The authoring-formats convention keys a dialect only for data diagrams and C4 system views. A message-topology flowchart is neither, so it follows the unkeyed mermaid rule, as /planning:design's sequence flows do.

Run bash "${CLAUDE_PLUGIN_ROOT}/lib/resolve-convention-home.sh" --root "${CLAUDE_PROJECT_DIR}". Exit 0 means read <home>/architecture/README.md for architecture_dir. Exit 1, 2, and 3 mean there is no declared home.

Read the full file on GitHub · 153 lines

Files

What ships with it

4 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. yesterday Changed · -3 tokens per session 5117f40a028f
  2. 11d ago Changed · +1 lines 1bb3761919b4
  3. 12d ago Changed · +7 lines 5210c37d1978
  4. 14d ago Changed · +3 lines 7d4285c6edcc
  5. 16d ago Changed · +8 lines 49d49f02e5d4
  6. 17d ago First seen · 134 lines · 85 tokens per session scan A 60bc71b761e0

Subscribe to this mod's changes

map-events is a skill published in the GitHub repository melodic-software/claude-code-plugins (25 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 2,202 once invoked, about $0.0003 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-29.