← Back to Skills Marketplace
kunxinian

Loss Items 查询(复购商品)

by KUNXINIAN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
158
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install loss-items-query-ailifeassistant
Description
查询 待复购商品/ 待购买商品 /资损品物品列表/商品补货,支持分页、状态、排序等参数。直接调用你的业务 HTTPS 接口。
README (SKILL.md)

Loss Items 查询技能

能力

当用户说以下任意关键词时触发:

  • “待复购商品/需要购买的复购商品 / 复购商品 / 待购买物品 / pending”
  • “查询第几页的 loss items”
  • “due remind 的物品”、“status=pending 的列表”等

执行逻辑(必须严格遵守)

  1. 从用户消息中提取参数(默认值见下):

    • page(默认 1)
    • size(默认 20)
    • status(默认 pending)
    • sort(默认 due_remind_at)
    • include_deleted(默认 false)
  2. 执行本目录下的 query_loss_items.py 脚本,传入以上参数。

  3. 把脚本返回的 JSON 转为自然语言总结回复用户(例如“共找到 12 条 pending 记录,第 1 页显示前 20 条...”)

示例对话

用户:查一下 哪些需要复购的商品 → 调用 query_loss_items.py --status pending --page 1 --size 20 → 回复:当前有 8 条待复购的商品,最新 due remind 时间是...

用户:看第 2 页的物品 → 调用 query_loss_items.py --page 2

Usage Guidance
This skill appears to do what it says: run a local Python script that calls your loss-items HTTPS API using LOSS_API_TOKEN. Before installing, verify: (1) the API host (https://pre-detailailifeast.alibaba-inc.com/...) is the intended business endpoint and not an unexpected external service; (2) the LOSS_API_TOKEN you supply has limited scope and is not reused for unrelated services; (3) your environment has the Python 'requests' package available or you provide it; (4) you are comfortable that responses printed by the script may be summarized and returned by the agent. If any of these are unclear, ask the skill author for confirmation or a signed, documented API endpoint and token-scope description.
Capability Analysis
Type: OpenClaw Skill Name: loss-items-query-ailifeassistant Version: 1.0.0 The skill bundle is a standard implementation for querying an inventory management API. The Python script (query_loss_items.py) correctly retrieves an authentication token from environment variables and performs a GET request to a specific internal endpoint (alibaba-inc.com). No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description request access to a loss-items API and the skill indeed only requires a single LOSS_API_TOKEN and runs a script that queries a loss-items HTTPS endpoint. No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md strictly instructs extracting paging/status/sort parameters from the user, running the local query_loss_items.py with those args, and summarizing the returned JSON. The script reads only LOSS_API_TOKEN and calls the declared API URL; it does not access other files, config paths, or external endpoints beyond the business API.
Install Mechanism
This is instruction-only (no installer). It requires python3 (declared) and runs a Python script that imports 'requests' but the skill does not declare how to ensure the requests package is available. This is an operational gap (will fail if requests is missing) but not a security red flag. No downloads or arbitrary install URLs are used.
Credentials
Only LOSS_API_TOKEN is required and is used to authenticate the single API call — this is proportionate. Consider that the token grants access to the target business API; ensure the token's scope is limited and not a high-privilege or cross-service credential.
Persistence & Privilege
Skill is not always-enabled and does not request persistent or system-wide privileges. It does not modify other skills or system configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install loss-items-query-ailifeassistant
  3. After installation, invoke the skill by name or use /loss-items-query-ailifeassistant
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本:支持 page/size/status/sort 参数,调用 pre-detailailifeast 接口,兼容复购商品查询关键词
Metadata
Slug loss-items-query-ailifeassistant
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Loss Items 查询(复购商品)?

查询 待复购商品/ 待购买商品 /资损品物品列表/商品补货,支持分页、状态、排序等参数。直接调用你的业务 HTTPS 接口。 It is an AI Agent Skill for Claude Code / OpenClaw, with 158 downloads so far.

How do I install Loss Items 查询(复购商品)?

Run "/install loss-items-query-ailifeassistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Loss Items 查询(复购商品) free?

Yes, Loss Items 查询(复购商品) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Loss Items 查询(复购商品) support?

Loss Items 查询(复购商品) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Loss Items 查询(复购商品)?

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

💬 Comments