huawei-waf-aad

huawei-waf-aad is a skill for Claude Code from huaweicloud/huaweicloud-devkit. It costs 82 tokens per session (692 once invoked), scanned A, original, Apache-2.0.

A Huawei Cloud guide for configuring Web Application Firewall (WAF) rules and Anti-DDoS (AAD) protection. WAF filters harmful web traffic, while AAD helps protect against distributed denial-of-service attacks.

In plain words
What is it for?
Use it to list WAF instances and policies, create custom rules, manage IP allowlists and blocklists, set rate limits, and configure AAD protection.
Why use it?
It helps avoid incorrect cloud commands and common setup mistakes, such as pointing DNS to the wrong endpoint or using the wrong protection level.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the huaweicloud-devkit plugin — 27 skills, 1 hook shipped together

Good fit Use it to list WAF instances and policies, create custom rules, manage IP allowlists and blocklists, set rate limits, and configure AAD protection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-devkit/huawei-waf-aad
Install

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.

Any agent
npx skills add huaweicloud/huaweicloud-devkit --skill huawei-waf-aad
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-devkit

Made for: Claude Code.

Or install huaweicloud-devkit, the plugin that ships this one along with the rest of its 27 skills, 1 hook.

Wrote 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.

agentmods badge for huawei-waf-aad

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huawei-waf-aad/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huawei-waf-aad)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huawei-waf-aad"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huawei-waf-aad/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.

agentmods 80×15 button for huawei-waf-aad

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huawei-waf-aad"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huawei-waf-aad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 692 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.00692
Opus 5 $0.00041 $0.00346
Sonnet 5 $0.00016 $0.00138
Haiku 4.5 $0.00008 $0.00069

Measured 7d ago against content hash 40882e34b43a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

huawei-waf-aad 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 7d 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.

plugins/huaweicloud-core/skills/huawei-waf-aad/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Huawei Cloud WAF / AAD

STOP - Do not answer from general knowledge. Follow the procedure below.

Always run hcloud WAF <Operation> --help before constructing commands to discover exact parameter names and requirements. For AAD operations, use hcloud AAD --help.

Overview

Domain expertise for WAF and Anti-DDoS. Covers WAF policy/rules, AAD protection, IP whitelist/blacklist, and rate limiting.

Critical Warnings

Trap Why
WAF needs CNAME redirect DNS must point to WAF endpoint, not server IP
Premium instance required Cloud WAF needs a dedicated/premium WAF instance
AAD Standard vs Enterprise Standard protects single IP. Enterprise protects entire IP ranges
Rule order matters WAF rules evaluated top-to-bottom within a policy

Common Workflows

WAF

Task Operation
List WAF instances ListCompositeHosts --cli-region=<r> --project_id=<p>
List policies ListPolicy --cli-region=<r> --project_id=<p>
Create custom rule BatchCreateCustomRule --cli-region=<r> --project_id=<p>
Create IP blacklist BatchCreateWhiteblackipRule --cli-region=<r> --project_id=<p>
Create CC rule BatchCreateCcRule --cli-region=<r> --project_id=<p>
Create geo rule BatchCreateGeoIpRule --cli-region=<r> --project_id=<p>

AAD

# List AAD instances (requires --cli-region=cn-north-4 or ap-southeast-1)
hcloud AAD ListInstance --cli-region=<r> --project_id=<p>

# List DDoS attack events
hcloud AAD ListDDoSAttackEvent --cli-region=<r> --project_id=<p>

Read the full file on GitHub · 67 lines

Changes

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.

  1. 7d ago Changed · +3 lines 40882e34b43a
  2. 11d ago First seen · 64 lines · 82 tokens per session scan A 4b170960b150

Subscribe to this mod's changes

huawei-waf-aad is a skill published in the GitHub repository huaweicloud/huaweicloud-devkit (47 stars, last pushed today), licensed Apache-2.0. It adds 82 tokens to every session and 692 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

fastapi

Use when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0, OAuth2/JWT, ASGITransport tests, production wiring. NOT language-level Python or packaging (that is python), NOT engine-level SQL (that is…

ericrisco/rsc-harness · 94 tokens

aws-essentials

Use when standing up the core AWS surface a small product needs: hardening a fresh account, a private S3 bucket, encrypted RDS Postgres, ECS Fargate vs EC2, CloudFront + OAC, or scoping an IAM policy to least privilege. NOT the CI pipeline that ships the container (that is deployment), NOT app-code access-control…

ericrisco/rsc-harness · 89 tokens

fly-io

Use when deploying or operating an app on Fly.io — writing fly.toml, placing Machines in regions near users, attaching Volumes, managing secrets, or picking a scaling lever (autostop/autostart, scale count, fly-replay). NOT choosing which host to deploy on (that is deployment), NOT a git-push PaaS with no regions…

ericrisco/rsc-harness · 87 tokens

netlify

Use when deploying or operating a site on Netlify — writing or fixing netlify.toml, authoring Functions or Edge Functions, redirects, rewrites and headers, env vars per deploy context, and shipping via the Netlify CLI. NOT deploying to Vercel (that is vercel).

ericrisco/rsc-harness · 63 tokens

frontmcp-deployment

Use when deploying, building for production, packaging, or shipping a FrontMCP server. Covers build targets (node, cli SEA binary, browser, embeddable SDK, mcpb archive for Claude Desktop, serverless) and deploying to Vercel (with Vercel KV), AWS Lambda (API Gateway, SAM, CDK), Cloudflare Workers (KV, D1, Durable…

agentfront/frontmcp · 210 tokens

huawei-cloud-solution-ops

A skill for Huawei Cloud solution operations. It helps agents inspect, plan, operate, troubleshoot, and verify Huawei Cloud resources through hcloud, Huawei Cloud SDKs, Terraform, and MaaS capabilities. Use this when users want to query or change Huawei Cloud resources, troubleshoot authentication and API issues…

huaweicloud/huaweicloud-skills · 81 tokens