← 返回 Skills 市场
一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。|
作者
wumaohua233
· GitHub ↗
· v1.0.0
· MIT-0
253
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ph-hs-code-finder
功能描述
Query Philippines customs HS codes for products exported to the Philippines. Use when user asks about "菲律宾海关编码", "HS code Philippines", "tariff code", "custo...
安全使用建议
This skill appears to implement HS-code lookup by downloading tariff PDFs and searching them, but there are a few red flags to consider before running it:
- Missing dependency declarations: you must install Python deps (pdfplumber, playwright) and install Playwright browsers; the scripts also call curl or wget. The registry metadata does not list these, so check and install them manually.
- Image support claim is misleading: SKILL.md promises product image input, but there is no image-recognition code or library included. Expect only text-based lookup unless you add an image analyzer.
- It opens a browser (Playwright) and downloads files (Google Drive / government site) to disk. Run the tool in a controlled environment (non-root user, isolated VM or container) if you are not comfortable with automated browsing and file downloads.
- Review the code yourself (or run with dry-run / suggest-only options) to confirm behavior. If you will run this in production or on sensitive hosts, validate Playwright's Chromium download and the exact download destinations, and avoid running with elevated privileges.
If you trust the source and accept installing Playwright & pdfplumber, this tool is plausible for its stated use. If you are unsure, request a version with explicit install metadata and a clear image-handling implementation before installing.
功能分析
Type: OpenClaw Skill
Name: ph-hs-code-finder
Version: 1.0.0
The ph-hs-code-finder skill bundle is a legitimate tool designed to help users find Philippines customs HS codes. It automates the process of navigating the official Tariff Commission website, identifying relevant chapters, downloading PDFs from Google Drive (where the commission hosts them), and searching for keywords using pdfplumber. The scripts (get_chapter_pdf.py, search_hs_code.py, etc.) use Playwright and subprocess calls to curl/wget for functional purposes related to the stated task, and no evidence of data exfiltration, persistence, or malicious prompt injection was found.
能力评估
Purpose & Capability
The scripts' functionality (finding chapter, obtaining Google Drive links, downloading PDFs, searching PDFs) matches the stated purpose. However the package metadata declares no required binaries or environment variables while the code clearly depends on external tools (curl/wget) and Python packages (pdfplumber, playwright). The SKILL.md also claims support for product image input, but there are no image-recognition dependencies or code in the repository to perform image analysis.
Instruction Scope
Runtime instructions include opening an automated browser (Playwright) to click links, downloading files from Google Drive / tariffcommission.gov.ph, and saving PDFs to the user's filesystem — all expected for this use-case but potentially sensitive operations. The SKILL.md gives step-by-step CLI commands that assume installation of Playwright and system tools; it also instructs handling product images, yet no image-processing implementation is present. The scripts will surface Google Drive URLs and write files locally; the instructions also suggest falling back to manual download which indicates the tool may fail under WAF but still prompt the user to perform external downloads.
Install Mechanism
There is no install spec in the registry entry even though the tool requires Python packages and Playwright browsers (which will download Chromium). The code uses subprocess to call curl/wget and relies on Playwright and pdfplumber; these are standard but not declared in metadata. Downloads are from the official tariff site and Google Drive (no obscure hosts), and no archive extraction from arbitrary URLs is present.
Credentials
The skill requests no environment variables or credentials (none declared), which is proportional to its stated purpose. The code does not attempt to read system credentials or external secrets. It does, however, require network access and will write downloaded PDFs to disk.
Persistence & Privilege
The skill is not configured as always:true, does not claim to persist or modify other skills, and does not request elevated system privileges. It will create files in user-specified directories (default ~/Desktop/ph-hs-downloads) but not alter other agent configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ph-hs-code-finder - 安装完成后,直接呼叫该 Skill 的名称或使用
/ph-hs-code-finder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release v1.0.0:
🎯 核心功能
- 智能商品分类建议:200+ 商品关键词自动匹配 HS 章节
- 自动化浏览器操作:使用 Playwright 自动获取 Google Drive PDF 链接
- PDF 内容搜索:在菲律宾关税书中快速查找准确的 HS 编码
- 一键查询:单命令完成分类、下载、搜索全流程
🔑 重要发现
菲律宾关税委员会 2022 年关税书 PDF 实际存储在 Google Drive,本 Skill 通过自动化浏览器操作获取真实下载链接。
📦 包含脚本
- query_hs_code.py: 统一查询入口(一键完成)
- suggest_chapter.py: 智能商品分类建议
- get_chapter_pdf.py: 自动获取 Google Drive 链接并下载
- search_hs_code.py: PDF 内容搜索 HS 编码
📖 使用示例
python scripts/query_hs_code.py "hair dryer"
python scripts/query_hs_code.py "mobile phone charger"
🔗 开源仓库
https://github.com/wumaohua233/PH_HSCODE_Search_Skill
元数据
常见问题
一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。| 是什么?
Query Philippines customs HS codes for products exported to the Philippines. Use when user asks about "菲律宾海关编码", "HS code Philippines", "tariff code", "custo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 253 次。
如何安装 一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。|?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ph-hs-code-finder」即可一键安装,无需额外配置。
一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。| 是免费的吗?
是的,一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。| 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。| 支持哪些平台?
一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。| 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 一个自动化的菲律宾海关编码(HS Code)查询工具,帮助出口商快速找到正确的商品分类编码。|?
由 wumaohua233(@wumaohua233)开发并维护,当前版本 v1.0.0。
推荐 Skills