← Back to Skills Marketplace
axlemax

openclaw-skill-customs

by AxleMax · GitHub ↗ · v1.0.10 · MIT-0
cross-platform ✓ Security Clean
331
Downloads
0
Stars
0
Active Installs
11
Versions
Install in OpenClaw
/install openclaw-skill-customs
Description
海关报关单据处理助手。上传报关单据(发票、装箱单、提单等),AI 自动分类识别文件类型, 提取报关结构化数据,生成标准报关 Excel。当用户提到报关、海关、customs declaration、 invoice、packing list、bill of lading、HS 编码等关键词时,使用此技能。
Usage Guidance
This skill appears internally consistent and implements the described customs-document workflow. Before installing: 1) Confirm you trust the endpoint https://platform.daofeiai.com and the publisher (PUBLISHING.md claims DaoFei AI). 2) Provide LEAP_API_KEY only via the platform's secure env settings (the skill warns not to paste it into chat). 3) Be aware that user-uploaded documents are saved under a local tasks/ directory and are uploaded to the Leap service — these documents may contain sensitive commercial data. 4) If you plan to use Step 6 (in-place Excel edits), you may need openpyxl installed in the agent environment. 5) If you need the API key to be scoped (limited lifetime/permissions), prefer a key with minimal scope and rotate it if possible. Overall the requested resources and behavior match the described purpose.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-skill-customs Version: 1.0.10 The skill bundle is a legitimate tool for processing customs documents via the Leap platform (platform.daofeiai.com). It uses standard Python scripts (file_transfer.py, submit_and_poll.py) to handle file uploads, task submission, and result polling using the LEAP_API_KEY. The instructions in SKILL.md and MODIFICATION.md enforce a strict, user-confirmed workflow to ensure data accuracy and operational safety, specifically prohibiting the agent from reading file contents during the upload phase. No evidence of malicious intent, unauthorized data exfiltration, or harmful prompt injection was found.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill is a customs-document processing assistant and only requests a single service credential (LEAP_API_KEY) and network access to platform.daofeiai.com. All scripts (upload, poll, build payload, check config) interact with that service and local task folders; these are expected for the stated functionality.
Instruction Scope
SKILL.md prescribes a stepwise workflow: collect files to a task folder, upload to Leap, poll until completion, present results, run compliance checks from bundled docs, and optionally modify downloaded Excel files. The only local file reads/writes are to task folders the skill creates and the included reference docs; Step 1 explicitly forbids parsing uploads until the platform processes them, and Step 6 permits reading saved originals for user-requested modifications — this is coherent with the declared workflow.
Install Mechanism
No install spec is provided and the Python scripts rely on the standard library (openpyxl is optional for Excel edits). No external downloads, package registries, or unusual installers are used. Risk from install mechanism is low.
Credentials
The skill requires a single API key (LEAP_API_KEY) as primary credential. That key is necessary and sufficient for the described interactions with platform.daofeiai.com. No unrelated secrets, system config paths, or additional credentials are requested.
Persistence & Privilege
always is false and the skill does not request force-inclusion or modify other skills. It writes task artifacts under a local tasks/ directory (documented and .gitignored), which is appropriate for its purpose. No unusual system privileges are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-skill-customs
  3. After installation, invoke the skill by name or use /openclaw-skill-customs
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.10
- 新增合规性检查流程(Step 5.5):生成报关结果后自动执行合规检查和输出合规报告。 - 补充参考资料,添加《COMPLIANCE_RULES.md》《FIELD_GUIDE.md》《INDUSTRY_RULES.md》三份文档的引用与查阅指引。 - 修改结果展示后流程:合规报告输出完毕才主动询问用户是否需要修改。 - 支持行业特殊申报要素规则自动匹配及建议。 - 修改辅助字段填写时增加查阅字段合规指引的要求。
v1.0.9
Major restructuring of the customs declaration workflow, adding strict handling and new scripts. - Introduced a dedicated task workspace for each customs workflow, with clear directory and file management. - File collection/upload flow now strictly separated from user confirmation: files are only uploaded after explicit user instruction. - Added a new script, scripts/build_payload.py, for automatic payload generation from classification results before customs submission. - New rule: During upload, never read/parse file content—only save binary files to disk and ignore any auto-injected text. - All intermediate files (classify_result.json, customs_payload.json, etc.) are stored per-task in the workspace. - Enforced stricter step-by-step logic, additional user confirmation points, and clarified operational boundaries throughout the workflow.
v1.0.8
openclaw-skill-customs 1.0.8 - 更新元数据格式,将 metadata 字段重构为嵌套 JSON,兼容 OpenClaw 新规范 - 其余说明文档与行为流程保持不变
v1.0.7
openclaw-skill-customs v1.0.7 changelog - 新增脚本 scripts/file_transfer.py,实现文件上传与下载自动化。 - 增加 scripts/.gitignore 文件,优化脚本文件管理。 - 新增 references/MODIFICATION.md,补充详细的结果修改操作指引。 - SKILL.md 更新,命令行操作统一由 file_transfer.py 支持,步骤及行为约束描述精简且更清晰,明确引用 MODIFICATION.md 作为结果修正流程依据。
v1.0.6
- Removed legacy setup script (scripts/setup.py) and its mention from documentation. - API Key配置仅保留平台环境变量和验证方式,不再支持脚本对话式输入。 - 文档内所有 API 请求示例统一为固定平台地址,简化变量写法。 - 其他文档内容未更动,主要改动为移除冗余配置和简化操作说明。
v1.0.5
- Skill name in configuration changed from `customs-declaration` to `openclaw-skill-customs`. - Removed `_meta.json` file from the project. - No functional logic or usage changes; documentation and configuration update only.
v1.0.4
openclaw-skill-customs 1.0.4 adds advanced结果修改与确认流程,并提升交互规范: - 新增“Step 6:结果修改支持”及相关操作规范,允许用户直接或间接修改解析Excel结果,无需重新报关。 - 核心铁律由3条增至4条,明确“禁止质疑平台AI分类,严禁自行翻译/推理分类结果”。 - 明确区分:用户直接指令修改vs.要求自动从原文件抽取内容,分别制定详细操作流程及交互格式。 - 优化下载与修改Excel说明,强调保留样式、分版本保存,并提示需安装openpyxl。 - 门户命令行示例细化,调整PowerShell命令及辅助工具调用指引。 - 移除多余脚本文件,增加元数据与发布文档(_meta.json, PUBLISHING.md)。
v1.0.3
- No code or documentation changes detected in this release. - Version bump to 1.0.3 with no user-facing updates.
v1.0.2
openclaw-skill-customs 1.0.2 - Major documentation overhaul: SKILL.md fully rewritten for clarity, conciseness, and modular reference. - Added modular references: FILE_TYPES.md and INTERACTION.md specify file type handling and recommended user interactions. - New Python scripts introduced: check_config.py, submit_and_poll.py, setup.py, and scripts/requirements.txt for robust CLI workflow and key management. - All workflow commands now use stdlib-only Python—no external Python dependencies required. - Enforced stricter step-by-step rules: async waiting, user confirmation, and multi-file collection are highlighted with concise "铁律". - Enhanced error handling instructions, platform compatibility, and user guidance for configuration and troubleshooting.
v1.0.1
openclaw-skill-customs v1.1.0 - 强化异步任务轮询规则,明确禁止在任务未完成前跳步,分类/报关均必须反复轮询状态到 `completed` 后才能继续 - 必须等待用户对分类结果明确确认后,才能提交报关任务,严禁自动跳过用户确认环节 - 多文件上传流程优化:逐个上传并动态汇报、统计上传状态,全部成功后统一展示汇总表 - 等待任务完成期间新增沉浸式交互:根据等待时机主动与用户互动、知识分享与进度播报,提高体验 - 分类/报关结果展示逻辑更清晰,支持更细致的置信度标注和异常处理 - 文档结构大幅优化,关键执行步骤和禁止行为用 ⛔ 强调,避免误用
v1.0.0
openclaw-skill-customs v1.0.0 - Initial release of the Customs Declaration Assistant for intelligent document processing and customs workflow. - Supports file upload, rapid document classification, user confirmation of document types, and submission for data extraction. - Implements step-by-step workflow: upload → classify → confirm → submit → poll for result → download Excel. - Provides clear user prompts, result tables, and download instructions. - Requires LEAP_API_KEY environment variable and compatible with curl or Python httpx.
Metadata
Slug openclaw-skill-customs
Version 1.0.10
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 11
Frequently Asked Questions

What is openclaw-skill-customs?

海关报关单据处理助手。上传报关单据(发票、装箱单、提单等),AI 自动分类识别文件类型, 提取报关结构化数据,生成标准报关 Excel。当用户提到报关、海关、customs declaration、 invoice、packing list、bill of lading、HS 编码等关键词时,使用此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 331 downloads so far.

How do I install openclaw-skill-customs?

Run "/install openclaw-skill-customs" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is openclaw-skill-customs free?

Yes, openclaw-skill-customs is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does openclaw-skill-customs support?

openclaw-skill-customs is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created openclaw-skill-customs?

It is built and maintained by AxleMax (@axlemax); the current version is v1.0.10.

💬 Comments