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 security-policygit 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/security-policy)<a href="https://agentmods.dev/skills/nanxiaoyao/network-huawei-skills/security-policy"><img src="https://agentmods.dev/badge/skills/nanxiaoyao/network-huawei-skills/security-policy/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/security-policy"><img src="https://agentmods.dev/badge/skills/nanxiaoyao/network-huawei-skills/security-policy.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.00134 | $0.02698 |
| Opus 5 | $0.00067 | $0.01349 |
| Sonnet 5 | $0.00027 | $0.00540 |
| Haiku 4.5 | $0.00013 | $0.00270 |
Grade A, and why
security-policy 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 — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.
华为 USG 安全策略配置技能 (security-policy)
适用平台: USG6000E 系列(USG6300E/6500E/6600E/6680E/6712E/6716E) 适用版本: V600R007C20 及以上 文档来源: HUAWEI USG6000E V600R007C20 产品文档
安全策略是 USG 防火墙的核心功能,控制不同安全区域间流量的转发或阻断。本技能覆盖安全策略的完整生命周期:创建、修改、移动、复制、删除、查看、排错。
触发场景
用户描述以下任一需求时加载此技能:
- "配置安全策略" / "放通某个区域的流量"
- "创建一条安全策略规则"
- "安全策略默认动作" / "default action"
- "查看安全策略命中"
- "安全策略不生效" / "策略排错"
- "策略组" / "policy group"
- "基于用户/应用/地址的安全策略"
不适用: NAT 策略(→ nat-config/)、认证策略(→ auth-policy)、IPS/AV 内容安全配置(→ content-security/,但安全策略中引用 profile 属本技能)
核心概念
安全策略工作流
流量进入 → 匹配源安全区域 → 逐条匹配规则(从上到下)→ 命中 → 执行动作(permit/deny)
→ 未命中 → 执行默认动作(default action)
匹配要素(七元组)
| 要素 | 命令 | 说明 |
|---|---|---|
| 源安全区域 | source-zone |
流量进入的区域 |
| 目的安全区域 | destination-zone |
流量去往的区域 |
| 源地址 | source-address |
源 IP / 地址组 / 地址集 |
| 目的地址 | destination-address |
目的 IP / 地址组 / 地址集 |
| 服务 | service |
协议+端口(HTTP/DNS/自定义等) |
| 应用 | application |
应用层识别(微信/钉钉等) |
| 用户 | user / access-authentication |
基于用户或用户组的策略 |
规则匹配顺序
从上到下,先命中先生效。规则顺序至关重要。
命令参考
1. 进入安全策略视图
system-view
security-policy ← 进入安全策略视图
[sysname-policy-security]
2. 创建规则
security-policy
rule name <rule-name> ← 创建/进入规则
source-zone <zone-name> ← 源安全区域(可配多条)
destination-zone <zone-name> ← 目的安全区域
source-address <ip> <mask> ← 源地址(或地址组)
source-address address-set <name>← 源地址集
destination-address <ip> <mask> ← 目的地址
destination-address address-set <name>
service <service-name> ← 服务(可配多条)
service protocol <tcp|udp> source-port <port> destination-port <port>
application <app-name> ← 应用识别
action permit ← 动作:permit 或 deny
description <text> ← 规则描述(可选)
profile <profile-name> ← 引用内容安全 profile(可选)
policy logging ← 开启命中日志
enable ← 启用规则
3. 排除地址
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 · 290 lines · 134 tokens per session scan A f45912cafc94
security-policy is a skill published in the GitHub repository nanxiaoyao/network-huawei-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 134 tokens to every session and 2,698 once invoked, about $0.0007 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.