← Back to Skills Marketplace
mouxiaming

inquiry-read

by mouxiaming · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
38
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install inquiry-read
Description
从 Tradew 平台分页读取客户网站询盘信息,支持多语言、自定义字段和 AI Agent 调用。
README (SKILL.md)

inquiry-read

从 Tradew 平台读取客户网站询盘信息。

支持:

  • 分页读取询盘
  • 自定义返回字段
  • 多语言读取
  • AI Agent 调用
  • OpenClaw Skill 集成

Version

1.0.1

Features

  • 从 Tradew OpenAPI 获取询盘数据
  • 支持分页查询
  • 支持自定义返回字段
  • 支持 language 参数联动
  • 支持 AI 自动生成参数 UI
  • 支持 Skill Dependencies

Environment Variables

运行前必须配置以下环境变量:

Name Required Description
TRADEW_API_KEY Yes Tradew OpenAPI Access Token

Install

安装依赖:

npm install

Skill Structure

inquiry-read/
├── index.js
├── package.json
├── skill.json
└── README.md

Usage

Example Input

{
  "language": "en",
  "pagination": {
    "current_page":1,
    "page_size":10
  },
  "fields": [
    "inquiry_id",
    "title",
    "content",
    "contact",
    "create_time"
  ]
}

Input Parameters

Parameter Type Required Description
language string No 语言参数。必须从 languages-get 中选择
current_page number No 当前页码,默认 1
page_size number No 每页数量,范围 10-50
fields array[string] No 返回字段列表

Supported Fields

支持以下字段:

inquiry_id
language
is_read
title
content
country_code
ip
contact
source
target_products
create_time

Dependency

本技能依赖:

{
  "language": {
    "skill": "languages-get",
    "field": "list[].language",
    "mode": "select"
  }
}

说明:

  • language 必须由 languages-get 返回结果中选择
  • 不允许 AI 自动推断
  • 不允许系统默认选择

Response Example

Success

{
  "status": true,
  "msg": "success",
  "pagination": {
    "current_page": 1,
    "page_size": 10,
    "total": 120
  },
  "list": [
    {
      "inquiry_id": "10001",
      "title": "Need quotation",
      "content": "Please send price",
      "contact": "Tom",
      "create_time": "2026-05-07 10:00:00"
    }
  ]
}

Failed

{
  "status": false,
  "msg": "缺少环境变量:TRADEW_API_KEY"
}

Validation Rules

page_size

范围:

10 - 50

超出范围时返回:

{
  "status": false,
  "msg": "page_size 必须在 10 到 50 之间"
}

API Endpoint

POST https://platform.tradew.com/openapis/inquiry/read

Notes

  • Skill 使用 Bearer Token 鉴权
  • 所有请求使用 application/json
  • 默认返回常用询盘字段
  • fields 支持自定义字段返回
  • 建议通过 AI UI 自动选择参数

Changelog

1.0.1

  • 增加 fields 支持
  • 增加分页参数校验
  • 增加 dependency 配置
  • 优化返回结构

License

MIT
Usage Guidance
Install this only if you intend to let the agent read Tradew inquiry records. Configure TRADEW_API_KEY carefully, prefer a least-privileged token, request only necessary fields, and confirm language/field choices when handling customer data.
Capability Analysis
Type: OpenClaw Skill Name: inquiry-read Version: 1.0.0 The inquiry-read skill is a standard API integration designed to fetch customer inquiries from the Tradew platform. The code in index.js correctly implements authentication using a Bearer token from environment variables and communicates exclusively with the documented endpoint (https://platform.tradew.com/openapis/inquiry/read). No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the instructions in SKILL.md and skill.json are focused on functional constraints and parameter validation.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The read-only Tradew inquiry capability is coherent with the stated purpose, but the returned fields can include sensitive customer inquiry data such as contact details, IP address, and message content.
Instruction Scope
The page size is bounded, but the runtime defaults the language to English and passes provided field names through rather than fully enforcing the documented language dependency or supported-field list.
Install Mechanism
There is no install spec and the package has no npm dependencies or install scripts, but the runtime imports a shared HTTP client outside the provided files.
Credentials
The required Tradew API key is proportionate to the purpose, but the registry requirements say no env vars or primary credential are required while the skill documentation and code require TRADEW_API_KEY.
Persistence & Privilege
No persistence, background execution, or mutation behavior is shown; the main privilege is bearer-token access to a Tradew read endpoint.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install inquiry-read
  3. After installation, invoke the skill by name or use /inquiry-read
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
inquiry-read v1.0.1 - Added support for customizable fields in the response - Introduced pagination parameters validation with error handling - Added dependency configuration for language selection - Improved response structure
Metadata
Slug inquiry-read
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is inquiry-read?

从 Tradew 平台分页读取客户网站询盘信息,支持多语言、自定义字段和 AI Agent 调用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 38 downloads so far.

How do I install inquiry-read?

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

Is inquiry-read free?

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

Which platforms does inquiry-read support?

inquiry-read is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created inquiry-read?

It is built and maintained by mouxiaming (@mouxiaming); the current version is v1.0.0.

💬 Comments