azure-eventhub-rust

azure-eventhub-rust is a skill for Claude Code from Ghosteken/agent-harness. It costs 25 tokens per session (843 once invoked), scanned A, a copy of azure-eventhub-rust, MIT.

A Rust library for sending and receiving event streams through Azure Event Hubs, Microsoft's service for continuous data ingestion. It works with producers, consumers, and partitions, which are separate ordered sections of a stream.

In plain words
What is it for?
Use it to build Rust services that publish or consume telemetry, logs, transactions, or other streaming data.
Why use it?
It provides the client code needed to connect Rust applications to Event Hubs and send data in batches. This avoids implementing the streaming protocol and partition handling yourself.

Skill for Claude Code

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

Part of the agent-harness plugin — 173 skills, 13 commands, 12 agents shipped together

Good fit Use it to build Rust services that publish or consume telemetry, logs, transactions, or other streaming data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ghosteken/agent-harness/azure-eventhub-rust
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 Ghosteken/agent-harness --skill azure-eventhub-rust
Clone the repo
git clone --depth 1 https://github.com/Ghosteken/agent-harness

Made for: Claude Code.

Or install agent-harness, the plugin that ships this one along with the rest of its 173 skills, 13 commands, 12 agents.

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 azure-eventhub-rust

README.md
[![agentmods](https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-eventhub-rust/github.svg)](https://agentmods.dev/skills/ghosteken/agent-harness/azure-eventhub-rust)
Your own site
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/azure-eventhub-rust"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-eventhub-rust/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 azure-eventhub-rust

Your own site · 80×15
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/azure-eventhub-rust"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-eventhub-rust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 843 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 84% copy Near-identical to another mod 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.00025 $0.00843
Opus 5 $0.00013 $0.00421
Sonnet 5 $0.00005 $0.00169
Haiku 4.5 $0.00003 $0.00084

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

Security

Grade A, and why

azure-eventhub-rust 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 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.

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.

Origin

This is a copy

84% identical to azure-eventhub-rust — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

archive/skills-community/azure-eventhub-rust/SKILL.md · 136 lines

How it starts

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

Azure Event Hubs SDK for Rust

Client library for Azure Event Hubs — big data streaming platform and event ingestion service.

Installation

cargo add azure_messaging_eventhubs azure_identity

Environment Variables

EVENTHUBS_HOST=<namespace>.servicebus.windows.net
EVENTHUB_NAME=<eventhub-name>

Key Concepts

  • Namespace — container for Event Hubs
  • Event Hub — stream of events partitioned for parallel processing
  • Partition — ordered sequence of events
  • Producer — sends events to Event Hub
  • Consumer — receives events from partitions

Producer Client

Create Producer

use azure_identity::DeveloperToolsCredential;
use azure_messaging_eventhubs::ProducerClient;

let credential = DeveloperToolsCredential::new(None)?;
let producer = ProducerClient::builder()
    .open("<namespace>.servicebus.windows.net", "eventhub-name", credential.clone())
    .await?;

Send Single Event

producer.send_event(vec![1, 2, 3, 4], None).await?;

Send Batch

let batch = producer.create_batch(None).await?;
batch.try_add_event_data(b"event 1".to_vec(), None)?;
batch.try_add_event_data(b"event 2".to_vec(), None)?;

producer.send_batch(batch, None).await?;

Consumer Client

Create Consumer

use azure_messaging_eventhubs::ConsumerClient;

let credential = DeveloperToolsCredential::new(None)?;
let consumer = ConsumerClient::builder()
    .open("<namespace>.servicebus.windows.net", "eventhub-name", credential.clone())
    .await?;

Receive Events

// Open receiver for specific partition
let receiver = consumer.open_partition_receiver("0", None).await?;

// Receive events
let events = receiver.receive_events(100, None).await?;
for event in events {
    println!("Event data: {:?}", event.body());
}

Get Event Hub Properties

let properties = consumer.get_eventhub_properties(None).await?;
println!("Partitions: {:?}", properties.partition_ids);

Read the full file on GitHub · 136 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 · 136 lines · 25 tokens per session scan A 215d00168cfe

Subscribe to this mod's changes

azure-eventhub-rust is a skill published in the GitHub repository Ghosteken/agent-harness (2 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 843 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to azure-eventhub-rust, differing in 11 lines, and is treated as a copy.

Related

Other skills, from other repositories

seeddance-api

Generate supported Seedance video through the independent Seeddance API at seeddance.io using the deployment's SEEDANCEAPIKEY, separately from fal.ai. Use when choosing between direct Seeddance and fal, checking direct account credits or model access, or submitting, polling, downloading, retrying, and reviewing direct…

manishiitg/coding-agent-loop · 95 tokens

voice-ai-integration-engineer

Skill "voice-ai-integration-engineer" from aimerdoux/wavex-os, covering 🎙️ voice ai integration engineer agent, 🧠 your identity & memory, 🎯 your core mission, end-to-end transcription pipeline engineering and structured output and downstream integration.

aimerdoux/wavex-os · 0 tokens

data-engineer

Skill "data-engineer" from aimerdoux/wavex-os, covering data engineer agent, 🧠 your identity & memory, 🎯 your core mission, data pipeline engineering and data platform architecture.

aimerdoux/wavex-os · 0 tokens

can

A debugging tool for CAN and CAN-FD, communication systems used by vehicles and embedded devices. It can find interfaces, monitor and send messages, record logs, decode DBC database files, and report bus statistics.

zhinkgit/embeddedskills · 168 tokens

composio

Build AI agents and apps with Composio - access 200+ external tools with Tool Router or direct execution.

aAAaqwq/AGI-Super-Team · 26 tokens

litellm

Operate, configure, secure, and troubleshoot the LiteLLM AI gateway (proxy) and Python SDK: run the proxy (litellm --config), route to 100+ providers through one OpenAI-compatible API, configure model lists and routing/reliability, virtual keys, teams, budgets, rate limits, caching, guardrails, observability, and…

magnus919/agent-skills · 173 tokens