Huawei Cloud · ICP Filing Q&A
Built-in ICP Filing knowledge base, providing direct retrieval-based Q&A.
Prerequisites
External Dependencies (Required for Search Fallback)
This Skill will call agent-reach's Exa search for completion when the knowledge base cannot cover the question.
Why it's needed: The search capability is provided by agent-reach; this Skill only handles judgment logic and output format.
Installation Method (copy for AI to execute):
Help me install Agent Reach: https://raw.githubusercontent.com/Panniantong/agent-reach/main/docs/install.md
After installation, verify:
bash
mcporter call 'exa.web_search_exa(query: "test", numResults: 1)'
If you encounter issues during installation, refer to
agent-reach Troubleshooting.
Knowledge Base Preparation
This Skill comes with an ICP Filing knowledge base located in the
directory:
- : Knowledge base document index (pre-generated, ready to use out of the box)
- : Directory of original Markdown documents
To update the knowledge base content:
- Update the Markdown files in the directory
- Run
python scripts/build_index.py
to regenerate the index
Environment Check
Ensure the following paths are accessible:
bash
# Check skill directory structure
ls -la <skill-dir>/
# Check knowledge base directory
ls -la <skill-dir>/kb/
Where
is the installation directory of this Skill.
Trigger Conditions
Activated when all the following conditions are met:
- User mentions "Huawei Cloud" or "Huawei Cloud ICP"
- And mentions one of the following keywords:
- Filing-related: Filing, filing process, filing materials, filing conditions, filing review, filing rejection, filing cancellation, filing change
- Resource-related: Authorization code, filing authorization code
- Question types: FAQ, common questions, issues, how to
- Specific scenarios: New website, domain filing, individual filing, enterprise filing, branch filing
Example Questions:
- "What materials do I need to prepare for Huawei Cloud ICP Filing?"
- "What should I do if my filing is rejected?"
- "How is the authorization code generated?"
- "Can a branch file for filing under the parent company's account?"
- "What's the difference between individual filing and enterprise filing?"
- "What should I do if the ECS filing limit is exceeded?"
Retrieval Process
Step 1: Read index.json
First, read
to understand which documents are in the knowledge base, as well as the type and summary of each document.
Step 2: Semantic Matching to Select Documents
Based on the semantics of the user's question, select the most relevant 1-3 documents from index.json.
Matching criteria:
- : Document title
- : Case type tags
- : Document summary (generated by LLM)
- Core intent of the user's question (e.g., "materials" → find documents related to materials)
Step 3: Read Selected Documents
Read the original Markdown documents selected in index.json.
Step 4: Extract Relevant Paragraphs
Find the paragraphs/sections most relevant to the user's question from the original document content.
Step 5: Assemble Answer
Assemble the answer according to the response format.
Step 6: Search Fallback (Conditional Trigger)
Enable web search completion in the following scenarios (see references/search-fallback.md):
| Trigger Condition | Action |
|---|
| Low relevance of knowledge base retrieval results (<0.3) or no results | Search immediately |
| Knowledge base content was published more than 6 months ago | Search for latest policy comparisons |
| User explicitly asks about "latest" or "recent" information | Search for latest developments |
When using search fallback:
- Construct Query:
Huawei Cloud ICP Filing + [core keywords] + 2026
- Call
mcporter call 'exa.web_search_exa(query: "...", numResults: 3)'
- Append a
**Web Supplement** (for reference only)
section at the end of the answer
- Must include a disclaimer
Parameter Confirmation
This Skill is in pure Q&A mode, with no external parameters requiring user confirmation.
However, during retrieval, it will automatically infer based on the semantics of the user's question:
- Filing type: Individual filing / Enterprise filing
- Filing stage: Initial filing / New website addition / Filing change / Filing cancellation
- Question category: Material consultation / Process consultation / Rejection consultation / Authorization code consultation
If the user's question is ambiguous, actively ask for clarification.
Boundary Definition
Questions to Answer
- ICP Filing processes, steps, precautions
- Filing material preparation (individual/enterprise)
- Filing conditions, restrictions, resource requirements
- Common questions, rejection reasons and solutions
- Authorization code usage rules, generation methods
- Review status tracking
- Filing change, cancellation, migration processes
- Administration policies, region selection rules
Questions Not to Answer
| Scenario | Rejection Response |
|---|
| Filing for other clouds (Alibaba Cloud, Tencent Cloud, AWS) | "This is the Huawei Cloud ICP Filing knowledge base. I'm not familiar with the situation of other cloud platforms. Please refer to the official documents of the corresponding platform." |
| Technical issues unrelated to filing | "This question is beyond the scope of ICP Filing. Please consult via ticket or customer service (950808 ext. 3)." |
| Pricing, purchase, renewal-related questions | "For such questions, please contact Huawei Cloud sales or check the product pricing page." |
| Content not included in the knowledge base | "Sorry, this information is not currently included in the knowledge base. Please contact Huawei Cloud customer service at 950808 ext. 3 for consultation." |
Output Format
Standard Format (Briefing Style)
## ICP Filing · [Question Topic]
**Conclusion**: One-sentence direct answer to the user's core question
**Key Facts**:
· Point 1 (from XXX document #section)
· Point 2
· Point 3
**Applicable Scenarios**: [Supplement applicable scope or prerequisites]
**Operation Recommendations**:
1. Executable step 1 (brief description)
2. Executable step 2 (brief description)
3. If needed, guide to the console or manual customer service
**Source**: [document path.md]
Example
Question: What materials do I need to prepare for individual filing?
Answer:
## ICP Filing · Individual Filing Materials
**Conclusion**: Individual filing requires original ID card and mobile phone; some provinces require a backdrop photo.
**Key Facts**:
· Individual filing materials: Original ID card, mobile phone, backdrop photo (required in some provinces such as Guizhou, Hunan, etc.)
· Website content restrictions: Websites under individual filing cannot involve commercial content
· Authenticity verification: The internet information service responsible person must complete live authentication and signature
· Region selection: Select the filing province based on ID card location or actual residence
**Applicable Scenarios**: Initial filing, new website/App filing
**Operation Recommendations**:
1. Log in to the Huawei Cloud Console and enter the ICP Filing page
2. Prepare original ID card and mobile phone (backdrop photo required in some provinces)
3. The responsible person must complete live authentication and signature confirmation
4. If you have any questions, you can call the customer service hotline 950808 ext. 3
**Source**: faq/备案材料咨询.md
Index Structure (index.json)
json
{
"version": "1.0",
"generated_at": "2026-07-06T10:00:00",
"total_docs": 20,
"docs": [
{
"path": "faq/备案常见问题.md",
"type": "faq",
"title": "备案常见问题",
"case_types": ["备案常见问题", "备案材料咨询", "备案流程咨询", "备案驳回咨询"],
"summary": "汇总ICP备案常见问题,涵盖授权码使用限制、资源备案次数上限、实名核验要求等。"
}
]
}
Reference Documents
| Document | Description |
|---|
| references/cli-installation-guide.md | CLI Installation Guide (This Skill is Q&A-type, no CLI involved) |
| references/iam-policies.md | IAM Permission Policies (This Skill is Q&A-type, no cloud API permissions required) |
| references/verification-method.md | Verification Methods: Environment check, function verification, performance verification |
| references/acceptance-criteria.md | Acceptance Criteria: Function acceptance, quality acceptance, security acceptance |
| references/search-fallback.md | Search Fallback Strategy: Web search completion solution when knowledge base has no results |
Best Practices
- Do not guess: If there is no clear answer in the knowledge base, honestly say "not included" instead of making up information
- Indicate source: Each key fact must indicate the source document to enhance credibility
- Control length: Keep answers concise, do not copy the entire document, highlight parts relevant to the question
- Consistent terminology: Use terminology consistent with the Huawei Cloud Console (e.g., "filing authorization code" instead of "filing code")
- Update index: After updating the knowledge base content, re-run to update the index
File Structure
huawei-cloud-icp-process-guidance/ # Skill package root directory
├── SKILL.md # Skill definition file (required, only entry)
├── index.json # Knowledge base document index (pre-generated)
├── kb/ # Knowledge base directory (self-contained)
│ ├── faq/ # FAQ documents
│ ├── procedures/ # Process documents
│ ├── topics/ # Topic documents
│ ├── overview.md # Knowledge base overview
│ └── index.md # Knowledge base index
├── scripts/ # Script directory
│ └── build_index.py # Index building script
└── references/ # Reference document directory
├── search-fallback.md # Search fallback strategy
├── verification-method.md # Verification method
└── acceptance-criteria.md # Acceptance criteria
Version History
| Version | Date | Change Description |
|---|
| 1.2.0 | 2026-07-07 | Added prerequisite dependency description: Clearly stated that agent-reach must be installed to enable search fallback |
| 1.1.0 | 2026-07-07 | Added search fallback strategy: Enabled Exa web search completion when knowledge base has no results |
| 1.0.0 | 2026-07-07 | Initial version, compliant with Huawei Cloud Skills specifications |