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 ipsec-vpngit 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/ipsec-vpn)<a href="https://agentmods.dev/skills/nanxiaoyao/network-huawei-skills/ipsec-vpn"><img src="https://agentmods.dev/badge/skills/nanxiaoyao/network-huawei-skills/ipsec-vpn/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/ipsec-vpn"><img src="https://agentmods.dev/badge/skills/nanxiaoyao/network-huawei-skills/ipsec-vpn.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.00119 | $0.02443 |
| Opus 5 | $0.00060 | $0.01222 |
| Sonnet 5 | $0.00024 | $0.00489 |
| Haiku 4.5 | $0.00012 | $0.00244 |
Grade A, and why
ipsec-vpn 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 11d 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 — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.
华为 USG IPSec VPN 配置技能 (ipsec-vpn)
适用平台 USG6000E 系列 适用版本 V600R007C20+ 文档来源 HUAWEI USG6000E V600R007C20 产品文档
IPSec VPN 是企业站点到站点 site-to-site 安全互联的标准方案 USG 支持 IKEv1/IKEv2 预共享密钥/证书 多种封装模式 模板方式 智能选路等高级特性
触发场景
- 配置 IPSec VPN 隧道
- 总部与分支站点互联
- IPSec 隧道建不起来
- IKE 协商失败
- NAT 穿越 NAT-T
- 智能选路 多链路备份
- IPSec 模板方式 总部对接多个分支
- 查看 IKE/IPSec SA
IPSec 协商两阶段
第一阶段 IKE SA
- 建立安全管理通道
- 协商 IKE 安全提议 加密 验证 DH 组
- 模式 main 主模式 / aggressive 野蛮模式
- 认证 预共享密钥 PSK / RSA 证书
第二阶段 IPSec SA
- 建立数据传输通道
- 协商 IPSec 安全提议 封装 协议 算法
- 封装 tunnel 隧道模式 / transport 传输模式
- 协议 ESP 加密+完整性 / AH 仅完整性
配置六步走
1 接口 IP 和安全区域 必须先配置 2 安全策略 必须放通 三组域间策略
- 内网 trust 与外网 untrust 双向 加密前后流量
- local 与 untrust 双向 IKE 协商报文 3 IPSec 提议 安全参数 4 IKE 提议与对等体 5 IPSec 策略与待加密数据流 ACL 6 应用策略到接口
命令体系
1 IPSec 提议 ipsec proposal
system-view ipsec proposal transform { esp | ah | ah-esp } esp encryption-algorithm aes-256 esp authentication-algorithm sha2-256 ah authentication-algorithm sha2-256 encapsulation-mode tunnel quit
2 IKE 提议
ike proposal encryption-algorithm aes-256 authentication-algorithm sha2-256 dh group14 authentication-method pre-share | rsa-signature sa duration 86400 prf hmac-sha2-256 quit
3 IKE 对等体
ike peer ike-proposal pre-shared-key cipher remote-address remote-id-type ip | name | fqdn local-id-type ip | name exchange-mode main | aggressive version v1 | v2 | v1v2 nat-traversal dpd interval 30 timeout 120 quit
4 ACL 定义待加密数据流
acl number 3000 rule permit ip source destination quit
5 IPSec 策略
ipsec policy isakmp security acl 3000 ike-peer proposal pfs dh-group14 sa duration time-based 3600 sa duration traffic-based 1843200 quit
6 应用到接口
interface GigabitEthernet 0/0/1 ipsec policy quit
7 模板方式 总部端 适配多分支
ipsec policy-template ike-peer proposal quit ipsec policy isakmp template
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.
- 11d ago First seen · 286 lines · 119 tokens per session scan A ac04359cdd72
ipsec-vpn is a skill published in the GitHub repository nanxiaoyao/network-huawei-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 2,443 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
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
seedance-vocab-zh
This skill should be used when the user asks for Chinese Seedance 2.0 prompt wording, Mandarin cinematic vocabulary, Chinese prompt compression, or translation of camera, lighting, action, VFX, audio, and production terms into Chinese.
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…
fmc-firewall-ops
Cisco Secure Firewall FMC — access policy search, rule inspection, FTD device targeting, multi-FMC profile management. Use when searching firewall rules by IP or FQDN, checking if host A can reach host B through the firewall, auditing FMC access policies, or reviewing SGT-based segmentation rules.
setup-matt-pocock-skills
A setup skill that configures engineering skills for a repository, including its issue tracker, labels, and documentation layout. A repository is the project folder managed by version control.