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-icp-preapproval-checkgit 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-icp-preapproval-check)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-icp-preapproval-check"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-icp-preapproval-check/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-icp-preapproval-check"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-icp-preapproval-check.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.00047 | $0.02662 |
| Opus 5.5 | $0.00019 | $0.01065 |
| Sonnet 5.5 | $0.00009 | $0.00532 |
| Haiku 4.5 | $0.00005 | $0.00266 |
Grade A, and why
huawei-cloud-icp-preapproval-check 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 1mo 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 — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ICP 备案前置审批检查
概述
本 Skill 用于核对单位名称和经营范围是否命中华为云 ICP 备案规则中的前置审批关键词。根据匹配结果,自动输出需提交的前置审批材料清单(含审批类型、审批文件、批复单位、"不涉及"承诺书模板及操作提示)。
与 huawei-cloud-icp-rule-consult 的区别:icp-rule-consult 是通用的 ICP 备案规则咨询 Skill(流程、材料、变更、接入、注销等 130+ 问答),而本 Skill 专注于前置审批关键词的精准匹配和材料清单生成,不处理备案流程等其他咨询问题。两者职责互不重叠。
前置条件
- Python 3.8+,字面命令
python指向真实解释器 - 所有规则数据随包静态携带,无需联网、无需 API Key
- OCR 兜底(可选):需提前安装
rapidocr_onnxruntime,详见"营业执照 OCR 兜底"章节
CLI 说明:本 Skill 不提供 KooCLI 命令,全部功能通过 Python 脚本实现,因此不涉及
--cli-region参数。
核心边界
仅依据用户提供的单位名称、完整经营范围和备案省份,使用本 skill 内的华为云备案规则做关键词初筛。不得写成行政许可、法律结论或备案通过保证。全国行业规则决定审批类型、证件和批复单位;省级规则决定属地关键词和“不涉及”模板。名称明确为通用“不涉及前置审批”模板时,可供全国明确词和复核词命中的任一类别在同省使用;带教育、文化、金融、新闻等类别限定的模板仍只用于原类别。禁止跨省套用模板。
工作流(4 步)
Step 1: 确认输入完整性
必须同时具备单位名称、完整经营范围和备案省份。三项齐全后进入下一步;缺失时向用户索取,不猜测。
Step 2: OCR 识别(可选)
用户提供了营业执照图片但未提供文本字段时,优先使用智能体原生 OCR 识别三项内容;不支持或识别失败时,运行 Python OCR 脚本作为兜底。
python <技能目录>/scripts/ocr_license.py --image <营业执照图片路径> --pretty
OCR 输出 province_candidates 需人工确认;地址省份不一定等于备案省份。
Step 3: 运行前置审批检查
使用校验后的文本输入运行随附检查脚本,执行全局和行业关键词比对。
python <技能目录>/scripts/check_preapproval.py --company-name <单位名称> --province <备案省份> --province-source <省份来源> -- <经营范围原文>
Step 4: 输出结果
完整原样返回脚本标准输出,包含基本信息表、前置审批材料表和免责声明。命中时逐行列出审批类型、命中文档、材料、审批文件、批复单位、承诺书模板和提示信息;未命中时保留表头并提示"未命中当前华为云备案规则中的关键词"。
结果异常情况:
- 输出"未提供…对应模板"且用户要求排查不一致时,先运行
--diagnose诊断 - 脚本失败时只转述标准错误,不做猜测
- 文本输入必须同时包含单位名称、完整经营范围和备案省份;营业执照图片必须可靠识别三项,不能猜字。
- 省份来源只传
用户提供或执照识别。 - 单位名称和经营范围同等参与判断。同一材料行合并两处命中词并稳定去重。
不含、不包括、不涉及、不提供控制的后续片段、xxx除外以及句首/括号内用于排除主体类型的非……广播电台/电视台/出版单位/新闻单位/媒体短语不参与经营范围匹配;只排除该表达控制的内容。普通业务修饰语如非营利性网络出版服务不因出现非而排除。- 网站/App 名称、内容和功能不在输入时保留人工核实边界,不补写业务。
- 省级字面规则或省级专项政策与全国规则覆盖同一处文字时,优先显示省级结果,不再另行显示该处文字触发的全国类别。同一全国关键词在单位名称或经营范围中还有未被省级词覆盖的独立出现位置时,仍保留全国结果。优先级按文字位置判断,不因命中任意省级规则就关闭全部全国规则。
- 备案省份为吉林或四川时,吉林和四川不匹配药品和医疗器械类前置审批;
药、药品、医疗器械、互联网药品信息服务和药品信息服务均不生成该类别结果。 图书管理服务在全国范围内不参与前置审批关键词匹配;只屏蔽这一完整短语,独立出现的图书、互联网图书、网络出版服务等出版业务词仍按规则判断。- 江西省“增值电信业务、道路运输”规则将
道路货物运输作为道路运输的省级匹配别名;该别名不用于其他省份。
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.
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.
- 1mo ago First seen · 156 lines · 47 tokens per session scan A 5cb3b999b951
huawei-cloud-icp-preapproval-check is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed 4d ago), licensed MIT. It adds 47 tokens to every session and 2,662 once invoked, about $0.0002 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-10-31.
huawei-cloud-icp-preapproval-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| huawei-cloud-icp-preapproval-checkhuaweicloud/huaweicloud-skills | Skill | 59 | 4d ago | MIT | A | 47 | Codex |
| fto-triageanthropics/claude-for-legal | Skill | 10k | 6d ago | Apache-2.0 | A | 81 | Claude Code |
| specification-writingwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | yesterday | MIT | A | 49 | Claude Code |
| legal-holdanthropics/claude-for-legal | Skill | 10k | 6d ago | Apache-2.0 | A | 68 | Claude Code |
| terms-of-servicegenspark-ai/genoffice | Skill | 13k | 3d ago | Apache-2.0 | A | 32 | Claude Code, Codex |
| regulatory-research-fallbackHKUDS/OpenSpace | Skill | 8.1k | 18d ago | MIT | A | 20 | Claude Code, Codex |
| x-scorecardx-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 57 | Claude Code, Codex |