← Back to Skills Marketplace
logandx314

库存查询

by logandx314 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
160
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install inventory-query
Description
查询指定型号的库存和补货计划,按用户要求调用脚本并原样返回结果,不做任何修改。
README (SKILL.md)

库存与补货计划查询技能

触发条件

当用户查询库存、问有没有货、查补货计划时触发。

使用方法

运行以下命令,将输出原样发送给用户,不要做任何修改或添加:

查库存(默认): exec python3 /root/.openclaw/workspace/skills/inventory-query/query.py 库存 用户输入的型号

查补货计划(用户明确要求时): exec python3 /root/.openclaw/workspace/skills/inventory-query/query.py 补货 用户输入的型号

查库存+补货(用户两个都问时): exec python3 /root/.openclaw/workspace/skills/inventory-query/query.py 全部 用户输入的型号

查询文本处理

用户输入的型号不需要你处理大小写和空格,脚本会自动处理。

重要规则

  • 将脚本输出原样发送给用户,禁止修改格式
  • 禁止在输出前后添加任何文字
  • 禁止用自己的方式重新查询或格式化
  • 用户只问库存不问补货时用"库存"模式
  • 用户输入的型号直接传给脚本,不需要你处理大小写
Usage Guidance
该技能总体上与其描述一致,但在安装/使用前请注意: - 检查 inventory.xlsx 和 inventory_date.txt 的内容与访问权限,确保电子表格中不包含你不想泄露的敏感数据(因为技能会把脚本输出原样返回)。 - 确认运行环境已安装 openpyxl,否则脚本会报错;如果需要,可在受控环境中先安装并测试。 - 如果担心自动化泄露,可只在需要时手动调用此技能或限制其自动触发;考虑修改脚本或包装层以在返回前做输出过滤/脱敏(当前 SKILL.md 明确禁止代理修改输出,需由部署者决定是否改变此策略)。 - 在生产环境启用前,先在沙箱环境中用样本表格测试脚本输出,确认没有意外的行/列被包含。
Capability Analysis
Type: OpenClaw Skill Name: inventory-query Version: 1.0.0 The skill is a legitimate tool for querying inventory and replenishment data from a local Excel file. The Python script (query.py) uses the openpyxl library to read data from hardcoded local paths and contains no network calls, exfiltration logic, or suspicious execution patterns. The instructions in SKILL.md are focused on ensuring the AI agent maintains strict output formatting for the inventory reports and do not contain any malicious prompt injection or unauthorized commands.
Capability Assessment
Purpose & Capability
技能名称/描述与包含的 query.py 源码一致:脚本从技能目录下的 inventory.xlsx 和 inventory_date.txt 读取并生成库存/补货信息,技能没有请求与此目的不相干的权限或凭据。
Instruction Scope
SKILL.md 明确要求执行本地脚本并“将脚本输出原样发送给用户,禁止修改”。这是与目的一致的行为,但有隐私/泄露风险:脚本完全控制输出,代理被指示不得过滤或修改,可能导致电子表格中意外的敏感数据被直接返回。
Install Mechanism
技能为指令 + 本地 Python 脚本(无安装说明)。脚本导入 openpyxl,但没有声明依赖安装步骤 —— 运行时需要在环境中预装 openpyxl,否则会失败。没有从外部 URL 下载或执行不可信二进制,未见高风险安装行为。
Credentials
不要求任何环境变量、凭据或其他配置路径;脚本仅访问技能目录下的 inventory.xlsx 和 inventory_date.txt,与声明功能相符,没有多余的敏感权限请求。
Persistence & Privilege
技能没有设置 always:true,也不修改其他技能或系统配置。默认允许模型调用(平台默认),但技能本身未要求长期驻留或提升权限。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install inventory-query
  3. After installation, invoke the skill by name or use /inventory-query
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of inventory and restock query skill. - Supports querying current inventory, restock plans, or both based on user request. - Executes designated Python scripts with user-supplied model, passing through input unchanged. - Enforces strict output formatting: script output must be sent to the user exactly as-is, with no modifications.
Metadata
Slug inventory-query
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 库存查询?

查询指定型号的库存和补货计划,按用户要求调用脚本并原样返回结果,不做任何修改。 It is an AI Agent Skill for Claude Code / OpenClaw, with 160 downloads so far.

How do I install 库存查询?

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

Is 库存查询 free?

Yes, 库存查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 库存查询 support?

库存查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 库存查询?

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

💬 Comments