huawei-cloud-waf-false-alarm-diagnosis

huawei-cloud-waf-false-alarm-diagnosis is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 265 tokens per session (5,645 once invoked), scanned A, original, MIT.

A read-only workflow for investigating Huawei Cloud Web Application Firewall blocks. A WAF filters web requests, and this workflow traces a blocked request to the event and rule that stopped it.

In plain words
What is it for?
It finds blocking events, checks the request and matching rule, follows rule priority, and suggests a safe way to allow a false positive. It then rechecks the event and provides rollback guidance.
Why use it?
It helps distinguish a real attack from a normal request incorrectly blocked by a security rule. It identifies the cause without changing WAF settings itself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It finds blocking events, checks the request and matching rule, follows rule priority, and suggests a safe way to allow a false positive. It then rechecks the event and provides rollback guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-false-alarm-diagnosis
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-skills --skill huawei-cloud-waf-false-alarm-diagnosis
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

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-cloud-waf-false-alarm-diagnosis

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-false-alarm-diagnosis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-false-alarm-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 265 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,645 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.
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.00265 $0.05645
Opus 5.5 $0.00106 $0.02258
Sonnet 5.5 $0.00053 $0.01129
Haiku 4.5 $0.00026 $0.00564

Measured 24d ago against content hash 597e4d353457, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-cloud-waf-false-alarm-diagnosis 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 24d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/ensure_cli.sh, scripts/install_cli.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/security/waf-aad/huawei-cloud-waf-false-alarm-diagnosis/SKILL.md · 280 lines

How it starts

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

Huawei Cloud WAF False Alarm Diagnosis (huawei-cloud-waf-false-alarm-diagnosis)

Overview

This skill is a read-only diagnosis workflow for Huawei Cloud WAF (Web Application Firewall) false-positive blocking. It follows a standardized path:

Locate blocking event → Judge whether it is a false positive → Walk the rule priority chain to pinpoint the blocking rule → Recommend the safest release method (with ready-to-run hcloud commands) → Verify by re-querying events → Output conclusion + rollback guide.

It is designed for troubleshooting scenarios where customers report:

  • "Normal requests are blocked by WAF / return HTTP 418 / the page won't open"
  • "Why is this API/interface blocked?"
  • "A certain request is intercepted by WAF and I want to know which rule hit it"

Read-Only Principle — STRICTLY ENFORCED

This skill only performs query/read operations. It never executes Create*, Update*, Delete*, or any write/mutating WAF operation itself.

Action Allowed?
Query hosts/policies (ListHost, ListCompositeHosts, ListPolicy, ShowPolicy) ✅ YES
Query attack events (ListEvent, ShowEvent) ✅ YES
Query rules across the priority chain (ListIgnoreRule, ListWhiteblackipRule, ListGeoipRule, ListCustomRules, ListPunishmentRules, ListAnticrawlerRules, ListCcRules, ListPolicyProtectRules, ListWebBasicProtectionRules) ✅ YES
Analyze payload / judge false positive (local logic) ✅ YES
Output ready-to-run hcloud release/rollback commands for the user to execute themselves ✅ YES
Execute any write command on behalf of the user ❌ NEVER

If the user asks the agent to actually apply a whitelist / switch protection mode, tell them the read-only boundary of this skill and hand over the exact command; actual rule changes belong to dedicated WAF rule-management skills (the agent should orchestrate the appropriate one).

Applicable Scenarios

  • Customer reports normal business requests blocked / 418 / page won't open
  • Interface / domain returns unexpected block from WAF
  • Need to verify which WAF rule caused the interception and decide whether it is a false positive

Read the full file on GitHub · 280 lines

Files

What ships with it

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

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. 24d ago First seen · 280 lines · 265 tokens per session scan A 597e4d353457

Subscribe to this mod's changes

huawei-cloud-waf-false-alarm-diagnosis is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed 4d ago), licensed MIT. It adds 265 tokens to every session and 5,645 once invoked, about $0.0011 per session on Opus 5.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-11-06.

Related

huawei-cloud-waf-false-alarm-diagnosis compared with skills from other repositories

huawei-cloud-waf-false-alarm-diagnosis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
huawei-cloud-waf-false-alarm-diagnosishuaweicloud/huaweicloud-skillsSkill594d agoMITA265Claude Code, Codex
diagnose-electrical-faultjeffreytse/grimoire-coreSkill96d agoMITA62Claude Code
troubleshootingchaterm/terminal-skillsSkill609mo agoApache-2.0A11Claude Code, Codex
debugging-strategieschainlesschain/chainlesschainSkill1115d agononeA15Claude Code
DebuggerRazaib-khan/ForgeWeaveSkill15mo agoMITA20Claude Code
avatar-troubleshootfirstdebug/avatar-platformSkill52mo agononeA47Claude Code
tao-analyze-gaps-vlm-bcqNVIDIA/skillsSkill4.2k2d agoApache-2.0A83Claude Code