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 huaweicloud/huaweicloud-skills --skill huawei-cloud-skill-auditgit clone --depth 1 https://github.com/huaweicloud/huaweicloud-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/huaweicloud/huaweicloud-skills/huawei-cloud-skill-audit)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-skill-audit"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-skill-audit/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/huaweicloud/huaweicloud-skills/huawei-cloud-skill-audit"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-skill-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk pass
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.00146 | $0.05699 |
| Opus 5.5 | $0.00058 | $0.02280 |
| Sonnet 5.5 | $0.00029 | $0.01140 |
| Haiku 4.5 | $0.00015 | $0.00570 |
Grade A, and why
huawei-cloud-skill-audit scanned grade A with 1 finding 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 29d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
| `high` | "critical" + "error" severity rules + AST (exec/eval/os.system/反序列化) | Fast | Block high-risk issues | How it starts
The opening of the file, as written. The whole thing — 406 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Huawei Cloud Skill Audit
Three-check security pipeline for auditing Huawei Cloud skills — security gate.
Step 0: Install skill-quality-cli (idempotent, skip if already installed)
先设置
AUDIT_DIR为本 skill 安装目录的绝对路径(export AUDIT_DIR=/path/to/huawei-cloud-skill-audit, 示例:$HOME/.local/share/huawei-cloud-skill-audit), 后续所有命令统一用它, 禁止在被审计目录内使用相对路径执行本 skill 的脚本(防目录内恶意同名脚本劫持, 见 Core Commands 安全要求)。
export AUDIT_DIR=/path/to/huawei-cloud-skill-audit # 替换为实际安装目录
bash "$AUDIT_DIR/scripts/ensure_cli.sh"
⚠️ 强制要求: 本 skill 的任何
hcloud命令必须用skill-quality-cli run --skill-name huawei-cloud-skill-audit --包裹, 禁止裸调 hcloud。(Mandatory: barehcloudcalls are strictly forbidden.)安装行为说明:
- 已装且可用 → 静默跳过; 未装 → 从华为云 OBS(HTTPS) 下载官方包(wrapper + ELF + Python fallback, low-GLIBC 兼容)安装到
~/.local/bin/。- 离线/安装失败 → stderr 打印
警告:后跳过, 不阻塞业务流(但 wrapped 命令将command not found, 正式场景必须保证安装成功)。- 调试/离线场景可用裸命令
python3 "$AUDIT_DIR/scripts/skill_audit.py" ...(见 Core Commands 安全要求与统一说明)。
Overview
Scan a single Huawei Cloud skill directory or a folder of skills, run three security gates, and generate a structured report with issue details and fix strategies.
Three checks:
| # | Tool | Check Content | Implementation |
|---|---|---|---|
| 1 | skillspector | AI skill security scanner: 52 rules / 609 patterns across 18 categories (prompt injection, data exfiltration, privilege escalation, supply chain, behavioral AST, taint tracking, MCP analysis, YARA) | Built-in (pure Python, 52 rules + AST analysis) |
| 2 | gitleaks | Credential leak scan: 43 rules detecting hardcoded API keys, passwords, private keys, tokens | Built-in (pure Python, 43 rules + Shannon entropy) |
| 3 | runtime_security | CWE high-risk runtime patterns: 36 rules (command injection, deserialization, credential theft, sandbox escape, persistence, destructive ops, mining) + 3 skill-quality rules (Q001-Q003) | Built-in (pure Python, level-independent, all rules always run) |
What ships with it
31 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.
- .gitignore 6 B
- .markdownlint.json 323 B
- references/acceptance-criteria.md 1.4 KB
- references/cli-installation-guide.md 1.4 KB
- references/gitcode-security-scanner.md 3.0 KB
- references/iam-policies.md 2.4 KB
- references/security-audit-guide.md 2.9 KB
- references/verification-method.md 1.9 KB
- scripts/check_protocol.py 4.4 KB runs code
- scripts/check_registry.py 5.0 KB runs code
- scripts/checks/__init__.py 35 B runs code
- scripts/checks/gitleaks_builtin_check.py 8.4 KB runs code
- scripts/checks/gitleaks_check.py 2.1 KB runs code
- scripts/checks/gitleaks_rules.json 19 KB
- scripts/checks/hwcloud_spec_check.py 1.4 KB runs code
- scripts/checks/llm_arbiter.py 7.6 KB runs code
- scripts/checks/markdownlint_check.py 2.0 KB runs code
- scripts/checks/runtime_security_check.py 11 KB runs code
- scripts/checks/runtime_security_rules.json 20 KB
- scripts/checks/skill_quality_rules.json 1.9 KB
- scripts/checks/skillcheck_check.py 2.7 KB runs code
- scripts/checks/skillspector_builtin_check.py 28 KB runs code
- scripts/checks/skillspector_check.py 3.0 KB runs code
- scripts/checks/skillspector_rules.json 95 KB
- scripts/cli/cli_entry.py 19 KB runs code
- scripts/cli/cli_reporting.py 33 KB runs code
- scripts/ensure_cli.sh 725 B runs code
- scripts/hcloud-run.sh 1.5 KB runs code
- scripts/install_cli.sh 2.1 KB runs code
- scripts/skill_audit.py 22 KB runs code
- skillcheck.toml 106 B
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.
- 29d ago Changed · +17 lines · +10 tokens per session 3e168c2b1225
- 1mo ago Changed · +2 lines c6ab74f4e8cc
- 1mo ago Changed · -72 lines scan C → A 8760f0786735
- 1mo ago Changed · +14 lines 76b139a9d926
- 1mo ago Changed · +51 lines scan A → C 547b20b83a25
- 1mo ago Changed 8124e8cdcd26
- 1mo ago Changed · +43 lines 759c3d683a2d
- 1mo ago First seen · 351 lines · 136 tokens per session scan A c86e516e532e
huawei-cloud-skill-audit is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 146 tokens to every session and 5,699 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
cocoaudit
View and export the append-only session audit trail for regulated environments.
Document Compliance Audit
Audit a vendor agreement or contract: extract key clauses, check that required clause categories are present, flag compliance gaps and risks, and emit a structured audit summary. Use for compliance, contract review, audit, and vendor agreement requests.
audit-export
Export the full CocoAudit trail as a stakeholder-ready compliance document.
soc2-expert
Expert in SOC 2 compliance, trust service criteria, audit preparation, controls implementation, and security frameworks. Use when the user mentions compliance, audit, trust services, AICPA, controls, or security framework, or when the task involves Trust Service Criteria, SOC 2 Types, Security Common Criteria, or…
audit-expert
Expert-level security auditing, compliance, code review, and vulnerability assessment. Use when the user mentions compliance, security review, code review, vulnerability assessment, SOC 2, or GDPR, or when the task involves Audit Types, Audit Frameworks, Audit Process, or Authentication Review.
air-blackbox-sales-agent
AIR Blackbox's autonomous sales prospecting agent. Finds Python AI projects on GitHub that need EU AI Act compliance, identifies the right person to contact (CEO, CTO, lead maintainer), runs a free compliance scan, and drafts personalized outreach emails that convert to engagement. The sales flow: free scan as the…