← 返回 Skills 市场
mouxiaming

inquiry-read

作者 mouxiaming · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install inquiry-read
功能描述
从 Tradew 平台分页读取客户网站询盘信息,支持多语言、自定义字段和 AI Agent 调用。
使用说明 (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
安全使用建议
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.
功能分析
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.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install inquiry-read
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /inquiry-read 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
Slug inquiry-read
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

inquiry-read 是什么?

从 Tradew 平台分页读取客户网站询盘信息,支持多语言、自定义字段和 AI Agent 调用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。

如何安装 inquiry-read?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install inquiry-read」即可一键安装,无需额外配置。

inquiry-read 是免费的吗?

是的,inquiry-read 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

inquiry-read 支持哪些平台?

inquiry-read 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 inquiry-read?

由 mouxiaming(@mouxiaming)开发并维护,当前版本 v1.0.0。

💬 留言讨论