Agent Skills › microsoft/azure-skills › aks-network-capture

aks-network-capture

GitHub

在AKS节点上执行受限的包捕获和Azure网络配置收集,用于获取底层网络证据。适用于显式抓包意图,非通用连通性排查。

.github/plugins/aks-skills/skills/aks-network-capture/SKILL.md microsoft/azure-skills

Trigger Scenarios

capture packets on an AKS node take a pcap run tcpdump on AKS prove where packets drop

Install

npx skills add microsoft/azure-skills --skill aks-network-capture -g -y
More Options

Non-standard path

npx skills add https://github.com/microsoft/azure-skills/tree/main/.github/plugins/aks-skills/skills/aks-network-capture -g -y

Use without installing

npx skills use microsoft/azure-skills@aks-network-capture

指定 Agent (Claude Code)

npx skills add microsoft/azure-skills --skill aks-network-capture -a claude-code -g -y

安装 repo 全部 skill

npx skills add microsoft/azure-skills --all -g -y

预览 repo 内 skill

npx skills add microsoft/azure-skills --list

SKILL.md

Frontmatter
{
    "name": "aks-network-capture",
    "license": "MIT",
    "metadata": {
        "author": "Microsoft",
        "version": "1.0.1"
    },
    "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."
}

AKS Network Capture

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

  1. Check host capabilities, then complete authorization and target binding. Capture intent is not mutation consent. Stop for separate approval before any debug-container fallback.
  2. Install Bash / PowerShell.
  3. Capture nodes or pods with Bash / PowerShell.
  4. Generate traffic if approved with Bash / PowerShell.
  5. Retrieve the exact run with Bash / PowerShell.
  6. Gather Azure evidence with Bash / PowerShell.

The ConfigMap runs 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.

Version History

  • cf79ce8 Current 2026-10-19 11:53

Same Skill Collection

.github/plugins/aks-skills/skills/aks-gpu-inference/SKILL.md
.github/plugins/aks-skills/skills/azure-search-nav/SKILL.md
.github/plugins/azure-advisor/skills/azure-advisor-actionability/SKILL.md
.github/plugins/azure-advisor/skills/azure-advisor/SKILL.md
.github/plugins/azure-cost/skills/cost-analysis/SKILL.md
.github/plugins/azure-cost/skills/cost-estimation/SKILL.md
.github/plugins/azure-cost/skills/cost-governance/SKILL.md
.github/plugins/azure-cost/skills/cost-optimization/SKILL.md
.github/plugins/azure-kusto-graph-skills/skills/azure-kusto-irql/SKILL.md
.github/plugins/azure-skills/skills/airunway-aks-setup/SKILL.md
.github/plugins/azure-skills/skills/appinsights-instrumentation/SKILL.md
.github/plugins/azure-skills/skills/azure-ai/SKILL.md
.github/plugins/azure-skills/skills/azure-aigateway/SKILL.md
.github/plugins/azure-skills/skills/azure-cloud-migrate/SKILL.md
.github/plugins/azure-skills/skills/azure-compliance/SKILL.md
.github/plugins/azure-skills/skills/azure-cost/SKILL.md
.github/plugins/azure-skills/skills/azure-kusto/SKILL.md
.github/plugins/azure-skills/skills/azure-quotas/SKILL.md
.github/plugins/azure-skills/skills/azure-resource-visualizer/SKILL.md
.github/plugins/azure-skills/skills/azure-upgrade/SKILL.md
.github/plugins/azure-skills/skills/discover-azure-skills/SKILL.md
.github/plugins/azure-skills/skills/entra-app-registration/SKILL.md
.github/plugins/azure-skills/skills/python-appservice-deploy/SKILL.md
skills/airunway-aks-setup/SKILL.md
skills/appinsights-instrumentation/SKILL.md
skills/azure-ai/SKILL.md
skills/azure-aigateway/SKILL.md
skills/azure-cloud-migrate/SKILL.md
skills/azure-compliance/SKILL.md
skills/azure-cost/SKILL.md
skills/azure-kubernetes/azure-kubernetes-automatic-readiness/SKILL.md
skills/azure-kusto/SKILL.md
skills/azure-quotas/SKILL.md
skills/azure-resource-visualizer/SKILL.md
skills/azure-upgrade/SKILL.md
skills/discover-azure-skills/SKILL.md
skills/entra-app-registration/SKILL.md
skills/python-appservice-deploy/SKILL.md
.github/plugins/aks-skills/skills/aks-known-issues/SKILL.md
.github/plugins/aks-skills/skills/aks-troubleshooting/SKILL.md
.github/plugins/azure-kusto-graph-skills/skills/azure-kusto-graph/SKILL.md
.github/plugins/azure-kusto-graph-skills/skills/azure-kusto-irql-graph/SKILL.md
.github/plugins/azure-local-skills/skills/azure-local-multi-rack/SKILL.md
.github/plugins/azure-local-skills/skills/azure-local/SKILL.md
.github/plugins/azure-skills/skills/azure-app-onboard-prereq/SKILL.md
.github/plugins/azure-skills/skills/azure-app-onboard/SKILL.md
.github/plugins/azure-skills/skills/azure-compute/SKILL.md
.github/plugins/azure-skills/skills/azure-deploy/SKILL.md
.github/plugins/azure-skills/skills/azure-diagnostics/SKILL.md

Metadata

Files
0
Version
cf79ce8
Hash
afa6c749
Indexed
2026-10-19 11:53

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 11:57
浙ICP备14020137号-1