aks-network-capture 是什么?
aks-network-capture 在已有只读诊断仍无法判断网络丢包时,按明确节点或 Pod、时长和目标采集 pcap,并收集 Azure 网络配置作为链路层证据。它会用到集群任务与配套脚本,不能当作普通连通性检查随手执行。
中文说明由本站依据来源整理;英文原文保留在页面下方。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
aks-network-capture,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 aks-network-capture
请在 Codex 的当前工作环境中安装并检查 aks-network-capture 这个 Skill。
项目身份:microsoft/azure-skills / aks-network-capture
来源:https://github.com/microsoft/azure-skills/blob/968f7bfaa01672e782dae2c6bab4fb9505ae047a/.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
已定位的源文件:.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 aks-network-capture
请在 Claude Code 的当前工作环境中安装并检查 aks-network-capture 这个 Skill。
项目身份:microsoft/azure-skills / aks-network-capture
来源:https://github.com/microsoft/azure-skills/blob/968f7bfaa01672e782dae2c6bab4fb9505ae047a/.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
已定位的源文件:.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 aks-network-capture
请在 Cursor Agent 的当前工作环境中安装并检查 aks-network-capture 这个 Skill。
项目身份:microsoft/azure-skills / aks-network-capture
来源:https://github.com/microsoft/azure-skills/blob/968f7bfaa01672e782dae2c6bab4fb9505ae047a/.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
已定位的源文件:.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 aks-network-capture
请在 当前 Agent 的当前工作环境中安装并检查 aks-network-capture 这个 Skill。
项目身份:microsoft/azure-skills / aks-network-capture
来源:https://github.com/microsoft/azure-skills/blob/968f7bfaa01672e782dae2c6bab4fb9505ae047a/.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
已定位的源文件:.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- 提供目标集群、节点或 Pod、故障时间和抓包意图,并确认允许的时长、流量与保存位置。环境要允许 Bash/PowerShell、kubectl、必要 az 读取和 Skill 脚本访问。
会得到什么
- 指定 run 的 pcap、对应 Azure 网络配置与实际执行状态,或由操作者执行的范围明确的采集方案。
实际使用顺序
- 先核对宿主能力,再阅读 capture-authorization.md 完成目标绑定与采集授权;不能通过 Azure MCP 绕行执行 kubectl。
- 从 Skill 根目录运行对应 Bash 或 PowerShell setup-capture-configmap,再用 create-capture 创建指定范围的采集。调试容器 fallback 与生成测试流量分别确认,不把抓包意图当作所有变更授权。
- 用 retrieve-captures 获取本次准确 run 的文件,再用 collect-azure-network-info 收集网络配置。失败查看 Job 日志;缺文件或缺证据不能记作采集成功。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
教学任务:使用 aks-network-capture,为我指定 AKS 集群中一个节点到某个已确认目标的丢包问题制定短时抓包方案。先确认目标、过滤范围、时长和工件位置,并说明需要创建的集群对象;本轮只给计划,待批准后再执行。不自行启动调试容器或生成测试流量。预期得到与真实目标绑定的采集方案和授权缺项;本站未抓取任何网络流量。
使用条件与边界
- 只有明确抓包需求且已完成只读检查时使用,不是通用 AKS 入口或 ingress 排障的默认步骤。
- Azure MCP 的 AKS 元数据能力不包含 Kubernetes 命令执行或抓包;缺宿主能力时应交接操作者。
常见问题
装了 Azure MCP 就能自动抓包吗?
不能。源文明确要求额外的 Shell、kubectl、脚本和工件能力;还要完成目标与变更授权。仅有 Azure CLI 工具不足以证明可执行抓包流程。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Collects bounded packet captures from AKS nodes and Azure network configuration for wire-level evidence. WHEN: "capture packets on an AKS node", "take a pcap", "run tcpdump on AKS", "prove where packets drop". Use for explicit packet-capture intent after read-only diagnostics, not general AKS connectivity or ingress troubleshooting.
查看源文件章节 / Source sections
- 原文:AKS Network Capture
- 原文:Quick Reference
- 原文:When to Use This Skill
- 原文:MCP Tools
- 原文:Host Capability Gate
- 原文:Workflow/Steps
- 原文:Error Handling
原文:Quick Reference
| Use | Requires | Safety | | --- | --- | --- | | AKS pcap evidence | `kubectl`; `az` for Azure evidence | Bounded, pinned, least privilege |
原文:When to Use This Skill
Use for explicit packet capture after read-only checks, not generic connectivity failures.
原文:MCP Tools
Azure MCP's AKS area provides cluster and node-pool metadata, not Kubernetes command execution or packet capture.
原文:Host Capability Gate
Before executing the workflow, confirm that the host permits the required Bash or PowerShell execution, `kubectl` access to the bound cluster, `az` for Azure evidence, access to the bundled scripts, and an approved artifact destination. A governed Azure CLI tool alone does not establish that shell, Kubernetes commands, or artifact operations are supported. If a required capability is unavailable or prohibited, state that capture execution is unavailable in this host. Analyze supplied, appropriately redacted evidence or give the operator a target-bound collection/capture plan; do not claim to have run it. Never route `kubectl` through Azure MCP, add an unapproved execution path, or bypass host policy. Host support does not replace the mutation and sensitive-data approvals below. Run bundled scripts from the skill root only after this gate is satisfied.
原文:Workflow/Steps
0. Check host capabilities, then complete [authorization and target binding](references/capture-authorization.md). Capture intent is not mutation consent. Stop for separate approval before any debug-container fallback. 1. Install [Bash](scripts/setup-capture-configmap.sh) / [PowerShell](scripts/setup-capture-configmap.ps1). 2. Capture nodes or pods with [Bash](scripts/create-capture.sh) / [PowerShell](scripts/create-capture.ps1). 3. Generate traffic if approved with [Bash](scripts/generate-test-traffic.sh) / [PowerShell](scripts/generate-test-traffic.ps1). 4. Retrieve the exact run with [Bash](scripts/retrieve-captures.sh) / [PowerShell](scripts/retrieve-captures.ps1). 5. Gather Azure evidence with [Bash](scripts/collect-azure-network-info.sh) / [PowerShell](scripts/collect-azure-network-info.ps1). The ConfigMap runs [run-capture.sh](scripts/run-capture.sh) inside its pinned Linux image.
原文:Error Handling
| Error | Action | | --- | --- | | Invalid input | Correct it before retrying. | | Missing/stale ConfigMap | Run setup again. | | Capture/retrieval failure | Inspect Job logs; missing evidence is not success. |
相同源文件的其他来源(1)
以下 SKILL.md 的文件校验值与本页来源相同,合并保留来源记录。仓库内的其他文件、依赖和安装方式仍需分别核对。
- microsoft/skills / .github/plugins/aks-skills/skills/aks-network-capture/SKILL.md
抓取时间:2026-11-16T12:36:35.145Z
文件 SHA256:afa6c749b8a502cb580b8a5eaee036a288ad0dcfd95da1c7723d5ef1add03087
仓库许可证记录:MIT;skill-declaration-captured-not-interpreted,查看来源。
Collects bounded packet captures from AKS nodes and Azure network configuration for wire-level evidence. WHEN: "capture packets on an AKS node", "take a pcap", "run tcpdump on AKS", "prove where packets drop". Use for explicit packet-capture intent after read-only diagnostics, not general AKS connectivity or ingress troubleshooting.
历史收录数据
| 来源仓库 | microsoft/azure-skills |
|---|---|
| Skill源路径 | .github/plugins/aks-skills/skills/aks-network-capture/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
