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.
npx skills add nanxiaoyao/network-huawei-skills --skill stack-istackgit clone --depth 1 https://github.com/nanxiaoyao/network-huawei-skillsWrote 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.
[](https://agentmods.dev/skills/nanxiaoyao/network-huawei-skills/stack-istack)<a href="https://agentmods.dev/skills/nanxiaoyao/network-huawei-skills/stack-istack"><img src="https://agentmods.dev/badge/skills/nanxiaoyao/network-huawei-skills/stack-istack/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.
<a href="https://agentmods.dev/skills/nanxiaoyao/network-huawei-skills/stack-istack"><img src="https://agentmods.dev/badge/skills/nanxiaoyao/network-huawei-skills/stack-istack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00120 | $0.02817 |
| Opus 5 | $0.00060 | $0.01409 |
| Sonnet 5 | $0.00024 | $0.00563 |
| Haiku 4.5 | $0.00012 | $0.00282 |
Grade A, and why
stack-istack 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.
华为 S 系列堆叠 iStack 配置技能 (stack-istack)
适用平台 S1720/S2700/S5700/S6720 V200R011C10+ 文档来源 华为产品文档 dc_cfg_istack_*
iStack 把多台物理交换机虚拟成一台逻辑设备 统一管理 跨设备链路聚合 提带宽和冗余
触发场景
- 新建堆叠 / 加堆叠成员
- 堆叠成员上下线
- 堆叠主备倒换
- 堆叠分裂 / 多主检测 MAD
- 堆叠合并
- 跨设备链路聚合配置
- 堆叠升级
- 堆叠口异常 link DOWN
堆叠基本概念
| 角色 | 说明 |
|---|---|
| Master | 主 唯一 控制整个堆叠 |
| Standby | 备 主故障时升主 |
| Slave | 从 转发数据 多个 |
| Stack-Port / Service-Port | 堆叠口 |
| Stack ID | 堆叠成员编号 1-9 |
| Stack Priority | 优先级 数值大优先 默认 100 |
堆叠模式
1 Stack-Port 模式(专用堆叠口)
某些高端机型有专用堆叠卡或端口(如 S6720 后端口)
2 Service-Port 模式(业务口转堆叠)
常用 把业务口物理光口转为堆叠口 适合 S5700/S6720 等
配置六步走(Service-Port 模式)
1 配置堆叠 ID 与优先级
# 第一台 计划做 Master
system-view
stack
stack member 1 priority 200 # 优先级高 当 Master
stack member 1 renumber 1 # 设 ID 为 1(如有需要)
# 第二台
stack
stack member 1 renumber 2 # 设 ID 为 2
stack member 2 priority 150
2 配置堆叠口
# 第一台
interface stack-port 1/1
quit
interface 10GE 1/0/1
shutdown
stack-port 1/1
undo shutdown
quit
# 第二台
interface stack-port 2/1
quit
interface 10GE 1/0/1
shutdown
stack-port 2/1
undo shutdown
3 保存配置并重启
save
reboot
重启后两台设备会建立堆叠 编号统一
4 验证堆叠
display stack
display stack configuration
display stack peers
display device
5 配置 MAD(多主检测 防分裂双主)
方式 A 直连模式(DAD)
两台堆叠成员之间用直连线(MAD 检测口)单独跑 MAD
interface GigabitEthernet 1/0/24
mad detect mode direct
quit
interface GigabitEthernet 2/0/24
mad detect mode direct
方式 B 中继模式(通过聚合口)
通过 Eth-Trunk 上的 mad 协议跨堆叠检测
interface Eth-Trunk 1
mad detect mode relay
方式 C 代理模式
通过外部交换机做 MAD 代理
6 配置跨设备链路聚合
interface Eth-Trunk 10
mode lacp-static
quit
# 一个成员口在堆叠成员 1 上
interface 10GE 1/0/2
eth-trunk 10
# 另一个成员口在堆叠成员 2 上
interface 10GE 2/0/2
eth-trunk 10
对下游表现为一个聚合 实现跨框冗余
命令体系
堆叠管理
| 命令 | 视图 | 说明 |
|---|---|---|
| stack | system | 进入堆叠视图 |
| stack member priority | stack | 优先级 数值大优先 |
| stack member renumber | stack | 改 ID |
| stack member domain | stack | 堆叠域(多个堆叠隔离用) |
| stack slot | system | 单板视图(CE 系列) |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 292 lines · 120 tokens per session scan A cac2bbd3b0c9
stack-istack is a skill published in the GitHub repository nanxiaoyao/network-huawei-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 120 tokens to every session and 2,817 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
percepxion-oob
Manage Lantronix out-of-band (OOB) infrastructure via Percepxion central management platform: device inventory, serial port inspection via SLC CLI, firmware compliance, config management, security auditing, and closed-loop incident remediation. Use during outages, maintenance windows, compliance cycles, and…
meraki-security-appliance
Cisco Meraki MX security appliance (read-only) — L3/L7 firewall rules, content filtering, IDS/IPS and AMP settings, site-to-site VPN, traffic shaping via Cisco's official Meraki MCP. Use when auditing Meraki firewall rules, reviewing content filtering, or inspecting MX VPN configuration.
unifi-wifi
Use when UniFi Wi-Fi is slow, unstable, or being tuned: "my wifi is slow but speedtest on the router is fast", "great signal, terrible speed", "should I use 80MHz or 40MHz", "channel planning", "co-channel interference", "DFS channels", "my APs keep picking the same channel", "audit my SSIDs", "hidden SSID", or…
unifi-connect
Use when connecting an agent to a UniFi gateway (UDM Pro, UDM SE, Cloud Gateway) for the first time, or when API calls to one are failing: empty response bodies, curl returning HTTP 000, 401 on a key that works elsewhere, "how do I get a UniFi API key", "SSH is closed on my UDM", "connect to UniFi", "talk to my UniFi…
unifi-clients
Use when operating on UniFi clients, devices, switch ports, or DHCP: "block a device", "kick a client off wifi", "restart an access point", "power cycle a PoE port", "move a device to a different VLAN", "my device is on the wrong subnet after I changed the port", "set a DHCP reservation", "change DHCP DNS servers"…
unifi-context-map
Use when an agent keeps guessing wrong about a UniFi network, when starting recurring agent work against a gateway, or when asked to "map my network", "document my UniFi setup", "build a network inventory", "what's on my network", "why does the agent keep using the wrong AP", or "audit my reservations against…