mirrord-propagation-discovery
metalbear-co/mirrord/mirrord/mcp/corpus/skills/mirrord-propagation-discovery
Scans a live Kubernetes environment with `mirrord dump` to find an identifier mirrord can filter traffic on: a header, a `baggage` or `tracestate` member, a tenant or user id, a trace id (W3C, B3, X-Ray, Google, Jaeger), a JWT claim, a cookie, a path segment, or a JSON body field that is present on every hop of a request chain, unique to one developer's traffic, and settable by that developer. Runs mirror-only dumps on each service, sends a tagged probe request at the edge or observes real traffic, scores the candidates, and produces the matching `http_filter` (regex, jq on headers, path, method, body, or combinations) plus a per-hop report of where each identifier is dropped. Installs the mirrord CLI through a package manager when it is missing. Use when the user asks what to filter on, whether the cluster already propagates a request id or trace context, how to isolate their own requests on a shared staging cluster, how to filter on a JWT or cookie with mirrord, or wants to inspect live traffic with mirrord dump. Changes no application code: propagation gaps go to the mirrord-header-propagation skill.
把下面的话发给 Claude Code、Codex 或 Cursor。智能体会先检查内容,经你确认再安装。
请帮我安装这个 Agent Skill:https://github.com/metalbear-co/mirrord/tree/main/mirrord/mcp/corpus/skills/mirrord-propagation-discovery 1. 先读取该目录下的 SKILL.md 和其他文件,检查是否有可疑内容(执行未知脚本、读取密钥、向外发送数据等),用中文告诉我它会做什么、需要哪些权限; 2. 等我确认后,再把整个目录安装到 ~/.claude/skills/mirrord-propagation-discovery/(如果你不是 Claude Code,安装到你自己约定的 skills 目录); 3. 安装后告诉我怎么触发它。
安装到个人 Skill 目录(对所有项目生效)。只想在当前项目用,改为 .claude/skills/。
git clone --depth 1 --filter=blob:none --sparse https://github.com/metalbear-co/mirrord.git /tmp/mirrord-propagation-discovery-src cd /tmp/mirrord-propagation-discovery-src && git sparse-checkout set "mirrord/mcp/corpus/skills/mirrord-propagation-discovery" mkdir -p ~/.claude/skills && cp -r "mirrord/mcp/corpus/skills/mirrord-propagation-discovery" ~/.claude/skills/mirrord-propagation-discovery
Skill 可以让智能体执行脚本。安装第三方 Skill 前务必看一遍内容,详见「安全」一课。
SKILL.md
在 GitHub 查看正在从 GitHub 读取……