Tooluck logoTooluck
SKILL.md

mirrord-header-propagation

Agent skill frommetalbear-co/mirrord

Makes a codebase propagate W3C baggage (the `baggage` header carrying `mirrord-session=<key>`) end to end, so mirrord HTTP filters, preview environments, and queue splitting can route a whole request chain to one developer's session. Detects existing OpenTelemetry, Datadog, or other tracing that can already propagate baggage and enables it; otherwise adds a small propagation layer. Covers inbound/outbound HTTP and gRPC, publishing to and consuming from Kafka, RabbitMQ, SQS/SNS, GCP Pub/Sub, Azure Service Bus, NATS, Redis Pub/Sub, BullMQ and Temporal, per-message context restore in consumers, and storage hand-offs such as a GCS signed URL upload that triggers Pub/Sub or an S3 presigned upload that triggers SQS. Ends with a report of every flow found and which ones still drop the header. Use when the user asks to propagate headers, baggage, tracestate, the mirrord session key, or trace context across services or queues, or when a mirrord filter matches the first service but not downstrea

How to install mirrord-header-propagation

install mirrord-header-propagation
# install the mirrord pack with the skills CLI
npx skills add metalbear-co/mirrord

# or add only this skill to Claude Code: copy the folder

mirrord/mcp/corpus/skills/mirrord-header-propagation/

# into

~/.claude/skills/mirrord-header-propagation/ (all projects)

.claude/skills/mirrord-header-propagation/ (one project)

mirrord/mcp/corpus/skills/mirrord-header-propagation/SKILL.md

MITFull file
1# mirrord Header Propagation Skill
2
3> mirrord routes traffic to a developer's session by matching a header. The convention is W3C `baggage` with a `mirrord-session=<key>` entry: HTTP filters use `"header_filter": "^baggage: .*mirrord-session={{ key }}.*$"`, and queue splitting filters on a message header or attribute named `baggage`. That only works past the first hop if **every service forwards `baggage` on every outgoing call and every message it publishes**, and every consumer restores it from each message it handles. This skill makes a codebase do that, preferring the observability stack it already has.
4
5## Security Boundaries
6
7> **IMPORTANT:** Follow these rules for all operations in this skill.
8
9- **Code changes only, on a branch:** Edit application code, dependency manifests, and app config in the user's repo. Don't commit to `main`, push, or open PRs unless the user asks.
10- **No infrastructure changes:** Never run `kubectl apply/patch`, `helm upgrade`, `terraform apply`, or cloud CLI commands that modify buckets, topics, queues, subscriptions, or notifications. If a fix needs infra (e.g. a GCS notification payload format, SNS raw delivery), describe it for the user to apply.
11- **Read-only discovery:** `kubectl get`, `aws ... describe/get/list`, `gcloud ... describe/list`, and reading env vars from manifests are fine. Don't read Secret values.
12…

Excerpt shown under the repository's MIT license.

More skills in mirrord

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

cathrynlavery /

diagram-design
66k

Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.

CCCXCUGH1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates