Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

ph-hs-code-finderph Hs 代码查找器

Agent Skill

ph-hs-code-finder 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,638

周安装

312

GitHub Stars

公开资料未说明

下载量

2,446
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ph-hs-code-finder(ph Hs 代码查找器)
来源仓库:https://github.com/wumaohua233/ph-hs-code-finder
安装命令:
openclaw skills install ph-hs-code-finder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ph-hs-code-finder

简介

查询出口菲律宾产品的海关 HS 编码与关税信息。

  • 适用于外贸企业准备清关文件或计算进口税费。
  • 支持关键词搜索如“防疫编码”或“关税代码”。
  • 安装命令:openclaw skills install ph-hs-code-finder,适用于 OpenClaw。
  • 结果仅供参考,实际申报请以官方机构确认为准。

SKILL.md

name
ph-hs-code-finder
description
Query Philippines customs HS codes for products exported to the Philippines. Use when user asks about "菲律宾海关编码", "HS code Philippines", "tariff code", "customs classification", "import duty Philippines", or when they need to find the harmonized system code for goods shipped to the Philippines. Supports product name/image input and searches the official Tariff Commission website (tariffcommission.gov.ph).

Philippines HS Code Finder

Query customs harmonized system (HS) codes for products exported to the Philippines using the official Tariff Commission tariff book.

Data Source

  • Website: https://www.tariffcommission.gov.ph/tariff-book-2022
  • Storage: Google Drive (Chapter PDFs are hosted on Google Drive)
  • Chapters: 01-97 (excl. 77 which is reserved)

How It Works

Important Discovery: The tariff book PDFs are hosted on Google Drive, not directly on the government website. The workflow is:

  1. Visit https://www.tariffcommission.gov.ph/tariff-book-2022
  2. Click a Chapter link → Opens Google Drive file
  3. Download PDF from Google Drive
  4. Search for HS codes in the PDF

Quick Start (One Command)

Use the unified query tool for the complete workflow:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/query_hs_code.py "<product_name>"

Example:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/query_hs_code.py "hair dryer"

This will:

  1. Analyze the product and suggest chapters
  2. Open browser to get Google Drive link
  3. Download the PDF
  4. Search for matching HS codes
  5. Display results with source URL

Step-by-Step Workflow

Step 1: Suggest Chapter

First, determine which chapter the product belongs to:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/suggest_chapter.py "<product_name>"

Example:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/suggest_chapter.py "mobile phone charger"
# Output:
# Product: mobile phone charger
# Matched keywords: phone, charger, mobile
# Suggested chapters:
#   1. Chapter 85: Electrical machinery and equipment (score: 30)

Step 2: Download Chapter PDF

Use Playwright to automatically get the Google Drive link and download:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/get_chapter_pdf.py <chapter_number> [output_directory]

Example:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/get_chapter_pdf.py 85 ~/Downloads

What happens:

  1. Opens Chrome browser (headed mode)
  2. Navigates to tariff book page
  3. Clicks the Chapter link
  4. Captures Google Drive URL
  5. Downloads PDF using curl/wget

Step 3: Search HS Code

Once you have the PDF, search for the product:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/search_hs_code.py \
  <pdf_path> <keyword1> [keyword2] ...

Example:

python3 ~/.codex/skills/ph-hs-code-finder/scripts/search_hs_code.py \
  ~/Downloads/Chapter_85.pdf "hair" "dryer" --source "<gdrive_url>"

Common Chapter Reference

ChapterCategoryExample Products
39PlasticsBags, bottles, containers
61/62ApparelClothing, garments, fashion
64FootwearShoes, boots, sandals
73Iron/SteelHardware, screws, tools
76AluminiumProfiles, sheets, foil
84MachineryComputers, printers, equipment
85ElectricalPhones, chargers, electronics
87VehiclesCars, motorcycles, parts
90Optical/MedicalCameras, instruments, lenses
94FurnitureChairs, tables, bedding
95Toys/SportsToys, games, exercise equipment

Handling Different Input Types

1. Product Name (Text)

python3 query_hs_code.py "wireless bluetooth headphone"

2. Product Image

If user provides an image:

  1. Analyze the image to identify the product
  2. Extract product name/description
  3. Run query with identified product name

Example workflow:

# Identify product from image
product = "hair dryer"  # identified from image

# Run query
python3 query_hs_code.py "$product"

Prerequisites

Install required dependencies:

# Install Python packages
pip install pdfplumber playwright

# Install Playwright browsers
playwright install chromium

Google Drive Download Handling

The script handles Google Drive downloads automatically:

  1. Small files (< 100MB): Direct download works
  2. Large files: May require confirmation (script uses wget as fallback)
  3. Virus scan warning: For executable files (not applicable for PDFs)

If automatic download fails:

  • The script will output the Google Drive URL
  • User can manually download and provide the file path
  • Then run search with --pdf flag

Output Format

Results are displayed as markdown table:

## 查询结果: hair dryer

**源文件**: [Google Drive Link](https://drive.google.com/file/d/xxxxx/view)

| HS编码 | 商品描述 | 页码 |
|--------|----------|------|
| 8516.31.00 | Hair dryers | 15 |
| 8516.32.00 | Other hair-dressing apparatus | 15 |

============================================================
  ✓ RECOMMENDED HS CODE: 8516.31.00
  Description: 8516.31.00 - Hair dryers 1 1 1 1 1 1...
============================================================

Troubleshooting

Browser doesn't open

# Check Playwright installation
playwright install chromium

# Verify Chrome/Chromium is available
which chromium || which google-chrome || which chromium-browser

Download fails

The website has WAF protection. If direct download fails:

  1. Script will open browser automatically
  2. Click Chapter link manually if needed
  3. Copy Google Drive URL
  4. Download manually or provide to script

PDF not found

Ensure the PDF is a valid file:

file Chapter_85.pdf
# Should output: PDF document, version 1.x

Example: Complete Hair Dryer Query

# Step 1: Suggest chapter
$ python3 suggest_chapter.py "hair dryer"
Product: hair dryer
Matched keywords: hair, dryer
Suggested chapters:
  1. Chapter 85: Electrical machinery and equipment
✓ Best match: Chapter 85

# Step 2 & 3: Download and search (combined)
$ python3 query_hs_code.py "hair dryer"

# Output:
============================================================
  Philippines HS Code Query: hair dryer
============================================================

Step 1: Analyzing product category...

Product: hair dryer
Matched keywords: hair, dryer

Suggested chapters:
  1. Chapter 85: Electrical machinery and equipment (score: 20)

Using top suggestion: Chapter 85

Step 2: Downloading Chapter 85 PDF...
Opening browser to find Chapter 85...
Found link: https://drive.google.com/file/d/xxxxx/view
Downloading Chapter 85...
✓ Downloaded: Chapter_85.pdf (1197.0 KB)

Step 3: Searching HS codes for "hair dryer"...

## 查询结果: hair dryer

**源文件**: [Google Drive](https://drive.google.com/file/d/xxxxx/view)

| HS编码 | 商品描述 | 页码 |
|--------|----------|------|
| 8516.31.00 | - Hair dryers | 15 |
| 8516.32.00 | - Other hair-dressing apparatus | 15 |

============================================================
  ✓ RECOMMENDED HS CODE: 8516.31.00
============================================================

Required Output

Every response MUST include:

  1. The HS code(s) found
  2. Product description from tariff book
  3. Source URL (Google Drive link)
  4. Page number in PDF

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.9%
按下载量换算2,003

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills